Skip to content

Commit 9fe87af

Browse files
Update multi tenancy_Integration.yml
1 parent 7cd1223 commit 9fe87af

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/multi tenancy_Integration.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -171,29 +171,29 @@ jobs:
171171
fi
172172
done
173173
174-
cat > "$PROPERTIES_FILE" <<EOL
175-
appUrl=$appUrl
176-
appUrlMT=$appUrlMT
177-
authUrl=$authUrl
178-
authUrlMT1=$authUrlMT1
179-
authUrlMT2=$authUrlMT2
180-
clientID=$clientID
181-
clientSecret=$clientSecret
182-
clientIDMT=$clientIDMT
183-
clientSecretMT=$clientSecretMT
184-
username=$username
185-
password=$password
186-
noSDMRoleUsername=$noSDMRoleUsername
187-
noSDMRoleUserPassword=$noSDMRoleUserPassword
188-
EOL
174+
# cat > "$PROPERTIES_FILE" <<EOL
175+
# appUrl=$appUrl
176+
# appUrlMT=$appUrlMT
177+
# authUrl=$authUrl
178+
# authUrlMT1=$authUrlMT1
179+
# authUrlMT2=$authUrlMT2
180+
# clientID=$clientID
181+
# clientSecret=$clientSecret
182+
# clientIDMT=$clientIDMT
183+
# clientSecretMT=$clientSecretMT
184+
# username=$username
185+
# password=$password
186+
# noSDMRoleUsername=$noSDMRoleUsername
187+
# noSDMRoleUserPassword=$noSDMRoleUserPassword
188+
# EOL
189189
190190
# # Display properties file without sensitive information
191191
# echo -e "\033[34m📜 Properties File (Masked):\033[0m"
192192
# cat "$PROPERTIES_FILE" | sed -e 's/=\w\+/=****/g' -e 's/=/=/'
193193
194194
# Run Maven integration tests
195195
echo -e "\033[34m🧪 Running Maven tests for Multi Tenancy...\033[0m"
196-
mvn clean verify -P integration-tests -DtokenFlow=namedUser -DtenancyModel=multi -Dtenant=TENANT1 -DskipUnitTests || { echo -e "\033[31m❌ Maven tests failed for Named User Flow (Multi Tenancy, Tenant 1)\033[0m"; exit 1; }
196+
# mvn clean verify -P integration-tests -DtokenFlow=namedUser -DtenancyModel=multi -Dtenant=TENANT1 -DskipUnitTests || { echo -e "\033[31m❌ Maven tests failed for Named User Flow (Multi Tenancy, Tenant 1)\033[0m"; exit 1; }
197197
# Uncomment these lines when needed for additional tests
198198
# mvn clean verify -P integration-tests -DtokenFlow=technicalUser -DtenancyModel=multi -Dtenant=TENANT1 -DskipUnitTests || { echo -e "\033[31m❌ Maven tests failed for Technical User Flow (Multi Tenancy, Tenant 1)\033[0m"; exit 1; }
199199
# mvn clean verify -P integration-tests -DtokenFlow=namedUser -DtenancyModel=multi -Dtenant=TENANT2 -DskipUnitTests || { echo -e "\033[31m❌ Maven tests failed for Named User Flow (Multi Tenancy, Tenant 2)\033[0m"; exit 1; }

0 commit comments

Comments
 (0)