diff --git a/move2kube/m2k.sw.yml b/move2kube/m2k.sw.yml index 4e799a9c..cdaea09c 100644 --- a/move2kube/m2k.sw.yml +++ b/move2kube/m2k.sw.yml @@ -15,6 +15,7 @@ events: - name: saveTransformationEvent source: '' type: save-transformation + dataOnly: false functions: - name: systemOut type: custom @@ -103,7 +104,7 @@ states: nextState: WaitForSaveTransformationCompletionEvent produceEvents: - eventRef: saveTransformationEvent - data: '${{"gitRepo":".repositoryURL", "branch": ".targetBranch", "token": ".token", "workspaceId": ".workspaceId", "projectId": ".projectId", "transformId": ".transformId ", "workflowCallerId": "$WORKFLOW.instanceId"}}' + data: "{data: {gitRepo:.repositoryURL|sub(\"http(s)?://\";\"ssh://\"), branch: .targetBranch, token: .token, workspaceId: .workspaceId, projectId: .projectId, transformId: .transformId, workflowCallerId: $WORKFLOW.instanceId}, dataContentType:application-json}" - name: WaitForSaveTransformationCompletionEvent type: switch eventConditions: