Port issue fixed
[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 = 8082
27 server.ssl.key-store-type = PKCS12
28 server.ssl.key-store-password = ericsson_kwdjfhw
29 server.ssl.key-store =  classpath:keystore.jks
30 server.ssl.key-password = ericsson_kwdjfhw
31 server.http.port = 8080
32
33
34
35 # path to file that stores user details;
36 # use a persistent volume in a K8S deployment
37 userfile = users.json
38
39 # boolean flag whether to enforce Portal user and roles on requests
40 portalapi.security = false
41 # class that decrypts ciphertext from Portal
42 portalapi.decryptor = org.oransc.portal.nonrtric.controlpanel.portalapi.PortalSdkDecryptorAes
43 # name of request cookie with user ID
44 portalapi.usercookie = UserId
45
46 # portal credentials must be supplied at deployment time
47 portalapi.appname = Non-RT RIC Control Panel
48 portalapi.username =
49 portalapi.password =
50
51 # endpoint URLs must be supplied at deployment time
52 # NOTE: change policycontroller.url.prefix to http://localhost:8081 when running
53 #       controlpanel locally (i.e., not inside the docker container)
54 # policycontroller.url.prefix = https://policy-agent-container:8433
55 policycontroller.url.prefix = http://policy-agent-container:8081
56
57 # Mimic slow endpoints by defining sleep period, in milliseconds
58 mock.config.delay = 0
59
60 # Kibana report on metrics
61 metrics.url.ac = http://jar-app-props-kibana-url-ac
62 metrics.url.mc = http://jar-app-props-kibana-url-mc