Revise user controller to answer real data
[portal/ric-dashboard.git] / webapp-backend / src / main / resources / application.properties
index 50da1cd..a740652 100644 (file)
@@ -1,7 +1,7 @@
 # ========================LICENSE_START=================================
 # O-RAN-SC
 # %%
-# Copyright (C) 2019 AT&T Intellectual Property and Nokia
+# Copyright (C) 2019 AT&T Intellectual Property
 # %%
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -28,6 +28,8 @@ server.port = 8080
 # use a persistent volume in a K8S deployment
 userfile = users.json
 
+# boolean flag whether to enforce Portal user and roles on requests
+portalapi.security = true
 # class that decrypts ciphertext from Portal
 portalapi.decryptor = org.oransc.ric.portal.dashboard.portalapi.PortalSdkDecryptorAes
 # name of request cookie with user ID
@@ -51,9 +53,17 @@ appmgr.url.suffix = /ric/v1
 # E2 Manager
 e2mgr.url.prefix = http://jar-app-props-default-E2-URL
 e2mgr.url.suffix = /v1
+# Kubernetes API via https://github.com/nokia/caas-ingress
+# Set insecure=true to disable SSL certificate and hostname checking
+caasingress.insecure = true
+caasingress.aux.url.prefix = https://jar-app-props-default-caas-ingress-aux-URL
+caasingress.aux.url.suffix = /api
+caasingress.plt.url.prefix = https://jar-app-props-default-caas-ingress-plt-URL
+caasingress.plt.url.suffix = /api
 
 # Mimic slow endpoints by defining sleep period, in milliseconds
 mock.config.delay = 0
 
-#Representative URL to Kibana source displaying the AC App metrics
-metrics.url.ac = http://jar-app-props-kibana-url
+# Kibana report on metrics
+metrics.url.ac = http://jar-app-props-kibana-url-ac
+metrics.url.mc = http://jar-app-props-kibana-url-mc