Renaming Files having BluePrint to have Blueprint
[ccsdk/cds.git] / components / model-catalog / blueprint-model / service-blueprint / vLB_CDS_RESTCONF / Scripts / kotlin / KotlinRestCall.kt
index d6f7e76..07168ce 100644 (file)
@@ -29,7 +29,7 @@ import org.springframework.http.HttpMethod
 import org.springframework.web.client.RestTemplate\r
 import com.fasterxml.jackson.annotation.JsonIgnore\r
 import com.fasterxml.jackson.annotation.JsonProperty\r
-import org.onap.ccsdk.cds.controllerblueprints.core.BluePrintProcessorException\r
+import org.onap.ccsdk.cds.controllerblueprints.core.BlueprintProcessorException\r
 \r
 open class ConfigDeploy : AbstractScriptComponentFunction() {\r
 \r
@@ -81,13 +81,13 @@ open class ConfigDeploy : AbstractScriptComponentFunction() {
             print(resultOfGet)\r
         } catch (e: Exception) {\r
             log.info("Caught exception trying to connect to vLB!!")\r
-            throw BluePrintProcessorException("${e.message}")\r
+            throw BlueprintProcessorException("${e.message}")\r
         }\r
     }\r
 \r
     override suspend fun recoverNB(runtimeException: RuntimeException, executionRequest: ExecutionServiceInput) {\r
         log.info("Executing Recovery")\r
-        bluePrintRuntimeService.getBluePrintError().addError("${runtimeException.message}")\r
+        bluePrintRuntimeService.getBlueprintError().addError("${runtimeException.message}")\r
     }\r
 }\r
 \r