Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit d3915e3

Browse files
authored
updated the set of parameters accordingly to the release 5.8.1 (#11)
* updated the set of parameters accordingly to the release 5.8.1 Signed-off-by: Egor I <[email protected]> * adds first and last name atributes Signed-off-by: Egor I <[email protected]> * up the release ID Signed-off-by: Egor I <[email protected]> * up RELEASE_TO_DEPLOY Signed-off-by: Egor I <[email protected]> * fix lost param name Signed-off-by: Egor I <[email protected]> * fix incorrect parameter name Signed-off-by: Egor I <[email protected]> * moves the default role to the top Signed-off-by: Egor I <[email protected]> --------- Signed-off-by: Egor I <[email protected]>
1 parent b85af3c commit d3915e3

File tree

6 files changed

+35
-15
lines changed

6 files changed

+35
-15
lines changed

testops-demo/env-example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Update this to install different release – check the release notes
88
# Release notes: https://docs.qameta.io/allure-testops/release-notes/
9-
RELEASE_TO_DEPLOY=5.6.4
9+
RELEASE_TO_DEPLOY=5.8.1
1010

1111
########################################################################################
1212
# Registry Settings

testops-ldap/env-example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Release notes: https://docs.qameta.io/allure-testops/release-notes/
88
# Migration to version 5 from version 4 is possible from 4.26.5 to 5.3.3
99
########################################################################################
10-
RELEASE_TO_DEPLOY=5.6.4
10+
RELEASE_TO_DEPLOY=5.8.1
1111

1212
########################################################################################
1313
# Registry Settings

testops-openid/docker-compose.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,21 +96,31 @@ services:
9696

9797
# openid settings
9898
ALLURE_LOGIN_PRIMARY: openid
99+
ALLURE_LOGIN_OPENID_DEFAULTROLE: ${TESTOPS_OPENID_DEFAULTROLE}
99100
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OPENID_CLIENTNAME: ${TESTOPS_OPENID_CLIENTNAME}
100101
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OPENID_CLIENTID: ${TESTOPS_OPENID_CLIENTID}
101102
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OPENID_CLIENTSECRET: ${TESTOPS_OPENID_CLIENTSECRET}
102103
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OPENID_REDIRECTURI: ${TESTOPS_OPENID_REDIRECTURI}
103-
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OPENID_SCOPE: ${TESTOPS_OPENID_SCOPE}
104-
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OPENID_AUTHORIZATIONGRANTTYPE: authorization_code
104+
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OPENID_SCOPE: ${TESTOPS_OPENID_SCOPE}
105+
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OPENID_AUTHORIZATIONGRANTTYPE: ${TESTOPS_OPENID_AUTHORIZATIONGRANTTYPE}
105106
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OPENID_AUTHORIZATIONURI: ${TESTOPS_OPENID_AUTHORIZATIONURI}
106-
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OPENID_USERINFOURI: ${TESTOPS_OPENID_USERINFOURI}
107-
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OPENID_ISSUERURI: ${TESTOPS_OPENID_ISSUERURI}
108107
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OPENID_USERNAMEATTRIBUTE: ${TESTOPS_OPENID_USERNAMEATTRIBUTE}
108+
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OPENID_JWKSETURI: ${TESTOPS_OPENID_JWKSETURI}
109+
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OPENID_TOKENURI: ${TESTOPS_OPENID_TOKENURI}
110+
111+
# these are optional parameters you can enable if it's required by your openid provider
112+
# SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OPENID_ISSUERURI: ${TESTOPS_OPENID_ISSUERURI}
113+
# SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OPENID_USERINFOURI: ${TESTOPS_OPENID_USERINFOURI}
114+
115+
ALLURE_LOGIN_OPENID_FIRSTNAMEATTRIBUTE: ${TESTOPS_OPENID_FIRSTNAMEATTRIBUTE}
116+
ALLURE_LOGIN_OPENID_LASTAMEATTRIBUTE: ${TESTOPS_OPENID_LASTAMEATTRIBUTE}
117+
118+
# these parameters are for the usage with OpenID IdP groups to assign the global roles to users
119+
# depending on the membership in OpenID provider groups
109120
ALLURE_LOGIN_OPENID_SYNCROLES: ${TESTOPS_OPENID_SYNCROLES}
110121
ALLURE_LOGIN_OPENID_GROUPROLEATTRIBUTE: ${TESTOPS_OPENID_GROUPROLEATTRIBUTE}
111122
ALLURE_LOGIN_OPENID_GROUPAUTHORITIES_ROLEUSERGROUPS: ${TESTOPS_OPENID_GROUPAUTHORITIES_ROLEUSERGROUPS}
112123
ALLURE_LOGIN_OPENID_GROUPAUTHORITIES_ROLEADMINGROUPS: ${TESTOPS_OPENID_GROUPAUTHORITIES_ROLEADMINGROUPS}
113-
ALLURE_LOGIN_OPENID_DEFAULTROLE: ${TESTOPS_OPENID_DEFAULTROLE}
114124

115125
TZ: ${TZ}
116126
JAVA_TOOL_OPTIONS: >

testops-openid/env-example

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Update this to install different release – check the release notes
77
# Release notes: https://docs.qameta.io/allure-testops/release-notes/
88

9-
RELEASE_TO_DEPLOY=5.6.4
9+
RELEASE_TO_DEPLOY=5.8.1
1010

1111
########################################################################################
1212
# Registry Settings
@@ -201,15 +201,25 @@ SMTP_SSL_TRUST=smtp.gmail.com
201201
# TESTOPS_OPENID_USERINFOURI - It is advertised in the server metadata
202202
# TESTOPS_OPENID_ISSUERURI - It is advertised in the server metadata
203203

204-
TESTOPS_OPENID_CLIENTNAME=TestOps
204+
TESTOPS_OPENID_CLIENTNAME=testops
205205
TESTOPS_OPENID_CLIENTID=<YOUR_CLIENT_ID>
206206
TESTOPS_OPENID_CLIENTSECRET=<YOUR_CLIENT_SECRET_HERE>
207-
TESTOPS_OPENID_REDIRECTURI=https://<your-domain>/login/oauth2/code/openid
207+
TESTOPS_OPENID_REDIRECTURI=http://<your-testops-domain>/login/oauth2/code/openid
208208
TESTOPS_OPENID_SCOPE=openid,email,profile
209-
TESTOPS_OPENID_AUTHORIZATIONURI=http://<open_id_provider_url>/realms/<you_realm>/protocol/openid-connect/auth
210-
TESTOPS_OPENID_USERINFOURI=http://<open_id_provider_url>/realms/<you_realm>/protocol/openid-connect/userinfo
211-
TESTOPS_OPENID_ISSUERURI=http://<open_id_provider_url>/realms/<you_realm>
212209
TESTOPS_OPENID_USERNAMEATTRIBUTE=preferred_username
210+
TESTOPS_OPENID_AUTHORIZATIONGRANTTYPE=authorization_code
211+
TESTOPS_OPENID_AUTHORIZATIONURI=http://<open_id_provider_url>/somepath/openid-connect/auth
212+
TESTOPS_OPENID_JWKSETURI=http://<open_id_provider_url>/somepath/keys
213+
TESTOPS_OPENID_TOKENURI=http://<open_id_provider_url>/somepath/token
214+
215+
# optional parameters commented in docker-compose.yml
216+
# uncomment these in docker-compose.yml if you know what you are doing and really need using these for the integration with IdP
217+
# TESTOPS_OPENID_ISSUERURI=http://<open_id_provider_url>/realms/<you_realm>
218+
# TESTOPS_OPENID_USERINFOURI=http://<open_id_provider_url>/realms/<you_realm>/protocol/openid-connect/userinfo
219+
220+
# name of the parameter (claim) defining the name of the end user being authenticated
221+
TESTOPS_OPENID_FIRSTNAMEATTRIBUTE: first_name
222+
TESTOPS_OPENID_LASTAMEATTRIBUTE: last_name
213223

214224
TESTOPS_OPENID_DEFAULTROLE=ROLE_GUEST
215225
# TESTOPS_OPENID_SYNCROLES - Defines whether TestOps should assign global roles based on the OpenID server group membership

testops-saml/env-example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Release notes: https://docs.qameta.io/allure-testops/release-notes/
77
# Migration to version 5 from version 4 is possible from 4.26.5 to 5.5.1
88

9-
RELEASE_TO_DEPLOY=5.6.4
9+
RELEASE_TO_DEPLOY=5.8.1
1010

1111
########################################################################################
1212
# Registry Settings

testops/env-example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Release notes: https://docs.qameta.io/allure-testops/release-notes/
77
# Migration to version 5 from version 4 is possible from 4.26.5 to 5.5.1
88

9-
RELEASE_TO_DEPLOY=5.6.4
9+
RELEASE_TO_DEPLOY=5.8.1
1010

1111
########################################################################################
1212
# Registry Settings

0 commit comments

Comments
 (0)