Added metadata to plannaplan propterties + we should create sssl bean instead inerting properties

This commit is contained in:
BuildTools 2020-12-05 16:38:22 +01:00
parent 495098eeed
commit b4f23aa5d2
3 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,14 @@
{
"properties": [
{
"name": "plannaplan.dev",
"type": "java.lang.String",
"description": "Should application create resorces for development or not"
},
{
"name": "plannaplan.frontendUrl",
"type": "java.lang.String",
"description": "Url where frontend app is located"
}
]
}

View File

@ -10,4 +10,4 @@ spring.main.allow-bean-definition-overriding=true
spring.jackson.default-property-inclusion = NON_NULL spring.jackson.default-property-inclusion = NON_NULL
server.port=1285 server.port=1285
plannaplan.dev = true plannaplan.dev = true
plannaplan.frontendUrl = http://localhost:3000 plannaplan.frontendUrl= http://localhost:3000

View File

@ -12,7 +12,7 @@ spring.jackson.default-property-inclusion = NON_NULL
server.port=1285 server.port=1285
plannaplan.dev = false plannaplan.dev = false
plannaplan.frontendUrl = https://wmi.plannaplan.pl plannaplan.frontendUrl= https://wmi.plannaplan.pl
security.require-ssl=true security.require-ssl=true
server.ssl.key-store=/keys/keystore.p12 server.ssl.key-store=/keys/keystore.p12
server.ssl.key-store-password= server.ssl.key-store-password=