Skip to content

Commit 08b1f12

Browse files
committed
More changes to prepare for removal of cargo
UAA Boot application no longer relies on the `scripts/cargo` directory
1 parent 05784cb commit 08b1f12

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

scripts/boot/application.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ server:
99
port: 8443
1010
max-http-header-size: 14336
1111
tomcat:
12-
basedir: "${uaa.location.tomcat}"
12+
basedir: "${uaa.boot.location.tomcat}"
1313
connection-timeout: 20000
1414
keep-alive-timeout: 120000
1515
remoteip:
@@ -19,7 +19,7 @@ server:
1919
port-header: "X-Forwarded-Port"
2020
accesslog:
2121
enabled: true
22-
directory: "${uaa.location.tomcat}"
22+
directory: "${uaa.boot.location.tomcat}"
2323
prefix: "localhost_access"
2424
suffix: ".log"
2525
rotate: false
@@ -29,7 +29,7 @@ server:
2929
enabled-protocols: "TLSv1.2,TLSv1.3"
3030
ciphers: "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384"
3131
protocol: TLS
32-
key-store: "${uaa.location.certificate}/uaa_keystore.p12"
32+
key-store: "${uaa.boot.location.certificate}/uaa_keystore.p12"
3333
key-store-type: "PKCS12"
3434
key-alias: "uaa_ssl_cert"
3535
key-store-password: "k0*l*s3cur1tyr0ck$"

scripts/boot/boot-with-tls.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ fi
3535
pushd ${SCRIPT_DIR}
3636
java \
3737
-Dlogging.level.org.springframework.security=TRACE \
38-
-Duaa.location.tomcat=${ROOT_DIR}/scripts/boot/tomcat \
39-
-Duaa.location.certificate=${ROOT_DIR}/scripts/certificates \
38+
-Duaa.boot.location.tomcat=${ROOT_DIR}/scripts/boot/tomcat \
39+
-Duaa.boot.location.certificate=${ROOT_DIR}/scripts/certificates \
4040
-Dlogging.config=${ROOT_DIR}/scripts/boot/log4j2.properties \
4141
-DCLOUDFOUNDRY_CONFIG_PATH=${ROOT_DIR}/scripts/cargo \
4242
-DSECRETS_DIR=${ROOT_DIR}/scripts/cargo \

uaa/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,8 @@ bootRun {
237237
dependsOn rootProject.cleanBootTomcatDir
238238
mainClass = "org.cloudfoundry.experimental.boot.UaaBootApplication"
239239
systemProperty("logging.level.org.springframework.security", "TRACE")
240-
systemProperty("server.tomcat.basedir", file("../scripts/boot/tomcat/").getAbsolutePath())
241240
systemProperty("logging.config", file("../scripts/boot/log4j2.properties").getAbsolutePath())
242-
systemProperty("SECRETS_DIR", System.getProperty("SECRETS_DIR", file("../scripts/cargo").getAbsolutePath()))
241+
systemProperty("uaa.boot.location.tomcat", System.getProperty("uaa.boot.location.tomcat", file("../scripts/boot/tomcat").getAbsolutePath()))
243242
systemProperty("spring.profiles.active", System.getProperty("spring.profiles.active", "hsqldb"))
244243
systemProperty("metrics.perRequestMetrics", System.getProperty("metrics.perRequestMetrics", "true"))
245244
systemProperty("smtp.host", "localhost")

0 commit comments

Comments
 (0)