diff --git a/.github/migration-tester/data-population-and-validation/2-tenant-creation/create-tenant.sh b/.github/migration-tester/data-population-and-validation/2-tenant-creation/create-tenant.sh index 975e62dcd3..dae90824ae 100644 --- a/.github/migration-tester/data-population-and-validation/2-tenant-creation/create-tenant.sh +++ b/.github/migration-tester/data-population-and-validation/2-tenant-creation/create-tenant.sh @@ -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" diff --git a/.github/migration-tester/data-population-and-validation/4-service-provider-creation/register-a-service-provider-get-access-token-mac.sh b/.github/migration-tester/data-population-and-validation/4-service-provider-creation/register-a-service-provider-get-access-token-mac.sh index 1e2f1a082b..c710e7a0a0 100644 --- a/.github/migration-tester/data-population-and-validation/4-service-provider-creation/register-a-service-provider-get-access-token-mac.sh +++ b/.github/migration-tester/data-population-and-validation/4-service-provider-creation/register-a-service-provider-get-access-token-mac.sh @@ -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" diff --git a/.github/migration-tester/data-population-and-validation/4-service-provider-creation/register-a-service-provider-get-access-token-ubuntu.sh b/.github/migration-tester/data-population-and-validation/4-service-provider-creation/register-a-service-provider-get-access-token-ubuntu.sh index d87fca3f1b..1af6abf9c4 100644 --- a/.github/migration-tester/data-population-and-validation/4-service-provider-creation/register-a-service-provider-get-access-token-ubuntu.sh +++ b/.github/migration-tester/data-population-and-validation/4-service-provider-creation/register-a-service-provider-get-access-token-ubuntu.sh @@ -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" diff --git a/.github/migration-tester/data-population-and-validation/4-service-provider-creation/validate-database-mac.sh b/.github/migration-tester/data-population-and-validation/4-service-provider-creation/validate-database-mac.sh index 48509da76c..9885383c80 100644 --- a/.github/migration-tester/data-population-and-validation/4-service-provider-creation/validate-database-mac.sh +++ b/.github/migration-tester/data-population-and-validation/4-service-provider-creation/validate-database-mac.sh @@ -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}" diff --git a/.github/migration-tester/data-population-and-validation/4-service-provider-creation/validate-database-ubuntu.sh b/.github/migration-tester/data-population-and-validation/4-service-provider-creation/validate-database-ubuntu.sh index 040cc3013e..671395289b 100644 --- a/.github/migration-tester/data-population-and-validation/4-service-provider-creation/validate-database-ubuntu.sh +++ b/.github/migration-tester/data-population-and-validation/4-service-provider-creation/validate-database-ubuntu.sh @@ -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 diff --git a/.github/migration-tester/data-population-and-validation/automated-data-population-and-validation-script-mac.sh b/.github/migration-tester/data-population-and-validation/automated-data-population-and-validation-script-mac.sh index a81034c01b..e50b83b2a8 100644 --- a/.github/migration-tester/data-population-and-validation/automated-data-population-and-validation-script-mac.sh +++ b/.github/migration-tester/data-population-and-validation/automated-data-population-and-validation-script-mac.sh @@ -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 diff --git a/.github/migration-tester/data-population-and-validation/automated-data-population-and-validation-script-ubuntu.sh b/.github/migration-tester/data-population-and-validation/automated-data-population-and-validation-script-ubuntu.sh index 88f1d123d2..31a4d3391e 100644 --- a/.github/migration-tester/data-population-and-validation/automated-data-population-and-validation-script-ubuntu.sh +++ b/.github/migration-tester/data-population-and-validation/automated-data-population-and-validation-script-ubuntu.sh @@ -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 diff --git a/.github/migration-tester/data-population-and-validation/windows-os/4-service-provider-creation/generate-oauth-token-linux-POC.sh b/.github/migration-tester/data-population-and-validation/windows-os/4-service-provider-creation/generate-oauth-token-linux-POC.sh index dd5e0d07d2..ca45a21471 100644 --- a/.github/migration-tester/data-population-and-validation/windows-os/4-service-provider-creation/generate-oauth-token-linux-POC.sh +++ b/.github/migration-tester/data-population-and-validation/windows-os/4-service-provider-creation/generate-oauth-token-linux-POC.sh @@ -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}" diff --git a/.github/migration-tester/data-population-and-validation/windows-os/env.sh b/.github/migration-tester/data-population-and-validation/windows-os/env.sh index 809c6848a0..3c86a6c152 100644 --- a/.github/migration-tester/data-population-and-validation/windows-os/env.sh +++ b/.github/migration-tester/data-population-and-validation/windows-os/env.sh @@ -12,10 +12,10 @@ export DIRECTORY_HOME="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing" # Absolute path to data population script -export DATA_POPULATION="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation" +export DATA_POPULATION="/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation" # Absolute path to service provider -export SERVICE_PROVIDER_PATH="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation" +export SERVICE_PROVIDER_PATH="/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation" # Absolute path to home folder export AUTOMATION_HOME="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation" @@ -51,17 +51,17 @@ export BIN_ISNEW="/home/runner/work/product-is/product-is/.github/migration-test export IS_HOME_NEW="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW" # Absolute path for the relevant JDBC driver for the version you are using -export JDBC="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils" +export JDBC="/home/runner/work/product-is/product-is/.github/migration-tester/utils" # Absolute path for database creation mysql script -export DATABASE_CREATION_SCRIPT="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/mysql.sql" +export DATABASE_CREATION_SCRIPT="/home/runner/work/product-is/product-is/.github/migration-tester/utils/mysql.sql" # Absolute paths for DB scripts -export DB_SCRIPT_MYSQL="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/mysql.sql" -export DB_SCRIPT_IDENTITY="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/mysql.sql" -export DB_SCRIPT_UMA="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" -export DB_SCRIPT_CONSENT="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/consent/mysql.sql" -export DB_SCRIPT_METRICS="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/metrics/mysql.sql" +export DB_SCRIPT_MYSQL="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/mysql.sql" +export DB_SCRIPT_IDENTITY="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/mysql.sql" +export DB_SCRIPT_UMA="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" +export DB_SCRIPT_CONSENT="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/consent/mysql.sql" +export DB_SCRIPT_METRICS="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/metrics/mysql.sql" # Absolute path for the /repository/components/lib folder export LIB="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/currentVersion/repository/components/lib" @@ -70,16 +70,16 @@ export LIB="/home/runner/work/product-is/product-is/.github/migration-tester/mig export IS_OLD_BIN="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/currentVersion/bin" # Absolute path for the mysql jar connector -export JAR_MYSQL="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/mysql-connector-java-8.0.29.jar" +export JAR_MYSQL="/home/runner/work/product-is/product-is/.github/migration-tester/utils/mysql-connector-java-8.0.29.jar" # Absolute path for the /repository/components/lib folder export LIB_NEW="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/migratingVersion/repository/components/" # Absolute path for the mssql jar connector -export JAR_MSSQL="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/mssql-jdbc-9.2.0.jre8.jar" +export JAR_MSSQL="/home/runner/work/product-is/product-is/.github/migration-tester/utils/mssql-jdbc-9.2.0.jre8.jar" # Absolute path for the postgres jar connector -export JAR_POSTGRE="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/postgresql-42.5.3.jar" +export JAR_POSTGRE="/home/runner/work/product-is/product-is/.github/migration-tester/utils/postgresql-42.5.3.jar" # Absolute path for the /Tenants folder export TENANT_OLD_PATH="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/currentVersion/repository" @@ -103,19 +103,19 @@ export USERSTORE_NEW_PATH="/home/runner/work/product-is/product-is/.github/migra export LINK_TO_MIGRATION_CLIENT="https://github.com/wso2-enterprise/identity-migration-resources/releases/download/v1.0.230/wso2is-migration-1.0.230.zip" # Absolute path to IS_MIGRATION_TOOL_HOME/dropins home folder -export DROPINS_PATH_HOME="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/wso2is-migration-1.0.225" +export DROPINS_PATH_HOME="/home/runner/work/product-is/product-is/.github/migration-tester/utils/wso2is-migration-1.0.225" # Absolute path to utils folder -export utils="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils" +export utils="/home/runner/work/product-is/product-is/.github/migration-tester/utils" # Absolute path to IS_MIGRATION_TOOL_HOME/dropins folder -export DROPINS_PATH="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/wso2is-migration-1.0.225/dropins" +export DROPINS_PATH="/home/runner/work/product-is/product-is/.github/migration-tester/utils/wso2is-migration-1.0.225/dropins" # Absolute path to IS_HOME_NEW/repository/components export COMPONENTS_PATH="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/migratingVersion/repository/components" # Absolute path to migration resources folder -export MIGRATION_RESOURCES="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/wso2is-migration-1.0.225/migration-resources" +export MIGRATION_RESOURCES="/home/runner/work/product-is/product-is/.github/migration-tester/utils/wso2is-migration-1.0.225/migration-resources" # Absolute path to latest wso2IS root folder export IS_NEW_ROOT="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/migratingVersion" @@ -148,7 +148,7 @@ export IS_HOME_OLD_MAC="/Users/runner/work/product-is/product-is/.github/migrati export DATA_POPULATION_MAC_="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/02-POC/macos/data-population-and-validation" # Absolute path to service provider creation directory -export SERVICE_PROVIDER_PATH_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation" +export SERVICE_PROVIDER_PATH_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation" # Absolute path to home folder export AUTOMATION_HOME_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation" @@ -187,17 +187,17 @@ export IS_HOME_NEW_MAC="/Users/runner/work/product-is/product-is/.github/migrati export LINK_TO_IS_OLD_MAC="https://github.com/wso2/product-is/releases/download/v5.11.0/wso2is-5.11.0.zip" # Absolute path for the utils folder to have relevant JDBC driver -export JDBC_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils" +export JDBC_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils" # Absolute path for database creation mysql script -export DATABASE_CREATION_SCRIPT_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/mysql.sql" +export DATABASE_CREATION_SCRIPT_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/mysql.sql" # Absolute paths for DB scripts -export DB_SCRIPT_MYSQL_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/mysql.sql" -export DB_SCRIPT_IDENTITY_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/mysql.sql" -export DB_SCRIPT_UMA_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" -export DB_SCRIPT_CONSENT_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/consent/mysql.sql" -export DB_SCRIPT_METRICS_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/metrics/mysql.sql" +export DB_SCRIPT_MYSQL_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/mysql.sql" +export DB_SCRIPT_IDENTITY_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/mysql.sql" +export DB_SCRIPT_UMA_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" +export DB_SCRIPT_CONSENT_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/consent/mysql.sql" +export DB_SCRIPT_METRICS_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/metrics/mysql.sql" # Absolute path for the /repository/components/lib folder export LIB_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/currentVersion/repository/components/lib" @@ -209,13 +209,13 @@ export IS_OLD_BIN_MAC="/Users/runner/work/product-is/product-is/.github/migratio export LIB_NEW_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/migratingVersion/repository/components/" # Absolute path for the mysql jar connector -export JAR_MYSQL_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/mysql-connector-java-8.0.29.jar" +export JAR_MYSQL_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/mysql-connector-java-8.0.29.jar" # Absolute path for the mssql jar connector -export JAR_MSSQL_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/mssql-jdbc-9.2.0.jre8.jar" +export JAR_MSSQL_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/mssql-jdbc-9.2.0.jre8.jar" # Absolute path for the postgre jar connector -export JAR_POSTGRE_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/postgresql-42.5.3.jar" +export JAR_POSTGRE_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/postgresql-42.5.3.jar" # Absolute path for the /Tenants folder export TENANT_OLD_PATH_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/currentVersion/repository" @@ -242,22 +242,22 @@ export LINK_TO_IS_NEW_MAC="https://github.com/wso2/product-is/releases/download/ export LINK_TO_MIGRATION_CLIENT_MAC="https://github.com/wso2-extensions/identity-migration-resources/releases/download/v1.0.225/wso2is-migration-1.0.225.zip" # Absolute path to IS_MIGRATION_TOOL_HOME/dropins home folder -export DROPINS_PATH_HOME_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/wso2is-migration-1.0.225" +export DROPINS_PATH_HOME_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/wso2is-migration-1.0.225" # Absolute path to db-scripts/IS-5.11 folder -export UTILS_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11" +export UTILS_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11" # Absolute path to utils folder -export UTILS_MAC_PATH="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils" +export UTILS_MAC_PATH="/Users/runner/work/product-is/product-is/.github/migration-tester/utils" # Absolute path to IS_MIGRATION_TOOL_HOME/dropins folder -export DROPINS_PATH_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/wso2is-migration-1.0.225/dropins" +export DROPINS_PATH_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/wso2is-migration-1.0.225/dropins" # Absolute path to IS_HOME_NEW/repository/components export COMPONENTS_PATH_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/migratingVersion/repository/components" # Absolute path to migration resources folder -export MIGRATION_RESOURCES_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/wso2is-migration-1.0.225/migration-resources" +export MIGRATION_RESOURCES_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/wso2is-migration-1.0.225/migration-resources" # Absolute path to latest wso2IS root folder export IS_NEW_ROOT_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/migratingVersion" @@ -352,13 +352,13 @@ export GIVEN_USER_EMAIL_HOME=testemail1home@gmail.com export GIVEN_USER_EMAIL_WORK=testemailwork@gmail.com # Absolute path to user creation shell files -export USER_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/1-user-creation +export USER_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/1-user-creation # Absolute path to tenants creation shell files -export TENANT_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/2-tenant-creation +export TENANT_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/2-tenant-creation # Absolute path to userstore creation shell files -export USERSTORE_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/3-userstore-creation +export USERSTORE_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/3-userstore-creation # Given userstore name export USERSTORE_NAME=NewUserStore1 @@ -373,7 +373,7 @@ export USERSTORE_GROUP_NAME=Engineering export USERSTORE_USER_PASSWORD=Wso2@123 # Absolute path to create a group using shell files -export GROUP_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/5-group-creation +export GROUP_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/5-group-creation # Given group name export GROUP_NAME=ManagingGroup @@ -385,7 +385,7 @@ export GROUP_DISPLAY_NAME=SalesGroup export GROUP_USER_ID=30ee7b3e-4b07-4931-81a7-830874f76aa2 # Absolute path to service provider creation shell files -export SP_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation +export SP_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation # User's First name to register in a Service Provider export SP_USER_NAME=Lanka diff --git a/.github/migration-tester/migration-automation/env.sh b/.github/migration-tester/migration-automation/env.sh index 6ff5a7e84e..2da7bda582 100644 --- a/.github/migration-tester/migration-automation/env.sh +++ b/.github/migration-tester/migration-automation/env.sh @@ -10,10 +10,10 @@ export DIRECTORY_HOME="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing" # Absolute path to data population script -export DATA_POPULATION="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation" +export DATA_POPULATION="/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation" # Absolute path to service provider -export SERVICE_PROVIDER_PATH="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation" +export SERVICE_PROVIDER_PATH="/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation" # Absolute path to home folder export AUTOMATION_HOME="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation" @@ -91,24 +91,24 @@ export BIN_ISNEW="/home/runner/work/product-is/product-is/.github/migration-test export IS_HOME_NEW="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW" # Absolute path for the relevant JDBC driver for the version you are using -export JDBC="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client" +export JDBC="/home/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client" # Absolute path for database creation mysql script -export DATABASE_CREATION_SCRIPT="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/database-create-scripts/mysql.sql" +export DATABASE_CREATION_SCRIPT="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/database-create-scripts/mysql.sql" # Absolute paths for DB scripts - IS 5.10 onwards -export DB_SCRIPT_MYSQL="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/mysql.sql" -export DB_SCRIPT_IDENTITY="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/mysql.sql" -export DB_SCRIPT_UMA="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" -export DB_SCRIPT_CONSENT="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/consent/mysql.sql" -export DB_SCRIPT_METRICS="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/metrics/mysql.sql" +export DB_SCRIPT_MYSQL="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/mysql.sql" +export DB_SCRIPT_IDENTITY="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/mysql.sql" +export DB_SCRIPT_UMA="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" +export DB_SCRIPT_CONSENT="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/consent/mysql.sql" +export DB_SCRIPT_METRICS="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/metrics/mysql.sql" # Absolute paths for DB scripts - IS 5.9 -export DB_SCRIPT_MYSQL_5_9="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/mysql.sql" -export DB_SCRIPT_IDENTITY_5_9="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/identity/mysql.sql" -export DB_SCRIPT_UMA_5_9="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/identity/uma/mysql.sql" -export DB_SCRIPT_CONSENT_5_9="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/consent/mysql.sql" -export DB_SCRIPT_METRICS_5_9="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/metrics/mysql.sql" +export DB_SCRIPT_MYSQL_5_9="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/mysql.sql" +export DB_SCRIPT_IDENTITY_5_9="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/identity/mysql.sql" +export DB_SCRIPT_UMA_5_9="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/identity/uma/mysql.sql" +export DB_SCRIPT_CONSENT_5_9="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/consent/mysql.sql" +export DB_SCRIPT_METRICS_5_9="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/metrics/mysql.sql" # Absolute path for the /repository/components/lib folder export LIB="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/CurrentVersion/repository/components/lib" @@ -120,13 +120,13 @@ export LIB_NEW="/home/runner/work/product-is/product-is/.github/migration-tester export IS_OLD_BIN="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/CurrentVersion/bin" # Absolute path for the mysql jar connector -export JAR_MYSQL="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/jars/mysql/mysql-connector-java-8.0.29.jar" +export JAR_MYSQL="/home/runner/work/product-is/product-is/.github/migration-tester/utils/jars/mysql/mysql-connector-java-8.0.29.jar" # Absolute path for the mssql jar connector -export JAR_MSSQL="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/jars/mssql/mssql-jdbc-9.2.0.jre8.jar" +export JAR_MSSQL="/home/runner/work/product-is/product-is/.github/migration-tester/utils/jars/mssql/mssql-jdbc-9.2.0.jre8.jar" # Absolute path for the postgres jar connector -export JAR_POSTGRE="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/jars/postgresql/postgresql-42.5.3.jar" +export JAR_POSTGRE="/home/runner/work/product-is/product-is/.github/migration-tester/utils/jars/postgresql/postgresql-42.5.3.jar" # Absolute path for the /Tenants folder export TENANT_OLD_PATH="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/CurrentVersion/repository" @@ -150,19 +150,19 @@ export USERSTORE_NEW_PATH="/home/runner/work/product-is/product-is/.github/migra export LINK_TO_MIGRATION_CLIENT="https://github.com/wso2-enterprise/identity-migration-resources/releases/download/v1.0.231/wso2is-migration-1.0.225.zip" # Absolute path to IS_MIGRATION_TOOL_HOME/dropins home folder -export DROPINS_PATH_HOME="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client/wso2is-migration-1.0.225" +export DROPINS_PATH_HOME="/home/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client/wso2is-migration-1.0.225" # Absolute path to utils folder -export UTILS="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client" +export UTILS="/home/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client" # Absolute path to IS_MIGRATION_TOOL_HOME/dropins folder -export DROPINS_PATH="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client/wso2is-migration-1.0.225/dropins" +export DROPINS_PATH="/home/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client/wso2is-migration-1.0.225/dropins" # Absolute path to IS_HOME_NEW/repository/components export COMPONENTS_PATH="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/MigratingVersion/repository/components" # Absolute path to migration resources folder -export MIGRATION_RESOURCES="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client/wso2is-migration-1.0.225/migration-resources" +export MIGRATION_RESOURCES="/home/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client/wso2is-migration-1.0.225/migration-resources" # Absolute path to latest wso2IS root folder export IS_NEW_ROOT="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/MigratingVersion" @@ -180,7 +180,7 @@ export MIGRATION_YAML_UBUNTU="/home/runner/work/product-is/product-is/.github/mi export UBUNTU_HOME="/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/ubuntu-os" # Absolute path to ubuntu update tool -export UPDATE_TOOL_UBUNTU="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/update-tools/wso2update_linux " +export UPDATE_TOOL_UBUNTU="/home/runner/work/product-is/product-is/.github/migration-tester/utils/update-tools/wso2update_linux " ############################################################################################################################### @@ -197,10 +197,10 @@ export DIRECTORY_HOME_MAC="/Users/runner/work/Automating-Product-Migration-Testi export IS_HOME_OLD_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD" # Absolute path to data population script -export DATA_POPULATION_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation" +export DATA_POPULATION_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation" # Absolute path to service provider creation directory -export SERVICE_PROVIDER_PATH_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/4-service-provider-creation" +export SERVICE_PROVIDER_PATH_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/4-service-provider-creation" # Absolute path to home folder export AUTOMATION_HOME_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation" @@ -281,24 +281,24 @@ export IS_HOME_NEW_MAC="/Users/runner/work/product-is/product-is/.github/migrati export LINK_TO_IS_OLD_MAC="https://github.com/wso2/product-is/releases/download/v5.11.0/wso2is-5.11.0.zip" # Absolute path for the utils folder to have relevant JDBC driver -export JDBC_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client" +export JDBC_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client" # Absolute path for database creation mysql script -export DATABASE_CREATION_SCRIPT_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/database-create-scripts/mysql.sql" +export DATABASE_CREATION_SCRIPT_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/database-create-scripts/mysql.sql" # Absolute paths for DB scripts -export DB_SCRIPT_MYSQL_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/mysql.sql" -export DB_SCRIPT_IDENTITY_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/mysql.sql" -export DB_SCRIPT_UMA_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" -export DB_SCRIPT_CONSENT_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/consent/mysql.sql" -export DB_SCRIPT_METRICS_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/metrics/mysql.sql" +export DB_SCRIPT_MYSQL_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/mysql.sql" +export DB_SCRIPT_IDENTITY_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/mysql.sql" +export DB_SCRIPT_UMA_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" +export DB_SCRIPT_CONSENT_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/consent/mysql.sql" +export DB_SCRIPT_METRICS_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/metrics/mysql.sql" # Absolute paths for DB scripts - IS 5.9 Mac -export DB_SCRIPT_MYSQL_5_9_MAC="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/mysql.sql" -export DB_SCRIPT_IDENTITY_5_9_MAC="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/identity/mysql.sql" -export DB_SCRIPT_UMA_5_9_MAC="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/identity/uma/mysql.sql" -export DB_SCRIPT_CONSENT_5_9_MAC="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/consent/mysql.sql" -export DB_SCRIPT_METRICS_5_9_MAC="/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.9/metrics/mysql.sql" +export DB_SCRIPT_MYSQL_5_9_MAC="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/mysql.sql" +export DB_SCRIPT_IDENTITY_5_9_MAC="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/identity/mysql.sql" +export DB_SCRIPT_UMA_5_9_MAC="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/identity/uma/mysql.sql" +export DB_SCRIPT_CONSENT_5_9_MAC="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/consent/mysql.sql" +export DB_SCRIPT_METRICS_5_9_MAC="/home/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.9/metrics/mysql.sql" # Absolute path for the /repository/components/lib folder export LIB_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/CurrentVersion/repository/components/lib" @@ -310,13 +310,13 @@ export IS_OLD_BIN_MAC="/Users/runner/work/product-is/product-is/.github/migratio export LIB_NEW_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/MigratingVersion/repository/components/" # Absolute path for the mysql jar connector -export JAR_MYSQL_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/jars/mysql/mysql-connector-java-8.0.29.jar" +export JAR_MYSQL_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/jars/mysql/mysql-connector-java-8.0.29.jar" # Absolute path for the mssql jar connector -export JAR_MSSQL_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/jars/mssql/mssql-jdbc-9.2.0.jre8.jar" +export JAR_MSSQL_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/jars/mssql/mssql-jdbc-9.2.0.jre8.jar" # Absolute path for the postgre jar connector -export JAR_POSTGRE_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/jars/postgresql/postgresql-42.5.3.jar" +export JAR_POSTGRE_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/jars/postgresql/postgresql-42.5.3.jar" # Absolute path for the /Tenants folder export TENANT_OLD_PATH_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_OLD/CurrentVersion/repository" @@ -343,22 +343,22 @@ export LINK_TO_IS_NEW_MAC="https://github.com/wso2/product-is/releases/download/ export LINK_TO_MIGRATION_CLIENT_MAC="https://github.com/wso2-extensions/identity-migration-resources/releases/download/v1.0.225/wso2is-migration-1.0.225.zip" # Absolute path to IS_MIGRATION_TOOL_HOME/dropins home folder -export DROPINS_PATH_HOME_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client/wso2is-migration-1.0.225" +export DROPINS_PATH_HOME_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client/wso2is-migration-1.0.225" # Absolute path to db-scripts/IS-5.11 folder -export UTILS_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11" +export UTILS_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11" # Absolute path to utils folder -export UTILS_MAC_PATH="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client" +export UTILS_MAC_PATH="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client" # Absolute path to IS_MIGRATION_TOOL_HOME/dropins folder -export DROPINS_PATH_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client/wso2is-migration-1.0.225/dropins" +export DROPINS_PATH_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client/wso2is-migration-1.0.225/dropins" # Absolute path to IS_HOME_NEW/repository/components export COMPONENTS_PATH_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/MigratingVersion/repository/components" # Absolute path to migration resources folder -export MIGRATION_RESOURCES_MAC="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client/wso2is-migration-1.0.225/migration-resources" +export MIGRATION_RESOURCES_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client/wso2is-migration-1.0.225/migration-resources" # Absolute path to latest wso2IS root folder export IS_NEW_ROOT_MAC="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/IS_HOME_NEW/MigratingVersion" @@ -376,7 +376,7 @@ export MIGRATION_YAML_MAC="/Users/runner/work/product-is/product-is/.github/migr export MAC_HOME="/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/mac-os" # Absolute path to macos update tool -export UPDATE_TOOL_MACOS="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/update-tools/wso2update_darwin" +export UPDATE_TOOL_MACOS="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/update-tools/wso2update_darwin" ############################################################################################################################### @@ -455,16 +455,16 @@ export GIVEN_USER_EMAIL_HOME=testemail1home@gmail.com export GIVEN_USER_EMAIL_WORK=testemailwork@gmail.com # Absolute path to user creation shell files -export USER_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/ubuntu-os/1-user-creation -export USER_CREATION_MAC=/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/mac-os/1-user-creation +export USER_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/ubuntu-os/1-user-creation +export USER_CREATION_MAC=/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/mac-os/1-user-creation # Absolute path to tenants creation shell files -export TENANT_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/ubuntu-os/2-tenant-creation -export TENANT_CREATION_MAC=/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/mac-os/2-tenant-creation +export TENANT_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/ubuntu-os/2-tenant-creation +export TENANT_CREATION_MAC=/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/mac-os/2-tenant-creation # Absolute path to userstore creation shell files -export USERSTORE_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/ubuntu-os/3-userstore-creation -export USERSTORE_CREATION_MAC=/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/mac-os/3-userstore-creation +export USERSTORE_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/ubuntu-os/3-userstore-creation +export USERSTORE_CREATION_MAC=/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/mac-os/3-userstore-creation # Given userstore name export USERSTORE_NAME=NewUserStore1 @@ -479,8 +479,8 @@ export USERSTORE_GROUP_NAME=Engineering export USERSTORE_USER_PASSWORD=Wso2@123 # Absolute path to create a group using shell files -export GROUP_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/ubuntu-os/5-group-creation -export GROUP_CREATION_MAC=/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/mac-os/5-group-creation +export GROUP_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/ubuntu-os/5-group-creation +export GROUP_CREATION_MAC=/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/mac-os/5-group-creation # Given group name export GROUP_NAME=ManagingGroup @@ -492,8 +492,8 @@ export GROUP_DISPLAY_NAME=SalesGroup export GROUP_USER_ID=30ee7b3e-4b07-4931-81a7-830874f76aa2 # Absolute path to service provider creation shell files -export SP_CREATION=/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/ubuntu-os/4-service-provider-creation -export SP_CREATION_MAC=/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/data-population-and-validation/mac-os/4-service-provider-creation +export SP_CREATION=/home/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/ubuntu-os/4-service-provider-creation +export SP_CREATION_MAC=/Users/runner/work/product-is/product-is/.github/migration-tester/data-population-and-validation/mac-os/4-service-provider-creation # User's First name to register in a Service Provider export SP_USER_NAME=Lanka diff --git a/.github/migration-tester/migration-automation/mac-os/migration-script-mac.sh b/.github/migration-tester/migration-automation/mac-os/migration-script-mac.sh index 30e9b99dba..5c371cb0bc 100644 --- a/.github/migration-tester/migration-automation/mac-os/migration-script-mac.sh +++ b/.github/migration-tester/migration-automation/mac-os/migration-script-mac.sh @@ -100,7 +100,7 @@ wait echo "${GREEN}==> Unzipped downloaded Identity Server zip${RESET}" # Copy update tool from utils to bin folder -cd "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/update-tools" +cd "/Users/runner/work/product-is/product-is/.github/migration-tester/utils/update-tools" cp -r $UPDATE_TOOL_MACOS $BIN_ISOLD_MAC copy_exit_code=$? @@ -248,7 +248,7 @@ echo "${GREEN}==> Unzipped "$migratingVersion" zip${RESET}" # Copy update tool from utils to bin folder -cd "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/update-tools" +cd "/Users/runner/work/product-is/product-is/.github/migration-tester/utils/update-tools" cp -r $UPDATE_TOOL_MACOS $BIN_ISNEW_MAC copy_exit_code=$? @@ -316,7 +316,7 @@ echo "${GREEN}==> Unzipped migration client successfully${RESET}" cd "$AUTOMATION_HOME_MAC" # Copy migration client from home to migration client folder -cp -r "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/wso2is-migration-1.0.225" "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client/" & +cp -r "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/wso2is-migration-1.0.225" "/Users/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client/" & cp_pid=$! wait $cp_pid @@ -376,7 +376,7 @@ echo "${BLUE}==> Copied deployment toml of "$currentVersion" to "$migratingVersi # Execute consent management db scripts for IS 5.11.0 - MySQL if [ "$migratingVersion" = "5.11.0" ] && [ "$database" = "mysql" ]; then - docker exec -i amazing_feynman sh -c 'exec mysql -uroot -proot -D testdb' Executing consent management db scripts for IS 5.11.0 - MySQL${RESET}" else echo "${GREEN}==> Skipping executing consent management db scripts since the migrating version is not IS 5.11.0"$database" ${RESET}" diff --git a/.github/migration-tester/migration-automation/mac-os/setup-mysql-mac.sh b/.github/migration-tester/migration-automation/mac-os/setup-mysql-mac.sh index ad17dd1ae9..24c0abad95 100644 --- a/.github/migration-tester/migration-automation/mac-os/setup-mysql-mac.sh +++ b/.github/migration-tester/migration-automation/mac-os/setup-mysql-mac.sh @@ -63,16 +63,16 @@ mysql -u root -proot -e "CREATE DATABASE testdb CHARACTER SET latin1;" cd $UTILS_MAC # specify the path to the MySQL script -script_path1="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/mysql.sql" -script_path2="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/mysql.sql" -script_path3="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" -script_path4="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/consent/mysql.sql" -script_path5="/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/metrics/mysql.sql" +script_path1="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/mysql.sql" +script_path2="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/mysql.sql" +script_path3="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/identity/uma/mysql.sql" +script_path4="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/consent/mysql.sql" +script_path5="/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11/metrics/mysql.sql" # specify the database name database="testdb" -cd "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11" +cd "/Users/runner/work/product-is/product-is/.github/migration-tester/utils/db-scripts/IS-5.11" # execute the script against the specified database mysql -u root -proot -D testdb <$script_path1 mysql -u root -proot -D testdb <$script_path2 diff --git a/.github/migration-tester/migration-automation/ubuntu-os/migration-script-ubuntu.sh b/.github/migration-tester/migration-automation/ubuntu-os/migration-script-ubuntu.sh index 15833335f7..b9c04858c4 100644 --- a/.github/migration-tester/migration-automation/ubuntu-os/migration-script-ubuntu.sh +++ b/.github/migration-tester/migration-automation/ubuntu-os/migration-script-ubuntu.sh @@ -219,7 +219,7 @@ ls -a echo "${GREEN}==> Unzipped migration client successfully${RESET}" # Copy migration client from home to migration client folder -cp -r "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/wso2is-migration-1.0.225" "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/migration-client/" & +cp -r "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/wso2is-migration-1.0.225" "/home/runner/work/product-is/product-is/.github/migration-tester/utils/migration-client/" & cp_pid=$! wait $cp_pid @@ -283,7 +283,7 @@ wait $! # Execute consent management db scripts for IS 5.11.0 - MySQL if [ "$migratingVersion" = "5.11.0" && "$database" = "mysql" ]; then - docker exec -i amazing_feynman sh -c 'exec mysql -uroot -proot -D testdb' Executing consent management db scripts for IS 5.11.0 - MySQL${RESET}" else echo "${GREEN}==> Skipping executing consent management db scripts since the migrating version is not IS 5.11.0"$database" ${RESET}" diff --git a/.github/migration-tester/migration-automation/ubuntu-os/update-pack.sh b/.github/migration-tester/migration-automation/ubuntu-os/update-pack.sh index 597b0f10b9..a08def76c0 100644 --- a/.github/migration-tester/migration-automation/ubuntu-os/update-pack.sh +++ b/.github/migration-tester/migration-automation/ubuntu-os/update-pack.sh @@ -17,7 +17,7 @@ startServer=$3 echo -e "${GREEN}==> Env file for Ubuntu sourced successfully${NC}" # Copy update tool from utils to bin folder -cd "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/update-tools" +cd "/home/runner/work/product-is/product-is/.github/migration-tester/utils/update-tools" if [ "$startServer" = "currentVersion" ]; then diff --git a/.github/migration-tester/migration-automation/update-pack-5-9.sh b/.github/migration-tester/migration-automation/update-pack-5-9.sh index ff57a21619..1d8f1aab7e 100644 --- a/.github/migration-tester/migration-automation/update-pack-5-9.sh +++ b/.github/migration-tester/migration-automation/update-pack-5-9.sh @@ -4,7 +4,7 @@ email=$1 password=$2 # Copy update tool from utils to bin folder -cd "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/update-tools" +cd "/home/runner/work/product-is/product-is/.github/migration-tester/utils/update-tools" cp -r $UPDATE_TOOL_UBUNTU $BIN_ISOLD copy_exit_code=$? diff --git a/.github/migration-tester/migration-automation/update-pack.sh b/.github/migration-tester/migration-automation/update-pack.sh index ac0d12e99a..461287ad5a 100644 --- a/.github/migration-tester/migration-automation/update-pack.sh +++ b/.github/migration-tester/migration-automation/update-pack.sh @@ -4,7 +4,7 @@ email=$1 password=$2 # Copy update tool from utils to bin folder -cd "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/update-tools" +cd "/home/runner/work/product-is/product-is/.github/migration-tester/utils/update-tools" cp -r $UPDATE_TOOL_UBUNTU $BIN_ISOLD copy_exit_code=$? diff --git a/.github/migration-tester/migration-automation/windows-os/migration-script-windows.ps1 b/.github/migration-tester/migration-automation/windows-os/migration-script-windows.ps1 index 7dcd3cadd6..4e9445f721 100644 --- a/.github/migration-tester/migration-automation/windows-os/migration-script-windows.ps1 +++ b/.github/migration-tester/migration-automation/windows-os/migration-script-windows.ps1 @@ -134,8 +134,8 @@ cd D:\a\Automating-Product-Migration-Testing\Automating-Product-Migration-Testin #fi # Create database -#chmod +x /home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/mysql.sql -#docker exec -i amazing_feynman sh -c 'exec mysql -uroot -proot' < /home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/mysql.sql +#chmod +x /home/runner/work/product-is/product-is/.github/migration-tester/utils/mysql.sql +#docker exec -i amazing_feynman sh -c 'exec mysql -uroot -proot' < /home/runner/work/product-is/product-is/.github/migration-tester/utils/mysql.sql #echo "\033[0;32m\033[1mDatabase created successfully!\033[0;m" #chmod +x ~/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/db-scripts/IS-5.11/mysql.sql @@ -774,7 +774,7 @@ cd "D:\a\Automating-Product-Migration-Testing\Automating-Product-Migration-Testi #done #echo "\033[0;32m\033[1mMigration client found in folder, continuing...\033[0;m" -#cd /home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils +#cd /home/runner/work/product-is/product-is/.github/migration-tester/utils cd "D:\a\Automating-Product-Migration-Testing\Automating-Product-Migration-Testing\utils" # Unzip migration client archive @@ -784,7 +784,7 @@ Write-Host "`e[0;32m`e[1mUnzipped migration client archive`e[0m" # Navigate to dropins folder #cd "$DROPINS_PATH_HOME" -#cd /home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/wso2is-migration-1.0.225 +#cd /home/runner/work/product-is/product-is/.github/migration-tester/utils/wso2is-migration-1.0.225 cd "D:\a\Automating-Product-Migration-Testing\Automating-Product-Migration-Testing\utils\wso2is-migration-1.0.225" @@ -793,7 +793,7 @@ cd "D:\a\Automating-Product-Migration-Testing\Automating-Product-Migration-Testi #sleep 10 #echo "\033[0;32m\033[1mJar files from migration client have been copied to IS_HOME_NEW/repository/components/dropins folder successfully!\033[0;m" -#cp -r /home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/utils/wso2is-migration-1.0.225 "$COMPONENTS_PATH" & +#cp -r /home/runner/work/product-is/product-is/.github/migration-tester/utils/wso2is-migration-1.0.225 "$COMPONENTS_PATH" & #sleep 10 #echo "\033[0;32m\033[1mJar files from migration client have been copied to IS_HOME_NEW/repository/components/dropins folder successfully!\033[0;m"