This repository has been archived by the owner on May 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow using https in acceptance tests Activiti/Activiti#2406 (#124)
- Loading branch information
1 parent
4dfc9c3
commit 08b632d
Showing
7 changed files
with
59 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
apps-acceptance-tests/src/main/resources/config-env.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
realm=springboot | ||
auth.url=http://${SSO_HOST}/auth/realms/${realm}/protocol/openid-connect/token | ||
apps.url=http://${GATEWAY_HOST}/apps | ||
realm=activiti | ||
sso.url=${sso.protocol:http}://${sso.host}/auth | ||
auth.url=${sso.url}/realms/${realm}/protocol/openid-connect/token | ||
gateway.url=${gateway.protocol:http}://${gateway.host} | ||
apps.url=${gateway.url}/apps |
6 changes: 4 additions & 2 deletions
6
modeling-acceptance-tests/src/main/resources/config-env.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
realm=activiti | ||
auth.url=http://${SSO_HOST}/auth/realms/${realm}/protocol/openid-connect/token | ||
sso.url=${sso.protocol:http}://${sso.host}/auth | ||
auth.url=${sso.url}/realms/${realm}/protocol/openid-connect/token | ||
gateway.url=${gateway.protocol:http}://${gateway.host} | ||
modeling.url=${gateway.url}/${modeling.path} | ||
modeling.path=activiti-cloud-modeling-backend | ||
modeling.url=http://${GATEWAY_HOST}/${modeling.path} |
12 changes: 7 additions & 5 deletions
12
multiple-runtime-acceptance-tests/src/main/resources/config-env.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
realm=springboot | ||
auth.url=http://${SSO_HOST}/auth/realms/${realm}/protocol/openid-connect/token | ||
audit.event.url=http://${GATEWAY_HOST}/audit | ||
runtime.bundle.url=http://${GATEWAY_HOST}/rb-my-app | ||
runtime.bundle.another.url=http://${GATEWAY_HOST}/rb-other-app | ||
query.url=http://${GATEWAY_HOST}/query | ||
sso.url=${sso.protocol:http}://${sso.host}/auth | ||
auth.url=${sso.url}/realms/${realm}/protocol/openid-connect/token | ||
gateway.url=${gateway.protocol:http}://${gateway.host} | ||
audit.event.url=${gateway.url}/audit | ||
runtime.bundle.url=${gateway.url}/rb-my-app | ||
runtime.bundle.another.url=${gateway.url}/rb-other-app | ||
query.url=${gateway.url}/query |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
export REALM=activiti | ||
export SSO_PROTOCOL=${SSO_PROTOCOL:-http} | ||
export SSO_HOST=${SSO_HOST:-activiti-keycloak.jx-staging.35.228.195.195.nip.io} | ||
export GATEWAY_PROTOCOL=${GATEWAY_PROTOCOL:-http} | ||
export GATEWAY_HOST=${GATEWAY_HOST:-activiti-cloud-gateway.jx-staging.35.228.195.195.nip.io} | ||
export SSO_URL=${SSO_URL:-${SSO_PROTOCOL}://${SSO_HOST}/auth} | ||
export GATEWAY_URL=${GATEWAY_URL:-${GATEWAY_PROTOCOL}://${GATEWAY_HOST}} | ||
echo running tests on env: | ||
echo REALM=${REALM} | ||
echo SSO_URL=${SSO_URL} | ||
echo GATEWAY_URL=${GATEWAY_URL} | ||
mvn clean verify serenity:aggregate |
14 changes: 8 additions & 6 deletions
14
runtime-acceptance-tests/src/main/resources/config-env.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
realm=activiti | ||
auth.url=http://${SSO_HOST}/auth/realms/${realm}/protocol/openid-connect/token | ||
audit.event.url=http://${GATEWAY_HOST}/audit | ||
runtime.bundle.url=http://${GATEWAY_HOST}/rb-my-app | ||
query.url=http://${GATEWAY_HOST}/query | ||
graphql.ws.url=ws://${GATEWAY_HOST}/ws/graphql | ||
graphql.url=http://${GATEWAY_HOST}/graphql | ||
sso.url=${sso.protocol:http}://${sso.host}/auth | ||
auth.url=${sso.url}/realms/${realm}/protocol/openid-connect/token | ||
gateway.url=${gateway.protocol:http}://${gateway.host} | ||
audit.event.url=${gateway.url}/audit | ||
runtime.bundle.url=${gateway.url}/rb-my-app | ||
query.url=${gateway.url}/query | ||
graphql.ws.url=#{"${gateway.url}".replace('http', 'ws')}/ws/graphql | ||
graphql.url=${gateway.url}/graphql |
14 changes: 8 additions & 6 deletions
14
security-policies-acceptance-tests/src/main/resources/config-env.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
realm=activiti | ||
auth.url=http://${SSO_HOST}/auth/realms/${realm}/protocol/openid-connect/token | ||
audit.event.url=http://${GATEWAY_HOST}/audit | ||
runtime.bundle.url=http://${GATEWAY_HOST}/rb-my-app | ||
query.url=http://${GATEWAY_HOST}/query | ||
graphql.ws.url=ws://${GATEWAY_HOST}/ws/graphql | ||
graphql.url=http://${GATEWAY_HOST}/graphql | ||
sso.url=${sso.protocol:http}://${sso.host}/auth | ||
auth.url=${sso.url}/realms/${realm}/protocol/openid-connect/token | ||
gateway.url=${gateway.protocol:http}://${gateway.host} | ||
audit.event.url=${gateway.url}/audit | ||
runtime.bundle.url=${gateway.url}/rb-my-app | ||
query.url=${gateway.url}/query | ||
graphql.ws.url=#{"${gateway.url}".replace('http', 'ws')}/ws/graphql | ||
graphql.url=${gateway.url}/graphql |