From c5fecb506ad0a38cef2ba1590086a6955eb9f7c3 Mon Sep 17 00:00:00 2001 From: achmelo <37397715+achmelo@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:28:51 +0200 Subject: [PATCH] chore: publish CGW images (#3099) * chore: move babel to dev, modify webpack config, spring security Signed-off-by: achmelo * publish zowe CGW image Signed-off-by: achmelo * increase short ttl for token to 10s Signed-off-by: achmelo --------- Signed-off-by: achmelo --- .github/workflows/build-conformant-images.yml | 6 +++--- .../security/common/config/AuthConfigurationProperties.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-conformant-images.yml b/.github/workflows/build-conformant-images.yml index 712ecf3c1c..95118c77c0 100644 --- a/.github/workflows/build-conformant-images.yml +++ b/.github/workflows/build-conformant-images.yml @@ -45,7 +45,7 @@ jobs: create-image-all-services-amd64: strategy: matrix: - service: [ gateway-service, discovery-service, api-catalog-services, caching-service, metrics-service ] + service: [ gateway-service, discovery-service, api-catalog-services, caching-service, metrics-service, cloud-gateway-service ] os: [ ubuntu, ubi ] include: - os: ubuntu @@ -91,7 +91,7 @@ jobs: strategy: max-parallel: 1 matrix: - service: [ gateway-service, discovery-service, api-catalog-services, caching-service, metrics-service ] + service: [ gateway-service, discovery-service, api-catalog-services, caching-service, metrics-service, cloud-gateway-service ] os: [ ubuntu, ubi ] include: - os: ubuntu @@ -147,7 +147,7 @@ jobs: - create-image-all-services-s390x strategy: matrix: - service: [ gateway-service, discovery-service, api-catalog-services, caching-service, metrics-service ] + service: [ gateway-service, discovery-service, api-catalog-services, caching-service, metrics-service, cloud-gateway-service ] os: [ ubuntu, ubi ] runs-on: ubuntu-latest if: ${{ inputs.service == 'all' }} diff --git a/apiml-security-common/src/main/java/org/zowe/apiml/security/common/config/AuthConfigurationProperties.java b/apiml-security-common/src/main/java/org/zowe/apiml/security/common/config/AuthConfigurationProperties.java index bb801fd57b..61a43643d2 100644 --- a/apiml-security-common/src/main/java/org/zowe/apiml/security/common/config/AuthConfigurationProperties.java +++ b/apiml-security-common/src/main/java/org/zowe/apiml/security/common/config/AuthConfigurationProperties.java @@ -92,7 +92,7 @@ public static class TokenProperties { private int expirationInSeconds = 8 * 60 * 60; private String issuer = "APIML"; private String shortTtlUsername = "expire"; - private long shortTtlExpirationInSeconds = 1; + private long shortTtlExpirationInSeconds = 50; } //Cookie properties