blob: 3aa2406f481dfeae50f36691efb0c8bc81b06242 [file] [log] [blame]
PatrikBuhra2bc79c2019-10-29 13:39:00 +01001# ========================LICENSE_START=================================
2# O-RAN-SC
3# %%
4# Copyright (C) 2019 AT&T Intellectual Property
PatrikBuhr1bcbf002019-11-04 14:26:04 +01005# Modifications Copyright (C) 2019 Nordix Foundation
PatrikBuhra2bc79c2019-10-29 13:39:00 +01006# %%
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ========================LICENSE_END===================================
19
PatrikBuhr1bcbf002019-11-04 14:26:04 +010020# Defines NonRT RIC Dashboard property keys and default values.
PatrikBuhra2bc79c2019-10-29 13:39:00 +010021# Create a copy in the launch directory to override values; or
22# copy to "application-abc.properties" as mentioned in the README.
23
24# A spring property but without a "spring" prefix;
25# the port number is chosen RANDOMLY when running tests
26server.port = 8080
27
28# path to file that stores user details;
29# use a persistent volume in a K8S deployment
30userfile = users.json
31
32# boolean flag whether to enforce Portal user and roles on requests
PatrikBuhr6e59d4a2019-11-06 13:31:57 +010033portalapi.security = false
PatrikBuhra2bc79c2019-10-29 13:39:00 +010034# class that decrypts ciphertext from Portal
35portalapi.decryptor = org.oransc.ric.portal.dashboard.portalapi.PortalSdkDecryptorAes
36# name of request cookie with user ID
37portalapi.usercookie = UserId
38
39# portal credentials must be supplied at deployment time
40portalapi.appname = RIC Dashboard
41portalapi.username =
42portalapi.password =
43
44# endpoint URLs must be supplied at deployment time
RehanRaza8606e972019-11-14 18:52:11 +010045# NOTE: change a1controller.url.prefix to http://localhost:8282 when running
46# dashboard locally (i.e., not inside the docker container)
PatrikBuhra2bc79c2019-10-29 13:39:00 +010047# A1 Controller
RehanRaza8606e972019-11-14 18:52:11 +010048a1controller.url.prefix = http://a1-controller-container:8181
PatrikBuhra2bc79c2019-10-29 13:39:00 +010049a1controller.url.suffix = /restconf/operations
PatrikBuhr1bcbf002019-11-04 14:26:04 +010050
PatrikBuhra2bc79c2019-10-29 13:39:00 +010051# Kubernetes API via https://github.com/nokia/caas-ingress
52# Set insecure=true to disable SSL certificate and hostname checking
53caasingress.insecure = true
54caasingress.aux.url.prefix = https://jar-app-props-default-caas-ingress-aux-URL
55caasingress.aux.url.suffix = /api
56caasingress.plt.url.prefix = https://jar-app-props-default-caas-ingress-plt-URL
57caasingress.plt.url.suffix = /api
58
59# Mimic slow endpoints by defining sleep period, in milliseconds
60mock.config.delay = 0
61
62# Kibana report on metrics
63metrics.url.ac = http://jar-app-props-kibana-url-ac
64metrics.url.mc = http://jar-app-props-kibana-url-mc