From e6e067dabe0f60197335ec7989937fbec078cfcb Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Wed, 26 Sep 2018 15:18:55 +0530 Subject: Fix typos in strings Fix typos in strings. Change-Id: I8c5b1c0a9098a57ee8cd99ff85244f7e937cc2d8 Issue-ID: SO-689 Signed-off-by: subhash kumar singh --- .../infrastructure/scripts/ActivateSDNCNetworkResource.groovy | 4 ++-- .../bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy | 8 +++----- .../infrastructure/scripts/DeActivateSDNCNetworkResource.groovy | 6 ++---- .../bpmn/infrastructure/scripts/DeleteSDNCNetworkResource.groovy | 8 +++----- 4 files changed, 10 insertions(+), 16 deletions(-) (limited to 'bpmn/so-bpmn-infrastructure-common/src/main/groovy') diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/ActivateSDNCNetworkResource.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/ActivateSDNCNetworkResource.groovy index d0c7afccc3..3aef2044b8 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/ActivateSDNCNetworkResource.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/ActivateSDNCNetworkResource.groovy @@ -423,10 +423,10 @@ public class ActivateSDNCNetworkResource extends AbstractServiceTaskProcessor { execution.setVariable("sentSyncResponse", true) } catch (Exception ex) { - String msg = "Exceptuion in sendSyncResponse:" + ex.getMessage() + String msg = "Exception in sendSyncResponse:" + ex.getMessage() msoLogger.debug( msg) exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - msoLogger.dubug(" ***** Exit sendSyncResopnse *****") + msoLogger.dubug(" ***** Exit sendSyncResponse *****") } } \ No newline at end of file diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy index d57ae950dd..c97c2a7c9a 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSDNCNetworkResource.groovy @@ -150,8 +150,6 @@ public class CreateSDNCNetworkResource extends AbstractServiceTaskProcessor { execution.setVariable(Prefix + "serviceInstanceId", resourceInputObj.getServiceInstanceId()) execution.setVariable("mso-request-id", requestId) execution.setVariable("mso-service-instance-id", resourceInputObj.getServiceInstanceId()) - //TODO Here build networkrequest - } catch (BpmnError e) { throw e; } catch (Exception ex){ @@ -238,7 +236,7 @@ public class CreateSDNCNetworkResource extends AbstractServiceTaskProcessor { /** * Pre Process the BPMN Flow Request - * Inclouds: + * Includes: * generate the nsOperationKey * generate the nsParameters */ @@ -585,10 +583,10 @@ public class CreateSDNCNetworkResource extends AbstractServiceTaskProcessor { execution.setVariable("sentSyncResponse", true) } catch (Exception ex) { - String msg = "Exceptuion in sendSyncResponse:" + ex.getMessage() + String msg = "Exception in sendSyncResponse:" + ex.getMessage() msoLogger.debug(msg) exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - msoLogger.debug(" ***** Exit sendSyncResopnse *****") + msoLogger.debug(" ***** Exit sendSyncResponse *****") } } diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DeActivateSDNCNetworkResource.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DeActivateSDNCNetworkResource.groovy index 126e957848..4d0d6d261a 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DeActivateSDNCNetworkResource.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DeActivateSDNCNetworkResource.groovy @@ -121,8 +121,6 @@ public class DeActivateSDNCNetworkResource extends AbstractServiceTaskProcessor execution.setVariable(Prefix + "serviceInstanceId", resourceInputObj.getServiceInstanceId()) execution.setVariable("mso-request-id", requestId) execution.setVariable("mso-service-instance-id", resourceInputObj.getServiceInstanceId()) - //TODO Here build networkrequest - } catch (BpmnError e) { throw e; } catch (Exception ex){ @@ -397,11 +395,11 @@ public class DeActivateSDNCNetworkResource extends AbstractServiceTaskProcessor execution.setVariable("sentSyncResponse", true) } catch (Exception ex) { - String msg = "Exceptuion in sendSyncResponse:" + ex.getMessage() + String msg = "Exception in sendSyncResponse:" + ex.getMessage() msoLogger.debug(msg) exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - msoLogger("DEBUG"," ***** Exit sendSyncResopnse *****") + msoLogger.debug(" ***** Exit sendSyncResponse *****") } } \ No newline at end of file diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DeleteSDNCNetworkResource.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DeleteSDNCNetworkResource.groovy index af07e6d97f..ec23eefe2e 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DeleteSDNCNetworkResource.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DeleteSDNCNetworkResource.groovy @@ -142,8 +142,6 @@ public class DeleteSDNCNetworkResource extends AbstractServiceTaskProcessor { execution.setVariable(Prefix + "serviceInstanceId", resourceInputObj.getServiceInstanceId()) execution.setVariable("mso-request-id", requestId) execution.setVariable("mso-service-instance-id", resourceInputObj.getServiceInstanceId()) - //TODO Here build networkrequest - } catch (BpmnError e) { throw e; } catch (Exception ex){ @@ -155,7 +153,7 @@ public class DeleteSDNCNetworkResource extends AbstractServiceTaskProcessor { /** * Pre Process the BPMN Flow Request - * Inclouds: + * Includes: * generate the nsOperationKey * generate the nsParameters */ @@ -458,10 +456,10 @@ public class DeleteSDNCNetworkResource extends AbstractServiceTaskProcessor { execution.setVariable("sentSyncResponse", true) } catch (Exception ex) { - String msg = "Exceptuion in sendSyncResponse:" + ex.getMessage() + String msg = "Exception in sendSyncResponse:" + ex.getMessage() msoLogger.debug( msg) exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - msoLogger.debug(" ***** Exit sendSyncResopnse *****") + msoLogger.debug(" ***** Exit sendSyncResponse *****") } } -- cgit 1.2.3-korg