ci: comment out default `apiman-manager-ui.api.endpoint` in apiman.properties
To avoid issues with CI when behind proxies and/or on non-default ports.
MODIFY
distro/wildfly/src/main/resources/overlay/standalone/configuration/apiman.properties
distro/wildfly/src/main/resources/overlay/standalone/configuration/apiman.properties
@@ -53,7 +53,7 @@ apiman-manager-ui.allowed-cors-origins=*
apiman-manager-ui.endpoint=http://localhost:8080/apimanui/api-manager/
# Where is the Apiman API backend?
-apiman-manager-ui.api.endpoint=http://localhost:8080/apiman
+# apiman-manager-ui.api.endpoint=http://localhost:8080/apiman
# Security context settings.
apiman-manager.security-context.type=keycloak

MODIFY
manager/ui/war/ci/run-e2e-manual.sh
manager/ui/war/ci/run-e2e-manual.sh
@@ -11,7 +11,7 @@ APIMAN_IMAGE_ID="apiman/on-wildfly:$(git rev-parse HEAD)"
cleanup () {
echo "Cleaning up Docker compose..."
- docker-compose down -v --remove-orphans
+ docker-compose --project-name="apiman-ci-testing" down -v --remove-orphans
}
trap cleanup ERR EXIT
@@ -24,4 +24,4 @@ docker-compose --project-name="apiman-ci-testing" up -d
# Check out `waitOnConfig.js` for username and password injection.
yarn run wait-on -v -d 15000 -t 300000 -c waitOnConfig.js "http://$HOSTNAME:8877/apiman/system/status"
-yarn cy:open --config baseUrl="http://$HOSTNAME:8877/apimanui/,retries=3,defaultCommandTimeout=10000"
+yarn cy:open --config baseUrl="http://$HOSTNAME:8877/,retries=3,defaultCommandTimeout=10000"

MODIFY
manager/ui/war/ci/run-e2e.sh
manager/ui/war/ci/run-e2e.sh
@@ -12,7 +12,7 @@ APIMAN_IMAGE_ID="apiman/on-wildfly:$(git rev-parse HEAD)"
cleanup () {
echo "Cleaning up Docker compose..."
- docker-compose down -v --remove-orphans
+ docker-compose --project-name="apiman-ci-testing" down -v --remove-orphans
}
trap cleanup ERR EXIT

ci: comment out default `apiman-manager-ui.api.endpoint` in apiman.properties

To avoid issues with CI when behind proxies and/or on non-default ports.