Implementation of HTTPS support for VFC-vnfres project interface
[vfc/gvnfm/vnfres.git] / res / res / pub / config / config.py
index d314ef8..c7da90a 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": "vnfres",
     "version": "v1",
+    "enable_ssl": enable_ssl,
     "url": "/api/vnfres/v1",
     "protocol": "REST",
     "visualRange": "1",