Split URL properties into prefix/suffix
[portal/ric-dashboard.git] / webapp-backend / src / main / resources / application.properties
index 0350ad6..db5d5b0 100644 (file)
@@ -1,6 +1,6 @@
 ###
 # ========================LICENSE_START=================================
-# ORAN-OSC
+# O-RAN-SC
 # %%
 # Copyright (C) 2019 AT&T Intellectual Property and Nokia
 # %%
 # ========================LICENSE_END===================================
 ###
 
-# Default properties for the RIC Dashboard backend REST services
+# Defines property keys for the RIC Dashboard, and some defaults
 
-# This lacks any spring prefix
-# The server port number is chosen RANDOMLY when running a test
+# Confusingly, this key has no "spring" prefix
+# The port number is chosen RANDOMLY when running a test
 server.port = 8080
 
 # A1 Mediator
-a1med.basepath = http://localhost:12345
-a1med.delaypath   = /a1ric/delay
-a1med.loadpath    = /a1ric/load
-a1med.metricspath = /a1ric/metrics
+a1med.url.prefix = http://jar-app-props-default-A1-URL-prefix
+a1med.url.suffix =
 
-# E2 Manager
-e2mgr.basepath = http://localhost:30098
+# 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
 
-# Xapp Manager
-xappmgr.basepath = http://localhost:30099
+# 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