X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=example-apps%2FROBO%2Fretail_app%2Fconfig.py;fp=example-apps%2FROBO%2Fretail_app%2Fconfig.py;h=0000000000000000000000000000000000000000;hb=3ed2c61d9d7e7916481650c41bfe5604f7db22e9;hp=896e5a061d9032ab1915614e0fc469f22353451b;hpb=e6d40ddb2640f434a9d7d7ed99566e5e8fa60cc1;p=ealt-edge.git diff --git a/example-apps/ROBO/retail_app/config.py b/example-apps/ROBO/retail_app/config.py deleted file mode 100644 index 896e5a0..0000000 --- a/example-apps/ROBO/retail_app/config.py +++ /dev/null @@ -1,54 +0,0 @@ -# -# Copyright 2020 Huawei Technologies Co., Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -import os - -# [Server Configurations] -server_port = 9995 -# server_address = os.environ.get('LISTEN_IP') -server_address = "0.0.0.0" - -# [InfluxDB config] -IPADDRESS = os.environ.get('INFLUXDB_IP') -PORT = os.environ.get('INFLUXDB_PORT') -DATABASE_NAME = "Shelf_Inventry" - -# [SSL Configurations] -ssl_enabled = False -ssl_protocol = "TLSv1.2" -ssl_ciphers = ["TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", - "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", - "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", - "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"] -ssl_certfilepath = "/usr/app/ssl/server_tls.crt" -ssl_keyfilepath = "/usr/app/ssl/server_tls.key" -ssl_cacertpath = "/usr/app/ssl/ca.crt" -ssl_server_name = os.environ.get('SERVER_NAME', "ealtedge") - -# [Service Configurations] -api_gateway = os.environ.get("API_GATEWAY", "apigw.mep.org") -# Obj_Det_SER_IP = os.environ.get("OBJ_DET_SER_IP", "localhost") - -Obj_Det_SER_IP = os.environ.get("OBJ_DET_SER_IP") -# Obj_Det_SER_IP = os.environ.get("OBJ_DET_SER_IP") -Obj_Det_SER_PORT = os.environ.get("OBJ_DET_SER_PORT") -# Obj_Det_SER_PORT = os.environ.get("OBJ_DET_SER_PORT") -Obj_Det = os.environ.get("OBJ_DETECTION", "mep/v1/obj_detection") - -# [Constants] -# detection_url = "http://" + api_gateway + "/" + Obj_Det -detection_url = "http://" + Obj_Det_SER_IP + ":" + Obj_Det_SER_PORT + "/" + \ - Obj_Det + "/"