PatrikBuhr | a2bc79c | 2019-10-29 13:39:00 +0100 | [diff] [blame] | 1 | # ========================LICENSE_START================================= |
| 2 | # O-RAN-SC |
| 3 | # %% |
| 4 | # Copyright (C) 2019 AT&T Intellectual Property |
PatrikBuhr | 1bcbf00 | 2019-11-04 14:26:04 +0100 | [diff] [blame] | 5 | # Modifications Copyright (C) 2019 Nordix Foundation |
PatrikBuhr | a2bc79c | 2019-10-29 13:39:00 +0100 | [diff] [blame] | 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 | |
PatrikBuhr | 1bcbf00 | 2019-11-04 14:26:04 +0100 | [diff] [blame] | 20 | # Defines NonRT RIC Dashboard property keys and default values. |
PatrikBuhr | a2bc79c | 2019-10-29 13:39:00 +0100 | [diff] [blame] | 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 |
PatrikBuhr | 6e59d4a | 2019-11-06 13:31:57 +0100 | [diff] [blame] | 33 | portalapi.security = false |
PatrikBuhr | a2bc79c | 2019-10-29 13:39:00 +0100 | [diff] [blame] | 34 | # class that decrypts ciphertext from Portal |
| 35 | portalapi.decryptor = org.oransc.ric.portal.dashboard.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 = RIC Dashboard |
| 41 | portalapi.username = |
| 42 | portalapi.password = |
| 43 | |
| 44 | # endpoint URLs must be supplied at deployment time |
elinuxhenrik | b033eaf | 2020-02-03 16:02:21 +0100 | [diff] [blame^] | 45 | # NOTE: change policycontroller.url.prefix to http://localhost:8081 when running |
RehanRaza | 8606e97 | 2019-11-14 18:52:11 +0100 | [diff] [blame] | 46 | # dashboard locally (i.e., not inside the docker container) |
elinuxhenrik | b033eaf | 2020-02-03 16:02:21 +0100 | [diff] [blame^] | 47 | policycontroller.url.prefix = http://policy-agent-container:8081 |
| 48 | |
PatrikBuhr | 1bcbf00 | 2019-11-04 14:26:04 +0100 | [diff] [blame] | 49 | |
PatrikBuhr | a2bc79c | 2019-10-29 13:39:00 +0100 | [diff] [blame] | 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 |