Split URL properties into prefix/suffix
[portal/ric-dashboard.git] / webapp-backend / src / main / resources / application.properties
index 1c2f09b..db5d5b0 100644 (file)
@@ -1,6 +1,6 @@
 ###
 # ========================LICENSE_START=================================
-# ORAN-OSC
+# O-RAN-SC
 # %%
 # Copyright (C) 2019 AT&T Intellectual Property and Nokia
 # %%
 # limitations under the License.
 # ========================LICENSE_END===================================
 ###
-# Default properties for the RIC Dashboard backend REST server
 
-# A1 mediation URL is editable
-a1.mediation.url = http://localhost:12345
-a1.mediation.delay.path = /a1ric/delay
-a1.mediation.load.path = /a1ric/load
-a1.mediation.metrics.path = /a1ric/metrics
+# Defines property keys for the RIC Dashboard, and some defaults
 
-xapp.manager.base.url = http://localhost:30099
\ No newline at end of file
+# Confusingly, this key has no "spring" prefix
+# The port number is chosen RANDOMLY when running a test
+server.port = 8080
+
+# A1 Mediator
+a1med.url.prefix = http://jar-app-props-default-A1-URL-prefix
+a1med.url.suffix =
+
+# 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
+# Supply CSV to  mock the get-list API for testing e2mgr in R1;
+# missing key or empty value disables the mock behavior
+# e2mgr.mock.rannames = RANONE, RANTWO