Change HTTP Requests into HTTPS Ones
[holmes/rule-management.git] / rulemgt-standalone / src / main / assembly / conf / rulemgt.yml
index beb60ae..b0a934b 100644 (file)
@@ -9,12 +9,16 @@ apidescription: ZTE Holmes rule Management rest API
 
 server:
   type: simple
-  rootPath:  '/api/holmes-rulemgt/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:
@@ -47,10 +51,10 @@ logging:
 
 #database
 database:
-  driverClass: com.mysql.jdbc.Driver
-  user: root
-  password: rootpass
-  url: jdbc:mysql://10.74.156.206:3306/holmes
+  driverClass: org.postgresql.Driver
+  user: holmes
+  password: holmespwd
+  url: jdbc:postgresql://10.96.33.33:5432/holmes
   properties:
     charSet: UTF-8
   maxWaitForConnection: 1s