1 # ==================================================================================
3 # Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # ==================================================================================
22 # xapp registration constants
23 SERVICE_HTTP = "SERVICE_{}_{}_HTTP_PORT"
24 SERVICE_RMR = "SERVICE_{}_{}_RMR_PORT"
25 CONFIG_PATH = "/ric/v1/config"
26 REGISTER_PATH = "http://service-{}-appmgr-http.{}:8080/ric/v1/register"
27 DEREGISTER_PATH = "http://service-{}-appmgr-http.{}:8080/ric/v1/deregister"
28 DEFAULT_PLT_NS = "ricplt"
29 DEFAULT_XAPP_NS = "ricxapp"
31 # message-type constants
32 RIC_HEALTH_CHECK_REQ = 100
33 RIC_HEALTH_CHECK_RESP = 101
35 # environment variable with path to configuration file
36 CONFIG_FILE_ENV = "CONFIG_FILE"