From f1b50b5475aae970dadfafb50997d7e41a112d7a Mon Sep 17 00:00:00 2001 From: gabriel-farache Date: Thu, 18 Jan 2024 16:30:48 +0100 Subject: [PATCH] Name consistently input params for m2k --- move2kube/m2k.sw.yml | 6 +++--- move2kube/schemas/input.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/move2kube/m2k.sw.yml b/move2kube/m2k.sw.yml index ae50e4ed..f3638417 100644 --- a/move2kube/m2k.sw.yml +++ b/move2kube/m2k.sw.yml @@ -88,7 +88,7 @@ states: type: operation actions: - name: create - condition: ((has("notifications_disabled") and .notifications_disabled != null and .notifications_disabled == true)|not) + condition: ((has("notificationsDisabled") and .notificationsDisabled != null and .notificationsDisabled == true)|not) functionRef: refName: createNotification arguments: @@ -150,7 +150,7 @@ states: - name: createNotification actions: - name: createNotification - condition: ((has("notifications_disabled") and .notifications_disabled != null and .notifications_disabled == true)|not) + condition: ((has("notificationsDisabled") and .notificationsDisabled != null and .notificationsDisabled == true)|not) functionRef: refName: createNotification arguments: @@ -172,7 +172,7 @@ states: - name: createNotification actions: - name: createNotification - condition: ((has("notifications_disabled") and .notifications_disabled != null and .notifications_disabled == true)|not) + condition: ((has("notificationsDisabled") and .notificationsDisabled != null and .notificationsDisabled == true)|not) functionRef: refName: createNotification arguments: diff --git a/move2kube/schemas/input.json b/move2kube/schemas/input.json index bceb7af3..7707a0ef 100644 --- a/move2kube/schemas/input.json +++ b/move2kube/schemas/input.json @@ -20,15 +20,15 @@ "description": "the branch to create in the repo", "type": "string" }, - "workspace-id": { + "workspaceId": { "description": "the ID of the Move2Kube workspace", "type": "string" }, - "project-id": { + "projectId": { "description": "the ID of the Move2Kube project", "type": "string" }, - "notifications_disabled": { + "notificationsDisabled": { "description": "If set to true, notification will NOT be sent to backstage", "type": "boolean", "default": false