Merge "Add Rest client that do not add any default headers"
[ccsdk/cds.git] / ms / blueprintsprocessor / modules / commons / rest-lib / src / main / kotlin / org / onap / ccsdk / cds / blueprintsprocessor / rest / BluePrintRestLibConfiguration.kt
index 25d1de8..526f208 100644 (file)
@@ -35,28 +35,29 @@ open class BluePrintRestLibConfiguration
  * Exposed Dependency Service by this Rest Lib Module
  */
 fun BluePrintDependencyService.restLibPropertyService(): BluePrintRestLibPropertyService =
-        instance(RestLibConstants.SERVICE_BLUEPRINT_REST_LIB_PROPERTY)
-
+    instance(RestLibConstants.SERVICE_BLUEPRINT_REST_LIB_PROPERTY)
 
 fun BluePrintDependencyService.restClientService(selector: String): BlueprintWebClientService {
     return restLibPropertyService().blueprintWebClientService(selector)
 }
 
-
 fun BluePrintDependencyService.restClientService(jsonNode: JsonNode): BlueprintWebClientService {
     return restLibPropertyService().blueprintWebClientService(jsonNode)
 }
 
-
 class RestLibConstants {
     companion object {
+
         const val SERVICE_BLUEPRINT_REST_LIB_PROPERTY = "blueprint-rest-lib-property-service"
+        const val PROPERTY_REST_CLIENT_PREFIX = "blueprintsprocessor.restclient."
+        const val PROPERTY_TYPE = "type"
+        const val TYPE_NO_DEF_HEADERS = "no-def-headers"
+        const val TYPE_SSL_NO_DEF_HEADERS = "ssl-no-def-headers"
         const val TYPE_TOKEN_AUTH = "token-auth"
         const val TYPE_BASIC_AUTH = "basic-auth"
         const val TYPE_SSL_BASIC_AUTH = "ssl-basic-auth"
         const val TYPE_SSL_TOKEN_AUTH = "ssl-token-auth"
         const val TYPE_SSL_NO_AUTH = "ssl-no-auth"
-        const val TYPE_DME2_PROXY = "dme2-proxy"
         const val TYPE_POLICY_MANAGER = "policy-manager"
     }
-}
\ No newline at end of file
+}