Deploy CBS, inventory, & SCH with Helm
[oom.git] / kubernetes / dcaegen2 / charts / dcae-servicechange-handler / charts / dcae-inventory-api / resources / config / config.json
diff --git a/kubernetes/dcaegen2/charts/dcae-servicechange-handler/charts/dcae-inventory-api/resources/config/config.json b/kubernetes/dcaegen2/charts/dcae-servicechange-handler/charts/dcae-inventory-api/resources/config/config.json
new file mode 100644 (file)
index 0000000..a8329f6
--- /dev/null
@@ -0,0 +1,34 @@
+{
+    "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"
+    }
+  }
\ No newline at end of file