Skip to content

Commit

Permalink
Changed path of migration-tester folder
Browse files Browse the repository at this point in the history
  • Loading branch information
JayanaGunaweera01 committed Jun 24, 2023
1 parent fec1c9c commit 20ead9e
Show file tree
Hide file tree
Showing 17 changed files with 121 additions and 121 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ client_id=$(echo "$response" | jq -r '.client_id')
client_secret=$(echo "$response" | jq -r '.client_secret')

# Store client_id and client_secret in a file
client_credentials_file="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/2-tenant-creation/client_credentials"
client_credentials_file="/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/2-tenant-creation/client_credentials"

if [ -f "$client_credentials_file" ]; then
echo "client_id=$client_id" >>"$client_credentials_file"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ client_id=$(echo "$response" | jq -r '.client_id')
client_secret=$(echo "$response" | jq -r '.client_secret')

# Store client_id and client_secret in a file
client_credentials_file="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation/client_credentials"
client_credentials_file="/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation/client_credentials"

if [ -f "$client_credentials_file" ]; then
echo "client_id=$client_id" >>"$client_credentials_file"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ client_id=$(echo "$response" | jq -r '.client_id')
client_secret=$(echo "$response" | jq -r '.client_secret')

# Store client_id and client_secret in a file
client_credentials_file="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation/client_credentials"
client_credentials_file="/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation/client_credentials"

if [ -f "$client_credentials_file" ]; then
echo "client_id=$client_id" >>"$client_credentials_file"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ if [ "$os" = "macos-latest" ]; then
fi

# Get the directory of the script
script_dir="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation"
script_dir="/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation"

# Load client_id and client_secret from file
if [ -f "$script_dir/client_credentials" ]; then
echo "${YELLOW}${BOLD}Client Credentials File:${NC}"
cat "$script_dir/client_credentials"
. "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation/client_credentials"
. "/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation/client_credentials"
echo "${GREEN}Client_credentials sourced.${NC}"
else
echo "${RED}${BOLD}Error: client_credentials file not found.${NC}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ "$os" = "macos-latest" ]; then
fi

# Get the directory of the script
script_dir="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation"
script_dir="/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation"

# Load client_id and client_secret from file
if [ -f "$script_dir/client_credentials" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PURPLE='\033[1;35m'
BOLD='\033[1m'
NC='\033[0m' # No Color

data_population_dir="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation"
data_population_dir="/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation"

echo -e "${GREEN}==> Running data population scripts${NC}"
if [ -d "$data_population_dir" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PURPLE='\033[1;35m'
BOLD='\033[1m'
NC='\033[0m' # No Color

data_population_dir="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation"
data_population_dir="/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation"

echo -e "${GREEN}==> Running data population scripts${NC}"
if [ -d "$data_population_dir" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ NC='\033[0m' # No Color

# Load client_id and client_secret from file
if [ -f "client_credentials" ]; then
. /home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation/client_credentials
. /home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation/client_credentials

else
echo "${RED}Error: client_credentials file not found.${NC}"
Expand Down
Loading

0 comments on commit 20ead9e

Please sign in to comment.