Enable running dashboard inside docker container
[nonrtric.git] / dashboard / webapp-backend / src / main / resources / application.properties
index e969968..3aa2406 100644 (file)
@@ -2,6 +2,7 @@
 # O-RAN-SC
 # %%
 # Copyright (C) 2019 AT&T Intellectual Property
+# Modifications Copyright (C) 2019 Nordix Foundation
 # %%
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -16,7 +17,7 @@
 # limitations under the License.
 # ========================LICENSE_END===================================
 
-# Defines RIC Dashboard property keys and default values.
+# Defines NonRT RIC Dashboard property keys and default values.
 # Create a copy in the launch directory to override values; or
 # copy to "application-abc.properties" as mentioned in the README.
 
@@ -29,7 +30,7 @@ server.port = 8080
 userfile = users.json
 
 # boolean flag whether to enforce Portal user and roles on requests
-portalapi.security = true
+portalapi.security = false
 # class that decrypts ciphertext from Portal
 portalapi.decryptor = org.oransc.ric.portal.dashboard.portalapi.PortalSdkDecryptorAes
 # name of request cookie with user ID
@@ -41,22 +42,12 @@ portalapi.username =
 portalapi.password =
 
 # endpoint URLs must be supplied at deployment time
-# A1 Mediator
-a1med.url.prefix = http://jar-app-props-default-A1-URL-prefix
-a1med.url.suffix =
-# endpoint URLs must be supplied at deployment time
+# NOTE: change a1controller.url.prefix to http://localhost:8282 when running
+#       dashboard locally (i.e., not inside the docker container)
 # A1 Controller
-a1controller.url.prefix = http://localhost:8282
+a1controller.url.prefix = http://a1-controller-container:8181
 a1controller.url.suffix = /restconf/operations
-# ANR xApp
-anrxapp.url.prefix = http://jar-app-props-default-ANR-URL-prefix
-anrxapp.url.suffix =
-# App Manager
-appmgr.url.prefix = http://jar-app-props-default-Xapp-Mgr-URL
-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