diff options
author | awudzins <adam.wudzinski@nokia.com> | 2020-02-19 13:34:32 +0100 |
---|---|---|
committer | awudzins <adam.wudzinski@nokia.com> | 2020-02-20 12:43:59 +0100 |
commit | d54223e7cd3026e260e06df39dd52c4368e7053d (patch) | |
tree | 8501ab3942fa88201f468a05bf84b600e24c7740 /certService/src/main/resources | |
parent | e93c679bc9c22e034ba93a48460830716e1f7457 (diff) |
Load CMP Servers config from volume
Create Kubernetes secret to store Cmp Server config file and mount it to container as volume
Issue-ID: AAF-997
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Change-Id: I163b720ce14729328af34dd61e6eb0108c76d58b
Diffstat (limited to 'certService/src/main/resources')
-rw-r--r-- | certService/src/main/resources/application.properties | 9 | ||||
-rw-r--r-- | certService/src/main/resources/cmpServers.json | 24 |
2 files changed, 7 insertions, 26 deletions
diff --git a/certService/src/main/resources/application.properties b/certService/src/main/resources/application.properties index b9ce108a..eab43c08 100644 --- a/certService/src/main/resources/application.properties +++ b/certService/src/main/resources/application.properties @@ -1,5 +1,10 @@ -#Actuator properties +# Actuator configuration management.endpoints.enabled-by-default=false management.endpoint.health.enabled=true -springdoc.swagger-ui.path=/docs springdoc.show-actuator=true + +# Swagger configuration +springdoc.swagger-ui.path=/docs + +# AAF CertService app specific configuration +app.config.path=/etc/onap/aaf/certservice
\ No newline at end of file diff --git a/certService/src/main/resources/cmpServers.json b/certService/src/main/resources/cmpServers.json deleted file mode 100644 index ee9e72b9..00000000 --- a/certService/src/main/resources/cmpServers.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "cmpv2Servers": [ - { - "caName": "TEST", - "url": "http://127.0.0.1/ejbca/publicweb/cmp/cmp", - "issuerDN": "CN=ManagementCA", - "caMode": "CLIENT", - "authentication": { - "iak": "xxx", - "rv": "yyy" - } - }, - { - "caName": "TEST2", - "url": "http://127.0.0.1/ejbca/publicweb/cmp/cmpRA", - "issuerDN": "CN=ManagementCA2", - "caMode": "RA", - "authentication": { - "iak": "xxx", - "rv": "yyy" - } - } - ] -}
\ No newline at end of file |