a497f09fca880fc86b9de7b0a42a959dd4610223
[portal/ric-dashboard.git] / webapp-backend / src / main / resources / application.properties
1 # ========================LICENSE_START=================================
2 # O-RAN-SC
3 # %%
4 # Copyright (C) 2019 AT&T Intellectual Property
5 # %%
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9
10 #      http://www.apache.org/licenses/LICENSE-2.0
11
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ========================LICENSE_END===================================
18
19 # Defines RIC Dashboard property keys and default values.
20 # Create a copy in the launch directory to override values; or
21 # copy to "application-abc.properties" as mentioned in the README.
22
23 # A spring property but without a "spring" prefix;
24 # the port number is chosen RANDOMLY when running tests
25 server.port = 8080
26
27 # path to file that stores user details;
28 # use a persistent volume in a K8S deployment
29 userfile = users.json
30
31 # boolean flag whether to enforce Portal user and roles on requests
32 portalapi.security = true
33 # class that decrypts ciphertext from Portal
34 portalapi.decryptor = org.oransc.ric.portal.dashboard.portalapi.PortalSdkDecryptorAes
35 # name of request cookie with user ID
36 portalapi.usercookie = UserId
37
38 # portal credentials must be supplied at deployment time
39 portalapi.appname = RIC Dashboard
40 portalapi.username =
41 portalapi.password =
42
43 # endpoint URLs must be supplied at deployment time
44 # A1 Mediator
45 a1med.url.prefix = http://jar-app-props-default-A1-URL-prefix
46 a1med.url.suffix =
47 # App Manager
48 appmgr.url.prefix = http://jar-app-props-default-Xapp-Mgr-URL
49 appmgr.url.suffix = /ric/v1
50 # E2 Manager
51 e2mgr.url.prefix = http://jar-app-props-default-E2-URL
52 e2mgr.url.suffix = /v1
53 # Kubernetes API via https://github.com/nokia/caas-ingress
54 # Set insecure=true to disable SSL certificate and hostname checking
55 caasingress.insecure = true
56 caasingress.aux.url.prefix = https://jar-app-props-default-caas-ingress-aux-URL
57 caasingress.aux.url.suffix = /api
58 caasingress.plt.url.prefix = https://jar-app-props-default-caas-ingress-plt-URL
59 caasingress.plt.url.suffix = /api
60
61 # Mimic slow endpoints by defining sleep period, in milliseconds
62 mock.config.delay = 0
63
64 # Kibana report on metrics
65 metrics.url.ac = http://jar-app-props-kibana-url-ac
66 metrics.url.mc = http://jar-app-props-kibana-url-mc