diff --git a/build.gradle b/build.gradle index 001d942..8177205 100644 --- a/build.gradle +++ b/build.gradle @@ -106,4 +106,14 @@ graalvmNative { jvmArgs.add("-Djava.security.properties=${file("${projectDir}/src/main/resources/custom.security").absolutePath}") } } +} + +bootRun { + jvmArgs = [ + '-Djava.security.properties=src/main/resources/custom.security' + ] +} + +tasks.withType(JavaExec) { + jvmArgs += '-Djava.security.properties=src/main/resources/custom.security' } \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 1259fd1..7cbf751 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -11,7 +11,7 @@ management.endpoint.health.probes.enabled=true #repository cosmos.credential.db-name=${DB_NAME:rtp} -cosmos.credential.endpoint=${COSMOS_CONNECTION_STRING} +cosmos.credential.endpoint=${COSMOS_CONNECTION_STRING:""} activation.base-url=${BASE_URL:"http://localhost"} \ No newline at end of file