Skip to content

Commit

Permalink
GH2883 Cloud gateway service functionality
Browse files Browse the repository at this point in the history
Signed-off-by: alexandr cumarav <[email protected]>
  • Loading branch information
cumarav committed Sep 5, 2023
1 parent 5f54de5 commit e30e2c1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 55 deletions.
1 change: 1 addition & 0 deletions cloud-gateway-package/src/main/resources/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ _BPX_JOBNAME=${ZWE_zowe_job_prefix}${CLOUD_GATEWAY_CODE} java \
-Dapiml.logs.location=${ZWE_zowe_logDirectory} \
-Dapiml.zoweManifest=${ZWE_zowe_runtimeDirectory}/manifest.json \
-Dserver.address=0.0.0.0 \
-Dapiml.service.apimlId=${ZWE_configs_apimlId:-} \
-Deureka.client.serviceUrl.defaultZone=${ZWE_DISCOVERY_SERVICES_LIST:-"https://${ZWE_haInstance_hostname:-localhost}:${ZWE_components_discovery_port:-7553}/eureka/"} \
-Dserver.ssl.enabled=${ZWE_configs_server_ssl_enabled:-true} \
-Dserver.maxConnectionsPerRoute=${ZWE_configs_server_maxConnectionsPerRoute:-100} \
Expand Down
1 change: 0 additions & 1 deletion cloud-gateway-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ dependencies {
implementation libs.spring.expression
implementation libs.bcpkix
implementation libs.nimbusJoseJwt
implementation libs.janino

compileOnly libs.lombok
annotationProcessor libs.lombok
Expand Down
3 changes: 1 addition & 2 deletions cloud-gateway-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apiml:
id: cloud-gateway
port: 10023
hostname: localhost
scheme: https # "https" or "http"
scheme: https
corsEnabled: true
ignoredHeadersWhenCorsEnabled: Access-Control-Request-Method,Access-Control-Request-Headers,Access-Control-Allow-Origin,Access-Control-Allow-Methods,Access-Control-Allow-Headers,Access-Control-Allow-Credentials,Origin
forwardClientCertEnabled: false
Expand Down Expand Up @@ -49,7 +49,6 @@ server:
main:
allow-circular-references: true

logbackServiceName: ZWEACG1

logging:
level:
Expand Down
51 changes: 0 additions & 51 deletions cloud-gateway-service/src/main/resources/logback.xml

This file was deleted.

2 changes: 1 addition & 1 deletion cloud-gateway-service/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ apiml:
id: cloud-gateway
port: 10023
hostname: localhost
scheme: https
corsEnabled: true
scheme: https
ignoredHeadersWhenCorsEnabled: Access-Control-Request-Method,Access-Control-Request-Headers,Access-Control-Allow-Origin,Access-Control-Allow-Methods,Access-Control-Allow-Headers,Access-Control-Allow-Credentials,Origin
forwardClientCertEnabled: false
cloudGateway:
Expand Down

0 comments on commit e30e2c1

Please sign in to comment.