Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update localdb test #5048

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ services:
- $TEST_HOME/docker_compose/keycloak/localdb.key:/cbioportal/local.key
- $E2E_WORKSPACE/keycloak/idp-metadata.xml:/cbioportal/idp-metadata.xml:ro
command: /bin/sh -c "java -Xms2g -Xmx4g -jar cbioportal/target/cbioportal-exec.jar --spring.config.location=cbioportal/application.properties --spring.config.location=cbioportal/application.properties --dat.method=none --multithread.core_pool_size=1
--authenticate=saml --spring.security.saml2.relyingparty.registration.cbio-idp.assertingparty.metadata-uri=file:/cbioportal/idp-metadata.xml --session.service.url=http://cbioportal-session:5000/api/sessions/my_portal/
--authenticate=saml --spring.security.saml2.relyingparty.registration.cbio-idp.assertingparty.metadata-uri=file:/cbioportal/idp-metadata.xml --session.service.url=http://cbioportal-session:5001/api/sessions/my_portal/
--spring.security.saml2.relyingparty.registration.cbio-idp.entity-id=cbioportal --spring.security.saml2.relyingparty.registration.cbio-idp.signing.credentials[0].certificate-location=file:/cbioportal/local.crt
--spring.security.saml2.relyingparty.registration.cbio-idp.signing.credentials[0].private-key-location=file:/cbioportal/local.key"
2 changes: 1 addition & 1 deletion end-to-end-test/local/docker_compose/keycloak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- $E2E_WORKSPACE/keycloak/idp-metadata.xml:/cbioportal-webapp/client-tailored-saml-idp-metadata.xml:ro
command: >
/bin/sh -c "java -Xms2g -Xmx4g -cp '/cbioportal-webapp:/cbioportal-webapp/lib/*' org.cbioportal.PortalApplication --spring.config.location=cbioportal-webapp/application.properties --dat.method=none --multithread.core_pool_size=1
--authenticate=saml --spring.security.saml2.relyingparty.registration.cbio-idp.assertingparty.metadata-uri=classpath:/client-tailored-saml-idp-metadata.xml --session.service.url=http://cbioportal-session:5000/api/sessions/my_portal/
--authenticate=saml --spring.security.saml2.relyingparty.registration.cbio-idp.assertingparty.metadata-uri=classpath:/client-tailored-saml-idp-metadata.xml --session.service.url=http://cbioportal-session:5001/api/sessions/my_portal/
--spring.security.saml2.relyingparty.registration.cbio-idp.entity-id=cbioportal --spring.security.saml2.relyingparty.registration.cbio-idp.signing.credentials[0].certificate-location=classpath:/local.crt
--spring.security.saml2.relyingparty.registration.cbio-idp.signing.credentials[0].private-key-location=classpath:/local.key"
keycloak:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"attributes": {
"saml.assertion.signature": "false",
"saml.signing.certificate": "MIIDkTCCAnmgAwIBAgIUD+bcM5cBNSEHyH+QpEjnT89TJyQwDQYJKoZIhvcNAQEL\nBQAwWDELMAkGA1UEBhMCVVMxETAPBgNVBAgMCE5ldy1Zb3JrMREwDwYDVQQHDAhO\nZXcgWW9yazEOMAwGA1UECgwFTVNLQ0MxEzARBgNVBAsMCmNCaW9Qb3J0YWwwHhcN\nMjMxMTEzMTkwNTU0WhcNMjQxMTEyMTkwNTU0WjBYMQswCQYDVQQGEwJVUzERMA8G\nA1UECAwITmV3LVlvcmsxETAPBgNVBAcMCE5ldyBZb3JrMQ4wDAYDVQQKDAVNU0tD\nQzETMBEGA1UECwwKY0Jpb1BvcnRhbDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC\nAQoCggEBAJCb2bCgYPxAa0yHyAAJFRkT7sTxii/+UTKZOFOlbO6aRVWOI0tchb7r\nvcDWPGS+3hE99egAlK6Uxo1UPKBDc70lL2kJC64ukiuJ0MuzCZlaS2CxfJMdWRMZ\nAnJ3Gd4//1373HmATdwxYdJ1PPG0/lDmbK5u26n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ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK\nAoIBAQDOWG/PpXUXjnYpptbMmIeB/6iz8P3/ZenMcAorXwSSYdohUkNKmHzKfdo6\ndWz3RnPziw9dmxKhUUemCtEtIhNwhU2W+d+D3OOkB7xHcW+pXjPEFEG2BBGp0NEu\n7tQ6WRV3obtZ+vdIxrQcdh1a8Fig2WWY1acNqg6lTPABH2B8SjKsVFITBVjCIENh\nasK5naseWGj9LK/0SGaD2RxoHAV7u+7vh7d8p7gHuvdKyJpb3CE7LBo/24YIo4Sx\nOs7bWACFsmMqv1zqDwKjfpg3RFtu13R1MU2AKz7VIVGuSyNZUSMKMhnuiqidwK1/\npARfzRT9boYZpz8Etz4RYzE6J6UVAgMBAAGjUzBRMB0GA1UdDgQWBBQflqDtFbAk\n3FKnAmAaxTlv8kR1GzAfBgNVHSMEGDAWgBQflqDtFbAk3FKnAmAaxTlv8kR1GzAP\nBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBGDMY4FtK7MQF7tllt\n8VSkqsVmnQTJPl0ahsBDC4JeeZpf+znfXrOG4X9OegnloaPVsU2GHL2uD3fsVDtd\n2oDU9N2mr18kG2pUMsN3gfx83ANukAGah3x/PPO/Cu1KJlvYlTXrDt35y4dxvZqP\nqKdtUZNtqWlLiGUSylH9FpgrS8n1k47zCslyyo0ThXJeo2ct9IMP2WV4HAAUPokz\n6oNzN4fgmvXfXH2F+FLcypD31uCQFwnpuEsYVn8UM7Md14Xv08/79uN5MES0/9kv\nF4BQx7Cjd1lvL243rzgz5dDd7+JYYa9BwmRggmQXFmvQnVsS3iU8L7oHy4BVwoGa\nqe0z",
"saml.force.post.binding": "false",
"saml.signature.algorithm": "RSA_SHA256",
"saml_single_logout_service_url_post": "http://localhost:8080/saml/logout",
Expand Down
40 changes: 20 additions & 20 deletions end-to-end-test/local/docker_compose/keycloak/localdb.crt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
-----BEGIN CERT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b3DQEBCwUAA4IBAQBGDMY4FtK7MQF7tllt
8VSkqsVmnQTJPl0ahsBDC4JeeZpf+znfXrOG4X9OegnloaPVsU2GHL2uD3fsVDtd
2oDU9N2mr18kG2pUMsN3gfx83ANukAGah3x/PPO/Cu1KJlvYlTXrDt35y4dxvZqP
qKdtUZNtqWlLiGUSylH9FpgrS8n1k47zCslyyo0ThXJeo2ct9IMP2WV4HAAUPokz
6oNzN4fgmvXfXH2F+FLcypD31uCQFwnpuEsYVn8UM7Md14Xv08/79uN5MES0/9kv
F4BQx7Cjd1lvL243rzgz5dDd7+JYYa9BwmRggmQXFmvQnVsS3iU8L7oHy4BVwoGa
qe0z
-----END CERTIFICATE-----
52 changes: 26 additions & 26 deletions end-to-end-test/local/docker_compose/keycloak/localdb.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCQm9mwoGD8QGtM
h8gACRUZE+7E8Yov/lEymThTpWzumkVVjiNLXIW+673A1jxkvt4RPfXoAJSulMaN
VDygQ3O9JS9pCQuuLpIridDLswmZWktgsXyTHVkTGQJydxneP/9d+9x5gE3cMWHS
dTzxtP5Q5myubtupwEsdCpI1b4XsKFGTriBapa8hJd8XLsj/jF3Ug3fIf/eKD3B6
dU/6fgwLYgKBZLAo4RrwCIRIxHwVd6gBrVs32KtO4z1tBWnRnIqKAAxh+9riLjFu
GlzSnSvw9HwV6lP1DPXLXzk/n84pmVeF2rKIrZkPhNzOOwf1Zy/iqO4d3Kjwg3GH
MFskVowfAgMBAAECggEAIhWJ5ta2ZV5tq/kpC9EYNvP6yFLCJnPEAbAZlaWdGlQk
WXkKGp4xLAH2lLgqPfi68Mdw6YERimCot/EN5Rxg8EkOdqxaI3D4pOhz3T9S2OFu
eNj8qtQ1BYpUiFRINZlSAH33xm+Wanr9OpTFi5cEhl75aNfaUJVxXuP5+DxUDYhM
lZX9aJNnFLW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