X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-backend%2Fsrc%2Fmain%2Fresources%2Fapplication.properties;h=1b7bd1c691d1fffecc55571ba54ca331b7315067;hb=3f812ea25d352ec33d07f5ffa4c2aa2a77e8e793;hp=5e8ba9d159c977972beb70b9a7004fbd19a45c05;hpb=056a49df629daf4189a34c37ee30b1f5ad88a59d;p=portal%2Fric-dashboard.git diff --git a/webapp-backend/src/main/resources/application.properties b/webapp-backend/src/main/resources/application.properties index 5e8ba9d1..1b7bd1c6 100644 --- a/webapp-backend/src/main/resources/application.properties +++ b/webapp-backend/src/main/resources/application.properties @@ -1,6 +1,5 @@ -### # ========================LICENSE_START================================= -# ORAN-OSC +# O-RAN-SC # %% # Copyright (C) 2019 AT&T Intellectual Property and Nokia # %% @@ -16,21 +15,42 @@ # See the License for the specific language governing permissions and # limitations under the License. # ========================LICENSE_END=================================== -### -# Default properties for the RIC Dashboard backend REST server -# This lacks any spring prefix -# The server port number is chosen RANDOMLY when running a test +# Defines 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. + +# A spring property but without a "spring" prefix; +# the port number is chosen RANDOMLY when running tests server.port = 8080 -# 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 +# path to file that stores user details; +# use a persistent volume in a K8S deployment +userfile = users.json + +# class that decrypts ciphertext from Portal +portalapi.decryptor = org.oransc.ric.portal.dashboard.portalapi.PortalSdkDecryptorAes +# name of request cookie with user ID +portalapi.usercookie = UserId + +# portal credentials must be supplied at deployment time +portalapi.appname = RIC Dashboard +portalapi.username = +portalapi.password = -# E2 -e2.manager.base.url = http://localhost:30098 +# endpoint URLs must be supplied at deployment time +# 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 -# Xapp Manager (not A1 mediator) -xapp.manager.base.url = http://localhost:30099 +# Mimic slow endpoints by defining sleep period, in milliseconds +mock.config.delay = 0