Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
A Girl who code...

Charmy garg charmygarg

💻
A Girl who code...
View GitHub Profile
View swagger
openapi: 3.0.0
info:
title: OpenAPI
description: This is a Create Identites server. For this sample, you can use
the api key `special-key` to test the authorization filters.
license:
name: Apache-2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
version: 1.0.0
servers:
View test.sh
wget https://bitbucket.rccl.com/projects/COM/repos/solr-management/browse/ConfigSet.zip
ln ConfigSet.zip testCollection.zip
View delete_old_data.sh
#!/bin/bash
ENVIRONMENTS=("dev2", "tst2", "shiptst1", "shiptst2", "stg1", "shipstg1")
SHIPS=("prd", "allure", "adventure", "anthem", "brilliance", "constellation", "edge", "enchantment", "equinox", "harmony", "independence", "liberty", "mariner", "majesty", "millennium", "navigator", "oasis", "ovation", "pursuit", "quantum", "reflection", "spectrum", "summit", "serenade", "symphony", "vision")
if [[ "$environmentGroup" == "dev" && "$environmentChoice" == "all" ]]
then
ENV_NAMES=("dev2")
elif [[ "$environmentGroup" == "test" && "$environmentChoice" == "all" ]]
View import_export.sh
#!/bin/bash
ENVIRONMENTS=("dev2", "tst2", "shiptst1", "shiptst2", "stg1", "shipstg1")
SHIPS=("prd", "allure", "adventure", "anthem", "brilliance", "constellation", "edge", "enchantment", "equinox", "harmony", "independence", "liberty", "mariner", "majesty", "millennium", "navigator", "oasis", "ovation", "pursuit", "quantum", "reflection", "spectrum", "summit", "serenade", "symphony", "vision")
if [[ "$environmentGroup" == "dev" && "$environmentChoice" == "all" ]]
then
ENV_NAMES=("dev2")
elif [[ "$environmentGroup" == "test" && "$environmentChoice" == "all" ]]
View upload_configset.sh
#!/bin/bash
ENVIRONMENTS=("dev2", "tst2", "shiptst1", "shiptst2", "stg1", "shipstg1")
SHIPS=("prd", "allure", "adventure", "anthem", "brilliance", "constellation", "edge", "enchantment", "equinox", "harmony", "independence", "liberty", "mariner", "majesty", "millennium", "navigator", "oasis", "ovation", "pursuit", "quantum", "reflection", "spectrum", "summit", "serenade", "symphony", "vision")
if [[ "$environmentGroup" == "dev" && "$environmentChoice" == "all" ]]
then
ENV_NAMES=("dev2")
elif [[ "$environmentGroup" == "test" && "$environmentChoice" == "all" ]]
View cutover_alias.sh
ENVIRONMENTS=("dev2", "tst2", "shiptst1", "shiptst2", "stg1", "shipstg1")
SHIPS=("prd", "allure", "adventure", "anthem", "brilliance", "constellation", "edge", "enchantment", "equinox", "harmony", "independence", "liberty", "mariner", "majesty", "millennium", "navigator", "oasis", "pursuit", "quantum", "reflection", "spectrum", "summit", "serenade", "symphony", "vision")
if [[ "$environmentGroup" == "dev" && "$environmentChoice" == "all" ]]
then
ENV_NAMES=("dev2")
elif [[ "$environmentGroup" == "test" && "$environmentChoice" == "all" ]]
then
ENV_NAMES=("tst2" "shiptst1" "shiptst2")
View create_collection.sh
#!/bin/bash
ENVIRONMENTS=("dev2", "tst2", "shiptst1", "shiptst2", "stg1", "shipstg1")
SHIPS=("prd", "allure", "adventure", "anthem", "brilliance", "constellation", "edge", "enchantment", "equinox", "harmony", "independence", "liberty", "mariner", "majesty", "millennium", "navigator", "oasis", "pursuit", "quantum", "reflection", "spectrum", "summit", "serenade", "symphony", "vision")
if [[ "$environmentGroup" == "dev" && "$environmentChoice" == "all" ]]
then
ENV_NAMES=("dev2")
elif [[ "$environmentGroup" == "test" && "$environmentChoice" == "all" ]]
View config.cfg
export COLLECTION_NAME=cancellationCollection
View config.cfg
export COLLECTION_NAME=cancellationCollection
View collection-example.sh
#!/bin/bash
COLLECTION="$COLLECTION_NAME"
echo "$COLLECTION_NAME"
You can’t perform that action at this time.