aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-inventory-api/resources
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2019-11-20 14:48:22 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-20 14:48:22 +0000
commit4db798b119f1bcb608d69aabe6663f3cef7f11de (patch)
tree67eb198c7ca613a167959bfa29d172dff96d1d0c /kubernetes/dcaegen2/components/dcae-inventory-api/resources
parentf687c4a528e3ee8330f956f9aa1f6994510b10dc (diff)
parente9cd1ee8e62624af8e3939a2e3c8d45ff644f65d (diff)
Merge "Attempt 2 at chart restructure"
Diffstat (limited to 'kubernetes/dcaegen2/components/dcae-inventory-api/resources')
-rw-r--r--kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json b/kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json
new file mode 100644
index 0000000000..c8c7dd79f1
--- /dev/null
+++ b/kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json
@@ -0,0 +1,43 @@
+{
+ "database": {
+ "driverClass": "org.postgresql.Driver",
+ "user": "{{ .Values.postgres.config.pgUserName }}",
+ "password": "{{ .Values.postgres.config.pgUserPassword }}",
+ "url": "jdbc:postgresql://{{ .Values.postgres.service.name2 }}:5432/{{ .Values.postgres.config.pgDatabase }}",
+ "properties": {
+ "charSet": "UTF-8"
+ },
+ "maxWaitForConnection": "1s",
+ "validationQuery": "/* MyService Health Check */ SELECT 1",
+ "minSize": 2,
+ "maxSize": 8,
+ "initialSize": 2,
+ "checkConnectionWhileIdle": false,
+ "evictionInterval": "10s",
+ "minIdleTime": "1 minute"
+ },
+ "databusControllerConnection": {
+ "host": "databus-controller-hostname",
+ "port": 8443,
+ "mechId": null,
+ "password": null,
+ "required": false
+ },
+ "httpClient": {
+ "minThreads": 1,
+ "maxThreads": 128,
+ "gzipEnabled": false,
+ "gzipEnabledForRequests": false,
+ "timeout": "5000milliseconds",
+ "connectionTimeout": "5000milliseconds"
+ },
+ "server": {
+ "applicationConnectors": [{
+ "type": "https",
+ "port": 8080,
+ "keyStorePath": "/opt/cert/cert.jks",
+ "keyStorePassword": "hD:!w:CxF]lGvM6Mz9l^j[7U",
+ "keyStoreType": "JKS"
+ }]
+ }
+ }