X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-backend%2Fsrc%2Fmain%2Fresources%2Fapplication.properties;h=a7406523116a365dc1138a5616cf6f070428acb5;hb=44203c43bb16a87eb54cc97431a026e111842c97;hp=db5d5b0954e4083d6dc9837049d6696a2a34c463;hpb=b8f4e986970eab6cfa5729c24680f2816f056edb;p=portal%2Fric-dashboard.git diff --git a/webapp-backend/src/main/resources/application.properties b/webapp-backend/src/main/resources/application.properties index db5d5b09..a7406523 100644 --- a/webapp-backend/src/main/resources/application.properties +++ b/webapp-backend/src/main/resources/application.properties @@ -1,8 +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. @@ -16,29 +15,55 @@ # See the License for the specific language governing permissions and # limitations under the License. # ========================LICENSE_END=================================== -### -# Defines property keys for the RIC Dashboard, and some defaults +# 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. -# Confusingly, this key has no "spring" prefix -# The port number is chosen RANDOMLY when running a test +# A spring property but without a "spring" prefix; +# the port number is chosen RANDOMLY when running tests server.port = 8080 +# path to file that stores user details; +# 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 +portalapi.usercookie = UserId + +# portal credentials must be supplied at deployment time +portalapi.appname = RIC Dashboard +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 = - # 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 +# 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 + +# Kibana report on metrics +metrics.url.ac = http://jar-app-props-kibana-url-ac +metrics.url.mc = http://jar-app-props-kibana-url-mc