Change HTTP Requests into HTTPS Ones
[holmes/rule-management.git] / rulemgt-standalone / src / main / assembly / conf / rulemgt.yml
index 29d56d7..b0a934b 100644 (file)
@@ -9,12 +9,16 @@ apidescription: ZTE Holmes rule Management rest API
 
 server:
   type: simple
-  rootPath:  '/api/holmes-rule-mgmt/v1/*'
+  rootPath: '/api/holmes-rule-mgmt/v1/*'
   applicationContextPath: /
   adminContextPath: /admin
   connector:
-    type: http
+    type: https
     port: 9101
+    keyStorePath: /home/holmes/conf/holmes.keystore
+    keyStorePassword: holmes
+    validateCerts: false
+    validatePeers: false
 
 # Logging settings.
 logging:
@@ -50,7 +54,7 @@ database:
   driverClass: org.postgresql.Driver
   user: holmes
   password: holmespwd
-  url: jdbc:postgresql://10.74.156.206:5432/holmes
+  url: jdbc:postgresql://10.96.33.33:5432/holmes
   properties:
     charSet: UTF-8
   maxWaitForConnection: 1s