Run all components in one namespace
[oom.git] / kubernetes / portal / resources / config / portal-fe / webapps / etc / ONAPPORTAL / system.properties
index 9085cee..345d222 100755 (executable)
@@ -1,6 +1,6 @@
 #mysql
 db.driver = org.mariadb.jdbc.Driver
-db.connectionURL = jdbc:mariadb:failover://portaldb.onap-portal:3306/portal
+db.connectionURL = jdbc:mariadb:failover://portaldb.{{.Values.nsPrefix}}:3306/portal
 db.userName =root
 db.password =Aa123456
 db.hib.dialect = org.hibernate.dialect.MySQLDialect
@@ -84,7 +84,7 @@ notification_update_duration = 900
 
 #Microservices Related Properties for Portal
 microservices.widget.protocol = http
-microservices.widget.hostname = portalwidgets.onap-portal
+microservices.widget.hostname = portalwidgets.{{.Values.nsPrefix}}
 microservices.widget.username = widget_user
 microservices.widget.password = KpuqIB08YHg+btG+pjX+sA==
 #This property won't be needed after consul is functional on VMs -