X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-backend%2Fsrc%2Fmain%2Fresources%2Fapplication.properties;fp=webapp-backend%2Fsrc%2Fmain%2Fresources%2Fapplication.properties;h=725f6580bd6ade5b737e8d73c7a01e77d18627df;hb=f507d92d55ee77fad16cc024ea95c869e0d5dc32;hp=0000000000000000000000000000000000000000;hpb=d172453ebf2eec4b6da7d01a07feed2025c08271;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-backend/src/main/resources/application.properties b/webapp-backend/src/main/resources/application.properties new file mode 100644 index 0000000..725f658 --- /dev/null +++ b/webapp-backend/src/main/resources/application.properties @@ -0,0 +1,63 @@ +# ========================LICENSE_START================================= +# 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. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ========================LICENSE_END=================================== + +# Defines NonRT RIC Controlpanel 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 + +# 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 = false +# class that decrypts ciphertext from Portal +portalapi.decryptor = org.oransc.portal.nonrtric.controlpanel.portalapi.PortalSdkDecryptorAes +# name of request cookie with user ID +portalapi.usercookie = UserId + +# portal credentials must be supplied at deployment time +portalapi.appname = NonRT RIC Controlpanel +portalapi.username = +portalapi.password = + +# endpoint URLs must be supplied at deployment time +# NOTE: change policycontroller.url.prefix to http://localhost:8081 when running +# controlpanel locally (i.e., not inside the docker container) +policycontroller.url.prefix = http://policy-agent-container:8081 + + +# 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