Implementation of HTTPS support for VFC-vnfmgr project interface
[vfc/gvnfm/vnfmgr.git] / mgr / mgr / pub / config / config.py
index c67effd..8ac51d1 100644 (file)
@@ -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": "vnfmgr",
     "version": "v1",
+    "enable_ssl": enable_ssl,
     "url": "/api/vnfmgr/v1",
     "protocol": "REST",
     "visualRange": "1",