summaryrefslogtreecommitdiffstats
path: root/res/res/pub/config/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'res/res/pub/config/config.py')
-rw-r--r--res/res/pub/config/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/res/pub/config/config.py b/res/res/pub/config/config.py
index d314ef8..c7da90a 100644
--- a/res/res/pub/config/config.py
+++ b/res/res/pub/config/config.py
@@ -37,10 +37,16 @@ FORWARDED_FOR_FIELDS = ["HTTP_X_FORWARDED_FOR", "HTTP_X_FORWARDED_HOST",
# [register]
REG_TO_MSB_WHEN_START = True
+SSL_ENABLED = "true"
REG_TO_MSB_REG_URL = "/api/microservices/v1/services"
+if SSL_ENABLED == "true":
+ enable_ssl = "true"
+else:
+ enable_ssl = "false"
REG_TO_MSB_REG_PARAM = {
"serviceName": "vnfres",
"version": "v1",
+ "enable_ssl": enable_ssl,
"url": "/api/vnfres/v1",
"protocol": "REST",
"visualRange": "1",