8fee6f8c0902b8eae7a9759ea6ca380a88a11b39
[portal/nonrtric-controlpanel.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 # Modifications Copyright (C) 2019 Nordix Foundation
6 # %%
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
20 # Defines Non-RT RIC Control Panel property keys and default values.
21 # 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
26 server.port = 8080
27
28 # path to file that stores user details;
29 # use a persistent volume in a K8S deployment
30 userfile = users.json
31
32 # boolean flag whether to enforce Portal user and roles on requests
33 portalapi.security = false
34 # class that decrypts ciphertext from Portal
35 portalapi.decryptor = org.oransc.portal.nonrtric.controlpanel.portalapi.PortalSdkDecryptorAes
36 # name of request cookie with user ID
37 portalapi.usercookie = UserId
38
39 # portal credentials must be supplied at deployment time
40 portalapi.appname = Non-RT RIC Control Panel
41 portalapi.username =
42 portalapi.password =
43
44 # endpoint URLs must be supplied at deployment time
45 # NOTE: change policycontroller.url.prefix to http://localhost:8081 when running
46 #       controlpanel locally (i.e., not inside the docker container)
47 policycontroller.url.prefix = http://policy-agent-container:8081
48
49
50 # Kubernetes API via https://github.com/nokia/caas-ingress
51 # Set insecure=true to disable SSL certificate and hostname checking
52 caasingress.insecure = true
53 caasingress.aux.url.prefix = https://jar-app-props-default-caas-ingress-aux-URL
54 caasingress.aux.url.suffix = /api
55 caasingress.plt.url.prefix = https://jar-app-props-default-caas-ingress-plt-URL
56 caasingress.plt.url.suffix = /api
57
58 # Mimic slow endpoints by defining sleep period, in milliseconds
59 mock.config.delay = 0
60
61 # Kibana report on metrics
62 metrics.url.ac = http://jar-app-props-kibana-url-ac
63 metrics.url.mc = http://jar-app-props-kibana-url-mc