From 47457c8df7989df5aef5c27cd59a7a6a7349984c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=E1=BA=A7n=20V=C4=A9nh=20Thi=E1=BB=87n=20Ph=C3=BAc?= Date: Mon, 25 Nov 2024 11:46:08 +0700 Subject: [PATCH 1/9] MARP-1481 Convert to Ivy 12 --- mattermost-connector-demo/.classpath | 7 +- mattermost-connector-demo/.project | 8 ++- .../.settings/.jsdtscope | 12 ---- .../.settings/ch.ivyteam.ivy.designer.prefs | 5 +- .../.settings/org.eclipse.jdt.core.prefs | 6 +- .../org.eclipse.wst.common.component | 3 +- ....eclipse.wst.common.project.facet.core.xml | 6 +- ...rg.eclipse.wst.jsdt.ui.superType.container | 1 - .../org.eclipse.wst.jsdt.ui.superType.name | 1 - .../config/variables.yaml | 1 + .../mattermost/connector/demo/Data.d.json | 10 +++ .../mattermost/connector/demo/Data.ivyClass | 3 - .../MattermostConnectorWebhookDemoData.d.json | 15 ++++ ...attermostConnectorWebhookDemoData.ivyClass | 6 -- mattermost-connector-demo/pom.xml | 4 +- .../MattermostConnectorWebhookDemo.p.json | 37 ++++++---- .../TeamAbsences/TeamAbsences.rddescriptor | 7 -- .../demo/TeamAbsences/TeamAbsencesData.d.json | 11 +++ .../TeamAbsences/TeamAbsencesData.ivyClass | 4 -- .../TeamAbsences/TeamAbsencesProcess.p.json | 14 ++-- .../webContent/layouts/frame-10.xhtml | 2 +- mattermost-connector-notification/.classpath | 7 +- mattermost-connector-notification/.project | 8 ++- .../.settings/.jsdtscope | 12 ---- .../.settings/ch.ivyteam.ivy.designer.prefs | 5 +- .../.settings/org.eclipse.jdt.core.prefs | 6 +- .../org.eclipse.wst.common.component | 3 +- ....eclipse.wst.common.project.facet.core.xml | 6 +- ...rg.eclipse.wst.jsdt.ui.superType.container | 1 - .../org.eclipse.wst.jsdt.ui.superType.name | 1 - .../config/variables.yaml | 3 +- .../connector/notification/Data.d.json | 13 ++++ .../connector/notification/Data.ivyClass | 4 -- .../NotifyNewTaskToChanelData.d.json | 23 ++++++ .../NotifyNewTaskToChanelData.ivyClass | 10 --- .../notification/installerData.d.json | 6 ++ .../notification/installerData.ivyClass | 2 - mattermost-connector-notification/pom.xml | 4 +- .../processes/installer.p.json | 5 +- mattermost-connector-product/pom.xml | 2 +- mattermost-connector-test/.classpath | 7 +- mattermost-connector-test/.project | 8 ++- .../.settings/.jsdtscope | 12 ---- .../.settings/ch.ivyteam.ivy.designer.prefs | 5 +- .../.settings/org.eclipse.jdt.core.prefs | 6 +- .../org.eclipse.wst.common.component | 3 +- ....eclipse.wst.common.project.facet.core.xml | 6 +- ...rg.eclipse.wst.jsdt.ui.superType.container | 1 - .../org.eclipse.wst.jsdt.ui.superType.name | 1 - .../config/variables.yaml | 1 + .../connector/mattermost/test/Data.d.json | 6 ++ .../connector/mattermost/test/Data.ivyClass | 2 - mattermost-connector-test/pom.xml | 6 +- mattermost-connector/.classpath | 7 +- mattermost-connector/.project | 8 ++- mattermost-connector/.settings/.jsdtscope | 12 ---- .../.settings/ch.ivyteam.ivy.designer.prefs | 5 +- .../.settings/org.eclipse.jdt.core.prefs | 6 +- .../org.eclipse.wst.common.component | 3 +- ....eclipse.wst.common.project.facet.core.xml | 6 +- ...rg.eclipse.wst.jsdt.ui.superType.container | 1 - .../org.eclipse.wst.jsdt.ui.superType.name | 1 - mattermost-connector/config/variables.yaml | 7 +- .../mattermost/connector/ChannelData.d.json | 16 +++++ .../mattermost/connector/ChannelData.ivyClass | 5 -- .../mattermost/connector/Data.d.json | 13 ++++ .../mattermost/connector/Data.ivyClass | 4 -- .../connector/IncomingWebhookData.d.json | 19 +++++ .../connector/IncomingWebhookData.ivyClass | 6 -- .../mattermost/connector/TeamData.d.json | 16 +++++ .../mattermost/connector/TeamData.ivyClass | 5 -- mattermost-connector/pom.xml | 4 +- .../processes/connector/Channel.p.json | 50 ++++++++----- .../connector/IncomingWebhook.p.json | 70 +++++++++++-------- .../processes/connector/Team.p.json | 50 ++++++++----- pom.xml | 2 +- 76 files changed, 367 insertions(+), 297 deletions(-) delete mode 100644 mattermost-connector-demo/.settings/.jsdtscope delete mode 100644 mattermost-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container delete mode 100644 mattermost-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/Data.d.json delete mode 100644 mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/Data.ivyClass create mode 100644 mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/MattermostConnectorWebhookDemoData.d.json delete mode 100644 mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/MattermostConnectorWebhookDemoData.ivyClass delete mode 100644 mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsences.rddescriptor create mode 100644 mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesData.d.json delete mode 100644 mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesData.ivyClass delete mode 100644 mattermost-connector-notification/.settings/.jsdtscope delete mode 100644 mattermost-connector-notification/.settings/org.eclipse.wst.jsdt.ui.superType.container delete mode 100644 mattermost-connector-notification/.settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 mattermost-connector-notification/dataclasses/com/axonivy/connector/mattermost/connector/notification/Data.d.json delete mode 100644 mattermost-connector-notification/dataclasses/com/axonivy/connector/mattermost/connector/notification/Data.ivyClass create mode 100644 mattermost-connector-notification/dataclasses/com/axonivy/connector/mattermost/connector/notification/NotifyNewTaskToChanelData.d.json delete mode 100644 mattermost-connector-notification/dataclasses/com/axonivy/connector/mattermost/connector/notification/NotifyNewTaskToChanelData.ivyClass create mode 100644 mattermost-connector-notification/dataclasses/com/axonivy/connector/mattermost/connector/notification/installerData.d.json delete mode 100644 mattermost-connector-notification/dataclasses/com/axonivy/connector/mattermost/connector/notification/installerData.ivyClass delete mode 100644 mattermost-connector-test/.settings/.jsdtscope delete mode 100644 mattermost-connector-test/.settings/org.eclipse.wst.jsdt.ui.superType.container delete mode 100644 mattermost-connector-test/.settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 mattermost-connector-test/dataclasses/com/axonivy/connector/mattermost/test/Data.d.json delete mode 100644 mattermost-connector-test/dataclasses/com/axonivy/connector/mattermost/test/Data.ivyClass delete mode 100644 mattermost-connector/.settings/.jsdtscope delete mode 100644 mattermost-connector/.settings/org.eclipse.wst.jsdt.ui.superType.container delete mode 100644 mattermost-connector/.settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 mattermost-connector/dataclasses/com/axonivy/connector/mattermost/connector/ChannelData.d.json delete mode 100644 mattermost-connector/dataclasses/com/axonivy/connector/mattermost/connector/ChannelData.ivyClass create mode 100644 mattermost-connector/dataclasses/com/axonivy/connector/mattermost/connector/Data.d.json delete mode 100644 mattermost-connector/dataclasses/com/axonivy/connector/mattermost/connector/Data.ivyClass create mode 100644 mattermost-connector/dataclasses/com/axonivy/connector/mattermost/connector/IncomingWebhookData.d.json delete mode 100644 mattermost-connector/dataclasses/com/axonivy/connector/mattermost/connector/IncomingWebhookData.ivyClass create mode 100644 mattermost-connector/dataclasses/com/axonivy/connector/mattermost/connector/TeamData.d.json delete mode 100644 mattermost-connector/dataclasses/com/axonivy/connector/mattermost/connector/TeamData.ivyClass diff --git a/mattermost-connector-demo/.classpath b/mattermost-connector-demo/.classpath index 45a97e4..8228714 100644 --- a/mattermost-connector-demo/.classpath +++ b/mattermost-connector-demo/.classpath @@ -5,12 +5,7 @@ - - - - - - + diff --git a/mattermost-connector-demo/.project b/mattermost-connector-demo/.project index d9c1ede..8797e35 100644 --- a/mattermost-connector-demo/.project +++ b/mattermost-connector-demo/.project @@ -25,6 +25,11 @@ + + ch.ivyteam.ivy.dialog.form.build.ivyDialogFormBuilder + + + ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder @@ -44,6 +49,5 @@ org.eclipse.m2e.core.maven2Nature org.eclipse.jem.beaninfo.BeanInfoNature org.eclipse.wst.common.project.facet.core.nature - org.eclipse.wst.jsdt.core.jsNature - + \ No newline at end of file diff --git a/mattermost-connector-demo/.settings/.jsdtscope b/mattermost-connector-demo/.settings/.jsdtscope deleted file mode 100644 index 869c01d..0000000 --- a/mattermost-connector-demo/.settings/.jsdtscope +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/mattermost-connector-demo/.settings/ch.ivyteam.ivy.designer.prefs b/mattermost-connector-demo/.settings/ch.ivyteam.ivy.designer.prefs index 6b09b78..42748ab 100644 --- a/mattermost-connector-demo/.settings/ch.ivyteam.ivy.designer.prefs +++ b/mattermost-connector-demo/.settings/ch.ivyteam.ivy.designer.prefs @@ -1,5 +1,4 @@ -ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.connector.mattermost.connector.demo.Data ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.mattermost.connector.demo -ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11 -ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=100000 +ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=13 +ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120001 eclipse.preferences.version=1 diff --git a/mattermost-connector-demo/.settings/org.eclipse.jdt.core.prefs b/mattermost-connector-demo/.settings/org.eclipse.jdt.core.prefs index d4540a5..3a79233 100644 --- a/mattermost-connector-demo/.settings/org.eclipse.jdt.core.prefs +++ b/mattermost-connector-demo/.settings/org.eclipse.jdt.core.prefs @@ -1,10 +1,10 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 -org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=21 +org.eclipse.jdt.core.compiler.compliance=21 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=17 +org.eclipse.jdt.core.compiler.source=21 diff --git a/mattermost-connector-demo/.settings/org.eclipse.wst.common.component b/mattermost-connector-demo/.settings/org.eclipse.wst.common.component index 6956a1d..4318786 100644 --- a/mattermost-connector-demo/.settings/org.eclipse.wst.common.component +++ b/mattermost-connector-demo/.settings/org.eclipse.wst.common.component @@ -2,10 +2,9 @@ - - + \ No newline at end of file diff --git a/mattermost-connector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml b/mattermost-connector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml index 156ecdb..621b1f8 100644 --- a/mattermost-connector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml +++ b/mattermost-connector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -1,8 +1,6 @@ - - + - - + \ No newline at end of file diff --git a/mattermost-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container b/mattermost-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container deleted file mode 100644 index 3bd5d0a..0000000 --- a/mattermost-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/mattermost-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name b/mattermost-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name deleted file mode 100644 index 05bd71b..0000000 --- a/mattermost-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name +++ /dev/null @@ -1 +0,0 @@ -Window \ No newline at end of file diff --git a/mattermost-connector-demo/config/variables.yaml b/mattermost-connector-demo/config/variables.yaml index 64c8fa0..4448394 100644 --- a/mattermost-connector-demo/config/variables.yaml +++ b/mattermost-connector-demo/config/variables.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://json-schema.axonivy.com/app/12.0.0/variables.json # == Variables == # # You can define here your project Variables. diff --git a/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/Data.d.json b/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/Data.d.json new file mode 100644 index 0000000..a5d8f27 --- /dev/null +++ b/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/Data.d.json @@ -0,0 +1,10 @@ +{ + "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json", + "simpleName" : "Data", + "namespace" : "com.axonivy.connector.mattermost.connector.demo", + "isBusinessCaseData" : false, + "fields" : [ { + "name" : "result", + "type" : "List" + } ] +} \ No newline at end of file diff --git a/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/Data.ivyClass b/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/Data.ivyClass deleted file mode 100644 index ff2fe4b..0000000 --- a/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/Data.ivyClass +++ /dev/null @@ -1,3 +0,0 @@ -Data #class -com.axonivy.connector.mattermost.connector.demo #namespace -result List #field diff --git a/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/MattermostConnectorWebhookDemoData.d.json b/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/MattermostConnectorWebhookDemoData.d.json new file mode 100644 index 0000000..f5c80d8 --- /dev/null +++ b/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/MattermostConnectorWebhookDemoData.d.json @@ -0,0 +1,15 @@ +{ + "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json", + "simpleName" : "MattermostConnectorWebhookDemoData", + "namespace" : "com.axonivy.connector.mattermost.connector.demo", + "isBusinessCaseData" : false, + "fields" : [ { + "name" : "message", + "type" : "String", + "modifiers" : [ "PERSISTENT" ] + }, { + "name" : "channelId", + "type" : "String", + "modifiers" : [ "PERSISTENT" ] + } ] +} \ No newline at end of file diff --git a/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/MattermostConnectorWebhookDemoData.ivyClass b/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/MattermostConnectorWebhookDemoData.ivyClass deleted file mode 100644 index bbab647..0000000 --- a/mattermost-connector-demo/dataclasses/com/axonivy/connector/mattermost/connector/demo/MattermostConnectorWebhookDemoData.ivyClass +++ /dev/null @@ -1,6 +0,0 @@ -MattermostConnectorWebhookDemoData #class -com.axonivy.connector.mattermost.connector.demo #namespace -message String #field -message PERSISTENT #fieldModifier -channelId String #field -channelId PERSISTENT #fieldModifier diff --git a/mattermost-connector-demo/pom.xml b/mattermost-connector-demo/pom.xml index f25c774..7cdb40b 100644 --- a/mattermost-connector-demo/pom.xml +++ b/mattermost-connector-demo/pom.xml @@ -3,10 +3,10 @@ 4.0.0 com.axonivy.connector.mattermost mattermost-connector-demo - 10.0.22-SNAPSHOT + 12.0.0 iar - 10.0.16 + 12.0.0 diff --git a/mattermost-connector-demo/processes/MattermostConnectorWebhookDemo.p.json b/mattermost-connector-demo/processes/MattermostConnectorWebhookDemo.p.json index 984444c..f9ad465 100644 --- a/mattermost-connector-demo/processes/MattermostConnectorWebhookDemo.p.json +++ b/mattermost-connector-demo/processes/MattermostConnectorWebhookDemo.p.json @@ -1,5 +1,5 @@ { - "format" : "10.0.0", + "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json", "id" : "18F952928A1574A7", "config" : { "data" : "com.axonivy.connector.mattermost.connector.demo.MattermostConnectorWebhookDemoData" @@ -10,6 +10,7 @@ "name" : "Check Team Absences", "config" : { "signalCode" : "CheckTeamAbsences", + "attachToBusinessCase" : false, "output" : { "map" : { "out.channelId" : "signal.getSignalData() as String" @@ -18,15 +19,18 @@ "import com.axonivy.connector.mattermost.enums.CustomField;", "ivy.case.customFields().stringField(CustomField.CHANNEL_ID.getFieldName()).set(out.channelId);" ] - }, - "attachToBusinessCase" : "false", - "tags" : "demo" + } }, + "tags" : [ + "demo" + ], "visual" : { "at" : { "x" : 104, "y" : 112 }, "labelOffset" : { "x" : 17, "y" : -23 } }, - "connect" : { "id" : "f3", "to" : "f2" } + "connect" : [ + { "id" : "f3", "to" : "f2" } + ] }, { "id" : "f1", "type" : "TaskEnd", @@ -41,7 +45,7 @@ "task" : { "name" : "Check Team Absences", "responsible" : { - "role" : "Leader" + "activator" : "Leader" } } }, @@ -49,14 +53,15 @@ "at" : { "x" : 232, "y" : 112 }, "labelOffset" : { "x" : 14, "y" : 34 } }, - "connect" : { "id" : "f6", "to" : "f5" } + "connect" : [ + { "id" : "f6", "to" : "f5" } + ] }, { "id" : "f5", "type" : "DialogCall", "name" : "TeamAbsences", "config" : { - "dialogId" : "com.axonivy.connector.mattermost.connector.demo.TeamAbsences", - "startMethod" : "start()", + "dialog" : "com.axonivy.connector.mattermost.connector.demo.TeamAbsences:start()", "output" : { "map" : { "out" : "in", @@ -67,7 +72,9 @@ "visual" : { "at" : { "x" : 360, "y" : 112 } }, - "connect" : { "id" : "f17", "to" : "f16" } + "connect" : [ + { "id" : "f17", "to" : "f16" } + ] }, { "id" : "f7", "type" : "Script", @@ -85,7 +92,9 @@ "visual" : { "at" : { "x" : 648, "y" : 112 } }, - "connect" : { "id" : "f4", "to" : "f1" } + "connect" : [ + { "id" : "f4", "to" : "f1" } + ] }, { "id" : "f16", "type" : "TaskSwitchEvent", @@ -94,7 +103,7 @@ "task" : { "name" : "Send message to channel", "responsible" : { - "role" : "SYSTEM" + "activator" : "SYSTEM" } } }, @@ -102,6 +111,8 @@ "at" : { "x" : 504, "y" : 112 }, "labelOffset" : { "x" : 14, "y" : 34 } }, - "connect" : { "id" : "f8", "to" : "f7" } + "connect" : [ + { "id" : "f8", "to" : "f7" } + ] } ] } \ No newline at end of file diff --git a/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsences.rddescriptor b/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsences.rddescriptor deleted file mode 100644 index ae605f0..0000000 --- a/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsences.rddescriptor +++ /dev/null @@ -1,7 +0,0 @@ - - - - viewTechnology - JSF - - diff --git a/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesData.d.json b/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesData.d.json new file mode 100644 index 0000000..6efc421 --- /dev/null +++ b/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesData.d.json @@ -0,0 +1,11 @@ +{ + "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json", + "simpleName" : "TeamAbsencesData", + "namespace" : "com.axonivy.connector.mattermost.connector.demo.TeamAbsences", + "isBusinessCaseData" : false, + "fields" : [ { + "name" : "message", + "type" : "String", + "modifiers" : [ "PERSISTENT" ] + } ] +} \ No newline at end of file diff --git a/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesData.ivyClass b/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesData.ivyClass deleted file mode 100644 index 94dc11e..0000000 --- a/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesData.ivyClass +++ /dev/null @@ -1,4 +0,0 @@ -TeamAbsencesData #class -com.axonivy.connector.mattermost.connector.demo.TeamAbsences #namespace -message String #field -message PERSISTENT #fieldModifier diff --git a/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesProcess.p.json b/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesProcess.p.json index 54da30f..158c7a0 100644 --- a/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesProcess.p.json +++ b/mattermost-connector-demo/src_hd/com/axonivy/connector/mattermost/connector/demo/TeamAbsences/TeamAbsencesProcess.p.json @@ -1,5 +1,5 @@ { - "format" : "10.0.0", + "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json", "id" : "18F953D50A711458", "kind" : "HTML_DIALOG", "config" : { @@ -10,10 +10,10 @@ "type" : "HtmlDialogStart", "name" : "start()", "config" : { - "callSignature" : "start", + "signature" : "start", "result" : { "params" : [ - { "name" : "message", "type" : "String" } + { "name" : "message", "type" : "String", "desc" : "" } ], "map" : { "result.message" : "in.message" @@ -24,7 +24,9 @@ "visual" : { "at" : { "x" : 96, "y" : 64 } }, - "connect" : { "id" : "f2", "to" : "f1" } + "connect" : [ + { "id" : "f2", "to" : "f1" } + ] }, { "id" : "f1", "type" : "HtmlDialogEnd", @@ -41,7 +43,9 @@ "visual" : { "at" : { "x" : 96, "y" : 160 } }, - "connect" : { "id" : "f5", "to" : "f4" } + "connect" : [ + { "id" : "f5", "to" : "f4" } + ] }, { "id" : "f4", "type" : "HtmlDialogExit", diff --git a/mattermost-connector-demo/webContent/layouts/frame-10.xhtml b/mattermost-connector-demo/webContent/layouts/frame-10.xhtml index caee274..be8785d 100644 --- a/mattermost-connector-demo/webContent/layouts/frame-10.xhtml +++ b/mattermost-connector-demo/webContent/layouts/frame-10.xhtml @@ -32,7 +32,7 @@ and refence it below in the head part. - +