diff --git a/adobe-acrobat-sign-connector-demo/.classpath b/adobe-acrobat-sign-connector-demo/.classpath
index 45a97e4..8228714 100644
--- a/adobe-acrobat-sign-connector-demo/.classpath
+++ b/adobe-acrobat-sign-connector-demo/.classpath
@@ -5,12 +5,7 @@
-
-
-
-
-
-
+
diff --git a/adobe-acrobat-sign-connector-demo/.project b/adobe-acrobat-sign-connector-demo/.project
index 6ebed12..f0a8284 100644
--- a/adobe-acrobat-sign-connector-demo/.project
+++ b/adobe-acrobat-sign-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/adobe-acrobat-sign-connector-demo/.settings/.jsdtscope b/adobe-acrobat-sign-connector-demo/.settings/.jsdtscope
deleted file mode 100644
index 869c01d..0000000
--- a/adobe-acrobat-sign-connector-demo/.settings/.jsdtscope
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/adobe-acrobat-sign-connector-demo/.settings/ch.ivyteam.ivy.designer.prefs b/adobe-acrobat-sign-connector-demo/.settings/ch.ivyteam.ivy.designer.prefs
index 45275d5..388f51b 100644
--- a/adobe-acrobat-sign-connector-demo/.settings/ch.ivyteam.ivy.designer.prefs
+++ b/adobe-acrobat-sign-connector-demo/.settings/ch.ivyteam.ivy.designer.prefs
@@ -1,5 +1,4 @@
-ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.connector.adobe.acrobat.sign.connector.demo.Data
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.adobe.acrobat.sign.connector.demo
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
-ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=100000
-eclipse.preferences.version=1
+ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120001
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.jdt.core.prefs b/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.jdt.core.prefs
index d4540a5..3a79233 100644
--- a/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.jdt.core.prefs
+++ b/adobe-acrobat-sign-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/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.common.component b/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.common.component
index cc5722b..70b66ae 100644
--- a/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.common.component
+++ b/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.common.component
@@ -1,29 +1,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml b/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml
index 156ecdb..621b1f8 100644
--- a/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml
+++ b/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -1,8 +1,6 @@
-
-
+
-
-
+
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container b/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container
deleted file mode 100644
index 3bd5d0a..0000000
--- a/adobe-acrobat-sign-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/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name b/adobe-acrobat-sign-connector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name
deleted file mode 100644
index 05bd71b..0000000
--- a/adobe-acrobat-sign-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/adobe-acrobat-sign-connector-demo/config/variables.yaml b/adobe-acrobat-sign-connector-demo/config/variables.yaml
index f33043b..41a117c 100644
--- a/adobe-acrobat-sign-connector-demo/config/variables.yaml
+++ b/adobe-acrobat-sign-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.
@@ -9,11 +10,13 @@ Variables:
adobe-acrobat-sign-connector:
host: api.eu2.adobesign.com
returnPage: /designer/page/adobe-acrobat-sign-connector$1/signatureReturn.jsp
- baseUri: https://api.eu2.adobesign.com/oauth/v2
+ baseUri: https://api.eu2.adobesign.com/oauth/v2
authenticationUri: https://secure.eu2.adobesign.com/public/oauth/v2
clientId: ''
clientSecret: ''
- permissions: user_read:account user_write:account user_login:account agreement_read:account agreement_write:account agreement_send:account widget_read:account widget_write:account library_read:account library_write:account workflow_read:account workflow_write:account
+ permissions: user_read:account user_write:account user_login:account agreement_read:account
+ agreement_write:account agreement_send:account widget_read:account widget_write:account
+ library_read:account library_write:account workflow_read:account workflow_write:account
oauthToken: default-value
accessToken: default-value
integrationKey: ''
diff --git a/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Data.d.json b/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Data.d.json
new file mode 100644
index 0000000..37c956b
--- /dev/null
+++ b/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Data.d.json
@@ -0,0 +1,6 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "Data",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector.demo",
+ "isBusinessCaseData" : false
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Data.ivyClass b/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Data.ivyClass
deleted file mode 100644
index 71b7986..0000000
--- a/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Data.ivyClass
+++ /dev/null
@@ -1,2 +0,0 @@
-Data #class
-com.axonivy.connector.adobe.acrobat.sign.connector.demo #namespace
diff --git a/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/DemoData.d.json b/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/DemoData.d.json
new file mode 100644
index 0000000..c3af64f
--- /dev/null
+++ b/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/DemoData.d.json
@@ -0,0 +1,19 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "DemoData",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector.demo",
+ "isBusinessCaseData" : false,
+ "fields" : [ {
+ "name" : "file",
+ "type" : "java.io.File"
+ }, {
+ "name" : "fileId",
+ "type" : "String"
+ }, {
+ "name" : "agreementId",
+ "type" : "String"
+ }, {
+ "name" : "error",
+ "type" : "ch.ivyteam.ivy.bpm.error.BpmError"
+ } ]
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/DemoData.ivyClass b/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/DemoData.ivyClass
deleted file mode 100644
index 0f6cd86..0000000
--- a/adobe-acrobat-sign-connector-demo/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/demo/DemoData.ivyClass
+++ /dev/null
@@ -1,6 +0,0 @@
-DemoData #class
-com.axonivy.connector.adobe.acrobat.sign.connector.demo #namespace
-file java.io.File #field
-fileId String #field
-agreementId String #field
-error ch.ivyteam.ivy.bpm.error.BpmError #field
diff --git a/adobe-acrobat-sign-connector-demo/processes/Demo.p.json b/adobe-acrobat-sign-connector-demo/processes/Demo.p.json
index 38d9d8b..c94d782 100644
--- a/adobe-acrobat-sign-connector-demo/processes/Demo.p.json
+++ b/adobe-acrobat-sign-connector-demo/processes/Demo.p.json
@@ -1,5 +1,5 @@
{
- "format" : "10.0.0",
+ "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "18822E284E99FC6E",
"config" : {
"data" : "com.axonivy.connector.adobe.acrobat.sign.connector.demo.DemoData"
@@ -9,26 +9,30 @@
"type" : "RequestStart",
"name" : "demo.ivp",
"config" : {
- "callSignature" : "demo",
- "outLink" : "demo.ivp",
- "startName" : "<%=ivy.cms.co(\"/Dialogs/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/Demo\")%>"
+ "signature" : "demo",
+ "request" : {
+ "name" : "<%=ivy.cms.co(\"/Dialogs/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/Demo\")%>"
+ }
},
"visual" : {
"at" : { "x" : 96, "y" : 592 }
},
- "connect" : { "id" : "f33", "to" : "f32" }
+ "connect" : [
+ { "id" : "f33", "to" : "f32" }
+ ]
}, {
"id" : "f32",
"type" : "DialogCall",
"name" : "Demo",
"config" : {
- "dialogId" : "com.axonivy.connector.adobe.acrobat.sign.connector.demo.Demo",
- "startMethod" : "start()"
+ "dialog" : "com.axonivy.connector.adobe.acrobat.sign.connector.demo.Demo:start()"
},
"visual" : {
"at" : { "x" : 288, "y" : 592 }
},
- "connect" : { "id" : "f35", "to" : "f34" }
+ "connect" : [
+ { "id" : "f35", "to" : "f34" }
+ ]
}, {
"id" : "f34",
"type" : "TaskEnd",
diff --git a/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/Demo.rddescriptor b/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/Demo.rddescriptor
deleted file mode 100644
index ae605f0..0000000
--- a/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/Demo.rddescriptor
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- viewTechnology
- JSF
-
-
diff --git a/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoData.d.json b/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoData.d.json
new file mode 100644
index 0000000..10db64e
--- /dev/null
+++ b/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoData.d.json
@@ -0,0 +1,59 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "DemoData",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector.demo.Demo",
+ "isBusinessCaseData" : false,
+ "fields" : [ {
+ "name" : "file",
+ "type" : "File",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "documentId",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "agreementId",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "signingURI",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "signer1",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "signer2",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "authoringURI",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "documents",
+ "type" : "api.rest.v6.client.AgreementDocuments",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "documentContent",
+ "type" : "org.primefaces.model.StreamedContent",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "download",
+ "type" : "com.axonivy.connector.adobe.acrobat.sign.connector.rest.DownloadResult",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "filename",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "documentIds",
+ "type" : "java.util.List",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "files",
+ "type" : "java.util.List",
+ "modifiers" : [ "PERSISTENT" ]
+ } ]
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoData.ivyClass b/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoData.ivyClass
deleted file mode 100644
index ad692d0..0000000
--- a/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoData.ivyClass
+++ /dev/null
@@ -1,28 +0,0 @@
-DemoData #class
-com.axonivy.connector.adobe.acrobat.sign.connector.demo.Demo #namespace
-file File #field
-file PERSISTENT #fieldModifier
-documentId String #field
-documentId PERSISTENT #fieldModifier
-agreementId String #field
-agreementId PERSISTENT #fieldModifier
-signingURI String #field
-signingURI PERSISTENT #fieldModifier
-signer1 String #field
-signer1 PERSISTENT #fieldModifier
-signer2 String #field
-signer2 PERSISTENT #fieldModifier
-authoringURI String #field
-authoringURI PERSISTENT #fieldModifier
-documents api.rest.v6.client.AgreementDocuments #field
-documents PERSISTENT #fieldModifier
-documentContent org.primefaces.model.StreamedContent #field
-documentContent PERSISTENT #fieldModifier
-download com.axonivy.connector.adobe.acrobat.sign.connector.rest.DownloadResult #field
-download PERSISTENT #fieldModifier
-filename String #field
-filename PERSISTENT #fieldModifier
-documentIds java.util.List #field
-documentIds PERSISTENT #fieldModifier
-files java.util.List #field
-files PERSISTENT #fieldModifier
diff --git a/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoProcess.p.json b/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoProcess.p.json
index 9b89da7..018796e 100644
--- a/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoProcess.p.json
+++ b/adobe-acrobat-sign-connector-demo/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/demo/Demo/DemoProcess.p.json
@@ -1,5 +1,5 @@
{
- "format" : "10.0.0",
+ "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "1886B1A625EA901A",
"kind" : "HTML_DIALOG",
"config" : {
@@ -10,13 +10,15 @@
"type" : "HtmlDialogStart",
"name" : "start()",
"config" : {
- "callSignature" : "start",
+ "signature" : "start",
"guid" : "1886B1A62614A9F5"
},
"visual" : {
"at" : { "x" : 96, "y" : 64 }
},
- "connect" : { "id" : "f2", "to" : "f1" }
+ "connect" : [
+ { "id" : "f2", "to" : "f1" }
+ ]
}, {
"id" : "f1",
"type" : "HtmlDialogEnd",
@@ -33,7 +35,9 @@
"visual" : {
"at" : { "x" : 96, "y" : 160 }
},
- "connect" : { "id" : "f5", "to" : "f4" }
+ "connect" : [
+ { "id" : "f5", "to" : "f4" }
+ ]
}, {
"id" : "f4",
"type" : "HtmlDialogExit",
@@ -50,7 +54,9 @@
"visual" : {
"at" : { "x" : 96, "y" : 248 }
},
- "connect" : { "id" : "f51", "to" : "f11" }
+ "connect" : [
+ { "id" : "f51", "to" : "f11" }
+ ]
}, {
"id" : "f7",
"type" : "HtmlDialogEnd",
@@ -63,52 +69,50 @@
"name" : "upload documents",
"config" : {
"processCall" : "connector/TransientDocuments:uploadDocuments(java.util.List)",
- "output" : {
+ "call" : {
"map" : {
- "out" : "in",
- "out.documentIds" : "result.ids"
+ "param.files" : "in.files"
}
},
- "call" : {
- "params" : [
- { "name" : "files", "type" : "java.util.List" }
- ],
+ "output" : {
"map" : {
- "param.files" : "in.files"
+ "out" : "in",
+ "out.documentIds" : "result.ids"
}
}
},
"visual" : {
"at" : { "x" : 384, "y" : 248 }
},
- "connect" : { "id" : "f14", "to" : "f13" }
+ "connect" : [
+ { "id" : "f14", "to" : "f13" }
+ ]
}, {
"id" : "f13",
"type" : "SubProcessCall",
"name" : "create agreement",
"config" : {
"processCall" : "connector/Agreements:createAgreement(api.rest.v6.client.AgreementCreationInfo)",
- "output" : {
- "map" : {
- "out" : "in",
- "out.agreementId" : "result.agreementInfo.id"
- }
- },
"call" : {
- "params" : [
- { "name" : "agreement", "type" : "api.rest.v6.client.AgreementCreationInfo" }
- ],
"map" : {
"param.agreement" : "com.axonivy.connector.adobe.acrobat.sign.connector.service.AdobeSignService.getInstance().buildSimpleAgreementWithFormFields(\"1SignerDemo\", in.documentIds, in.signer1, null)",
"param.agreement.senderSigns" : "api.rest.v6.client.AgreementCreationInfo.SenderSignsEnum.NEVER",
"param.agreement.signatureType" : "api.rest.v6.client.AgreementCreationInfo.SignatureTypeEnum.ESIGN"
}
+ },
+ "output" : {
+ "map" : {
+ "out" : "in",
+ "out.agreementId" : "result.agreementInfo.id"
+ }
}
},
"visual" : {
"at" : { "x" : 552, "y" : 248 }
},
- "connect" : { "id" : "f39", "to" : "f38" }
+ "connect" : [
+ { "id" : "f39", "to" : "f38" }
+ ]
}, {
"id" : "f15",
"type" : "HtmlDialogEventStart",
@@ -119,7 +123,9 @@
"visual" : {
"at" : { "x" : 96, "y" : 504 }
},
- "connect" : { "id" : "f19", "to" : "f18" }
+ "connect" : [
+ { "id" : "f19", "to" : "f18" }
+ ]
}, {
"id" : "f16",
"type" : "HtmlDialogEnd",
@@ -133,10 +139,6 @@
"config" : {
"processCall" : "connector/Agreements:getSigningURLs(String,String)",
"call" : {
- "params" : [
- { "name" : "agreementId", "type" : "String" },
- { "name" : "frameParent", "type" : "String" }
- ],
"map" : {
"param.agreementId" : "in.agreementId",
"param.frameParent" : "ivy.html.applicationHomeRef()"
@@ -149,7 +151,9 @@
"visual" : {
"at" : { "x" : 224, "y" : 504 }
},
- "connect" : { "id" : "f17", "to" : "f16" }
+ "connect" : [
+ { "id" : "f17", "to" : "f16" }
+ ]
}, {
"id" : "f20",
"type" : "HtmlDialogEventStart",
@@ -160,79 +164,79 @@
"visual" : {
"at" : { "x" : 96, "y" : 344 }
},
- "connect" : { "id" : "f9", "to" : "f23" }
+ "connect" : [
+ { "id" : "f9", "to" : "f23" }
+ ]
}, {
"id" : "f23",
"type" : "SubProcessCall",
"name" : "upload document",
"config" : {
"processCall" : "connector/TransientDocuments:uploadDocuments(java.util.List)",
- "output" : {
+ "call" : {
"map" : {
- "out" : "in",
- "out.documentIds" : "result.ids"
+ "param.files" : "in.files"
}
},
- "call" : {
- "params" : [
- { "name" : "files", "type" : "java.util.List" }
- ],
+ "output" : {
"map" : {
- "param.files" : "in.files"
+ "out" : "in",
+ "out.documentIds" : "result.ids"
}
}
},
"visual" : {
"at" : { "x" : 384, "y" : 344 }
},
- "connect" : { "id" : "f48", "to" : "f47" }
+ "connect" : [
+ { "id" : "f48", "to" : "f47" }
+ ]
}, {
"id" : "f38",
"type" : "SubProcessCall",
"name" : "get documents",
"config" : {
"processCall" : "connector/Agreements:getDocuments(String)",
- "output" : {
+ "call" : {
"map" : {
- "out" : "in",
- "out.documents" : "result.documents"
+ "param.agreementId" : "in.agreementId"
}
},
- "call" : {
- "params" : [
- { "name" : "agreementId", "type" : "String" }
- ],
+ "output" : {
"map" : {
- "param.agreementId" : "in.agreementId"
+ "out" : "in",
+ "out.documents" : "result.documents"
}
}
},
"visual" : {
"at" : { "x" : 792, "y" : 248 }
},
- "connect" : { "id" : "f10", "to" : "f7" }
+ "connect" : [
+ { "id" : "f10", "to" : "f7" }
+ ]
}, {
"id" : "f40",
"type" : "HtmlDialogMethodStart",
"name" : "downloadDocument(String,String)",
"config" : {
- "callSignature" : "downloadDocument",
- "result" : {
+ "signature" : "downloadDocument",
+ "input" : {
"params" : [
- { "name" : "file", "type" : "org.primefaces.model.StreamedContent" }
+ { "name" : "documentId", "type" : "String", "desc" : "" },
+ { "name" : "filename", "type" : "String", "desc" : "" }
],
"map" : {
- "result.file" : "in.documentContent"
+ "out.documentId" : "param.documentId",
+ "out.filename" : "param.filename"
}
},
- "input" : {
+ "result" : {
"params" : [
- { "name" : "documentId", "type" : "String" },
- { "name" : "filename", "type" : "String" }
+ { "name" : "file", "type" : "org.primefaces.model.StreamedContent", "desc" : "" }
],
"map" : {
- "out.documentId" : "param.documentId",
- "out.filename" : "param.filename"
+ "result.file" : "in.documentContent"
}
},
"guid" : "188B93A5550422ED"
@@ -240,7 +244,9 @@
"visual" : {
"at" : { "x" : 96, "y" : 592 }
},
- "connect" : { "id" : "f44", "to" : "f43" }
+ "connect" : [
+ { "id" : "f44", "to" : "f43" }
+ ]
}, {
"id" : "f41",
"type" : "HtmlDialogEnd",
@@ -254,12 +260,6 @@
"config" : {
"processCall" : "connector/Agreements:dowloadDocument(String,String,String,Boolean)",
"call" : {
- "params" : [
- { "name" : "agreementId", "type" : "String" },
- { "name" : "documentId", "type" : "String" },
- { "name" : "filename", "type" : "String" },
- { "name" : "asFile", "type" : "Boolean" }
- ],
"map" : {
"param.agreementId" : "in.agreementId",
"param.documentId" : "in.documentId",
@@ -277,7 +277,9 @@
"visual" : {
"at" : { "x" : 224, "y" : 592 }
},
- "connect" : { "id" : "f42", "to" : "f41" }
+ "connect" : [
+ { "id" : "f42", "to" : "f41" }
+ ]
}, {
"id" : "f45",
"type" : "HtmlDialogEventStart",
@@ -288,32 +290,33 @@
"visual" : {
"at" : { "x" : 664, "y" : 144 }
},
- "connect" : { "id" : "f46", "to" : "f38" }
+ "connect" : [
+ { "id" : "f46", "to" : "f38" }
+ ]
}, {
"id" : "f47",
"type" : "SubProcessCall",
"name" : "create agreement",
"config" : {
"processCall" : "connector/Agreements:createAgreement(api.rest.v6.client.AgreementCreationInfo)",
- "output" : {
+ "call" : {
"map" : {
- "out" : "in",
- "out.agreementId" : "result.agreementInfo.id"
+ "param.agreement" : "com.axonivy.connector.adobe.acrobat.sign.connector.service.AdobeSignService.getInstance().buildSimpleAgreementFor2SignerGroups(\"2SignerDemo\", in.documentIds, [in.signer1], [in.signer2])"
}
},
- "call" : {
- "params" : [
- { "name" : "agreement", "type" : "api.rest.v6.client.AgreementCreationInfo" }
- ],
+ "output" : {
"map" : {
- "param.agreement" : "com.axonivy.connector.adobe.acrobat.sign.connector.service.AdobeSignService.getInstance().buildSimpleAgreementFor2SignerGroups(\"2SignerDemo\", in.documentIds, [in.signer1], [in.signer2])"
+ "out" : "in",
+ "out.agreementId" : "result.agreementInfo.id"
}
}
},
"visual" : {
"at" : { "x" : 552, "y" : 344 }
},
- "connect" : { "id" : "f33", "to" : "f38" }
+ "connect" : [
+ { "id" : "f33", "to" : "f38" }
+ ]
}, {
"id" : "f21",
"type" : "HtmlDialogEventStart",
@@ -324,7 +327,9 @@
"visual" : {
"at" : { "x" : 424, "y" : 504 }
},
- "connect" : { "id" : "f26", "to" : "f25" }
+ "connect" : [
+ { "id" : "f26", "to" : "f25" }
+ ]
}, {
"id" : "f24",
"type" : "HtmlDialogEnd",
@@ -338,10 +343,6 @@
"config" : {
"processCall" : "connector/Agreements:getSigningURLs(String,String)",
"call" : {
- "params" : [
- { "name" : "agreementId", "type" : "String" },
- { "name" : "frameParent", "type" : "String" }
- ],
"map" : {
"param.agreementId" : "in.agreementId",
"param.frameParent" : "ivy.html.applicationHomeRef()"
@@ -354,17 +355,20 @@
"visual" : {
"at" : { "x" : 552, "y" : 504 }
},
- "connect" : { "id" : "f29", "to" : "f24" }
+ "connect" : [
+ { "id" : "f29", "to" : "f24" }
+ ]
}, {
"id" : "f27",
"type" : "HtmlDialogMethodStart",
"name" : "handleFilesUpload(FilesUploadEvent)",
"config" : {
- "callSignature" : "handleFilesUpload",
+ "signature" : "handleFilesUpload",
"input" : {
"params" : [
- { "name" : "event", "type" : "org.primefaces.event.FilesUploadEvent" }
+ { "name" : "event", "type" : "org.primefaces.event.FilesUploadEvent", "desc" : "" }
],
+ "map" : { },
"code" : [
"import org.primefaces.model.file.UploadedFile;",
" ",
@@ -381,7 +385,9 @@
"visual" : {
"at" : { "x" : 96, "y" : 776 }
},
- "connect" : { "id" : "f36", "to" : "f30" }
+ "connect" : [
+ { "id" : "f36", "to" : "f30" }
+ ]
}, {
"id" : "f30",
"type" : "HtmlDialogEnd",
@@ -393,11 +399,12 @@
"type" : "HtmlDialogMethodStart",
"name" : "deleteFile(File)",
"config" : {
- "callSignature" : "deleteFile",
+ "signature" : "deleteFile",
"input" : {
"params" : [
- { "name" : "file", "type" : "java.io.File" }
+ { "name" : "file", "type" : "java.io.File", "desc" : "" }
],
+ "map" : { },
"code" : "out.files.remove(param.file);"
},
"guid" : "18B7119BB46F06C5"
@@ -405,7 +412,9 @@
"visual" : {
"at" : { "x" : 96, "y" : 856 }
},
- "connect" : { "id" : "f50", "to" : "f49" }
+ "connect" : [
+ { "id" : "f50", "to" : "f49" }
+ ]
}, {
"id" : "f49",
"type" : "HtmlDialogEnd",
@@ -425,11 +434,6 @@
"config" : {
"processCall" : "connector/Agreements:dowloadCombinedDocument(String,Boolean,String)",
"call" : {
- "params" : [
- { "name" : "agreementId", "type" : "String" },
- { "name" : "asFile", "type" : "Boolean" },
- { "name" : "filename", "type" : "String" }
- ],
"map" : {
"param.agreementId" : "in.agreementId",
"param.asFile" : "true",
@@ -446,31 +450,35 @@
"visual" : {
"at" : { "x" : 224, "y" : 688 }
},
- "connect" : { "id" : "f52", "to" : "f34" }
+ "connect" : [
+ { "id" : "f52", "to" : "f34" }
+ ]
}, {
"id" : "f8",
"type" : "HtmlDialogMethodStart",
"name" : "downloadCombinedDocument()",
"config" : {
- "callSignature" : "downloadCombinedDocument",
+ "signature" : "downloadCombinedDocument",
+ "input" : {
+ "map" : {
+ "out.filename" : "\"combined.pdf\""
+ }
+ },
"result" : {
"params" : [
- { "name" : "file", "type" : "org.primefaces.model.StreamedContent" }
+ { "name" : "file", "type" : "org.primefaces.model.StreamedContent", "desc" : "" }
],
"map" : {
"result.file" : "in.documentContent"
}
},
- "input" : {
- "map" : {
- "out.filename" : "\"combined.pdf\""
- }
- },
"guid" : "18B809A45A478B92"
},
"visual" : {
"at" : { "x" : 96, "y" : 688 }
},
- "connect" : { "id" : "f12", "to" : "f35" }
+ "connect" : [
+ { "id" : "f12", "to" : "f35" }
+ ]
} ]
}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-test/.classpath b/adobe-acrobat-sign-connector-test/.classpath
index e938886..a7c4476 100644
--- a/adobe-acrobat-sign-connector-test/.classpath
+++ b/adobe-acrobat-sign-connector-test/.classpath
@@ -5,12 +5,7 @@
-
-
-
-
-
-
+
diff --git a/adobe-acrobat-sign-connector-test/.project b/adobe-acrobat-sign-connector-test/.project
index 51c27ff..eff4a5e 100644
--- a/adobe-acrobat-sign-connector-test/.project
+++ b/adobe-acrobat-sign-connector-test/.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/adobe-acrobat-sign-connector-test/.settings/.jsdtscope b/adobe-acrobat-sign-connector-test/.settings/.jsdtscope
deleted file mode 100644
index 869c01d..0000000
--- a/adobe-acrobat-sign-connector-test/.settings/.jsdtscope
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/adobe-acrobat-sign-connector-test/.settings/ch.ivyteam.ivy.designer.prefs b/adobe-acrobat-sign-connector-test/.settings/ch.ivyteam.ivy.designer.prefs
index 8463064..064253d 100644
--- a/adobe-acrobat-sign-connector-test/.settings/ch.ivyteam.ivy.designer.prefs
+++ b/adobe-acrobat-sign-connector-test/.settings/ch.ivyteam.ivy.designer.prefs
@@ -1,5 +1,4 @@
-ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.connector.adobe.test.Data
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.adobe.test
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
-ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=100000
-eclipse.preferences.version=1
+ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120001
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-test/.settings/org.eclipse.jdt.core.prefs b/adobe-acrobat-sign-connector-test/.settings/org.eclipse.jdt.core.prefs
index d4540a5..3a79233 100644
--- a/adobe-acrobat-sign-connector-test/.settings/org.eclipse.jdt.core.prefs
+++ b/adobe-acrobat-sign-connector-test/.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/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.common.component b/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.common.component
index e7bf40c..c65c176 100644
--- a/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.common.component
+++ b/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.common.component
@@ -1,32 +1,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.common.project.facet.core.xml b/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.common.project.facet.core.xml
index 156ecdb..621b1f8 100644
--- a/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.common.project.facet.core.xml
+++ b/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -1,8 +1,6 @@
-
-
+
-
-
+
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.jsdt.ui.superType.container b/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.jsdt.ui.superType.container
deleted file mode 100644
index 3bd5d0a..0000000
--- a/adobe-acrobat-sign-connector-test/.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/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.jsdt.ui.superType.name b/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.jsdt.ui.superType.name
deleted file mode 100644
index 05bd71b..0000000
--- a/adobe-acrobat-sign-connector-test/.settings/org.eclipse.wst.jsdt.ui.superType.name
+++ /dev/null
@@ -1 +0,0 @@
-Window
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-test/config/variables.yaml b/adobe-acrobat-sign-connector-test/config/variables.yaml
index 64c8fa0..4448394 100644
--- a/adobe-acrobat-sign-connector-test/config/variables.yaml
+++ b/adobe-acrobat-sign-connector-test/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/adobe-acrobat-sign-connector-test/dataclasses/com/axonivy/connector/adobe/test/Data.d.json b/adobe-acrobat-sign-connector-test/dataclasses/com/axonivy/connector/adobe/test/Data.d.json
new file mode 100644
index 0000000..0342db7
--- /dev/null
+++ b/adobe-acrobat-sign-connector-test/dataclasses/com/axonivy/connector/adobe/test/Data.d.json
@@ -0,0 +1,6 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "Data",
+ "namespace" : "com.axonivy.connector.adobe.test",
+ "isBusinessCaseData" : false
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector-test/dataclasses/com/axonivy/connector/adobe/test/Data.ivyClass b/adobe-acrobat-sign-connector-test/dataclasses/com/axonivy/connector/adobe/test/Data.ivyClass
deleted file mode 100644
index e3e19a5..0000000
--- a/adobe-acrobat-sign-connector-test/dataclasses/com/axonivy/connector/adobe/test/Data.ivyClass
+++ /dev/null
@@ -1,2 +0,0 @@
-Data #class
-com.axonivy.connector.adobe.test #namespace
diff --git a/adobe-acrobat-sign-connector/.classpath b/adobe-acrobat-sign-connector/.classpath
index 70ef051..38f0a90 100644
--- a/adobe-acrobat-sign-connector/.classpath
+++ b/adobe-acrobat-sign-connector/.classpath
@@ -5,12 +5,7 @@
-
-
-
-
-
-
+
diff --git a/adobe-acrobat-sign-connector/.project b/adobe-acrobat-sign-connector/.project
index f276bdd..e59fb34 100644
--- a/adobe-acrobat-sign-connector/.project
+++ b/adobe-acrobat-sign-connector/.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/adobe-acrobat-sign-connector/.settings/.jsdtscope b/adobe-acrobat-sign-connector/.settings/.jsdtscope
deleted file mode 100644
index 869c01d..0000000
--- a/adobe-acrobat-sign-connector/.settings/.jsdtscope
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/adobe-acrobat-sign-connector/.settings/ch.ivyteam.ivy.designer.prefs b/adobe-acrobat-sign-connector/.settings/ch.ivyteam.ivy.designer.prefs
index 940031f..1f290f7 100644
--- a/adobe-acrobat-sign-connector/.settings/ch.ivyteam.ivy.designer.prefs
+++ b/adobe-acrobat-sign-connector/.settings/ch.ivyteam.ivy.designer.prefs
@@ -1,5 +1,4 @@
-ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.connector.adobe.acrobat.sign.connector.Data
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.adobe.acrobat.sign.connector
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
-ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=100000
-eclipse.preferences.version=1
+ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120001
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/.settings/org.eclipse.jdt.core.prefs b/adobe-acrobat-sign-connector/.settings/org.eclipse.jdt.core.prefs
index d4540a5..3a79233 100644
--- a/adobe-acrobat-sign-connector/.settings/org.eclipse.jdt.core.prefs
+++ b/adobe-acrobat-sign-connector/.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/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.common.component b/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.common.component
index aec07f0..60356a6 100644
--- a/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.common.component
+++ b/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.common.component
@@ -1,29 +1,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.common.project.facet.core.xml b/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.common.project.facet.core.xml
index 156ecdb..621b1f8 100644
--- a/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.common.project.facet.core.xml
+++ b/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -1,8 +1,6 @@
-
-
+
-
-
+
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.jsdt.ui.superType.container b/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.jsdt.ui.superType.container
deleted file mode 100644
index 3bd5d0a..0000000
--- a/adobe-acrobat-sign-connector/.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/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.jsdt.ui.superType.name b/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.jsdt.ui.superType.name
deleted file mode 100644
index 05bd71b..0000000
--- a/adobe-acrobat-sign-connector/.settings/org.eclipse.wst.jsdt.ui.superType.name
+++ /dev/null
@@ -1 +0,0 @@
-Window
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/config/variables.yaml b/adobe-acrobat-sign-connector/config/variables.yaml
index 78d5ce7..abf0cca 100644
--- a/adobe-acrobat-sign-connector/config/variables.yaml
+++ b/adobe-acrobat-sign-connector/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.
@@ -9,31 +10,31 @@ Variables:
adobe-acrobat-sign-connector:
# Hostname of Adobe Sign server
host: ''
-
+
# Relative part of URL that is called after singing was finished. In case the domain with "https" is used, the configuration of reverse proxy would be requried. Ref: https://dev.axonivy.com/doc/10.0/engine-guide/integration/reverse-proxy/index.html
returnPage: ''
-
+
# Integration key from Adobe Sign configuration
integrationKey: ''
-
+
# Base URI for getting the access and refresh access tokens (without the `/token` or `/refresh` part)
- baseUri: 'https://api.eu2.adobesign.com/oauth/v2'
-
+ baseUri: 'https://api.eu2.adobesign.com/oauth/v2'
+
# URL for the Authorization request (differs from tokens URL)
authenticationUri: 'https://secure.eu2.adobesign.com/public/oauth/v2'
-
+
# Adobe API Application Client ID
clientId: ''
-
+
# Adobe API Application Client Secret
# [password]
clientSecret: ''
-
+
# List of permissions that will be requested for the OAuth token (e.g: user_read:account user_write:account user_login:account agreement_read:account agreement_write:account agreement_send:account)
permissions: ''
-
+
# DO NOT MODIFY DIRECTLY, USE ADMIN SETUP PAGE. Info about the OAuth refresh token. Empty means there is no token initialized. To request a new token use the `Save and Request new Token` button
oauthToken: ''
-
+
# DO NOT MODIFY DIRECTLY, USE ADMIN SETUP PAGE. Info about the OAuth access token.
accessToken: ''
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AgreementsData.d.json b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AgreementsData.d.json
new file mode 100644
index 0000000..8c21505
--- /dev/null
+++ b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AgreementsData.d.json
@@ -0,0 +1,46 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "AgreementsData",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector",
+ "isBusinessCaseData" : false,
+ "fields" : [ {
+ "name" : "agreementCreation",
+ "type" : "api.rest.v6.client.AgreementCreationInfo"
+ }, {
+ "name" : "error",
+ "type" : "ch.ivyteam.ivy.bpm.error.BpmError"
+ }, {
+ "name" : "agreementCreationResponse",
+ "type" : "api.rest.v6.client.AgreementCreationResponse"
+ }, {
+ "name" : "agreementId",
+ "type" : "String"
+ }, {
+ "name" : "agreementInfo",
+ "type" : "api.rest.v6.client.AgreementInfo"
+ }, {
+ "name" : "signingUrls",
+ "type" : "java.util.List"
+ }, {
+ "name" : "frameParent",
+ "type" : "String"
+ }, {
+ "name" : "documents",
+ "type" : "api.rest.v6.client.AgreementDocuments"
+ }, {
+ "name" : "documentId",
+ "type" : "String"
+ }, {
+ "name" : "download",
+ "type" : "com.axonivy.connector.adobe.acrobat.sign.connector.rest.DownloadResult"
+ }, {
+ "name" : "filename",
+ "type" : "String"
+ }, {
+ "name" : "asFileOption",
+ "type" : "Boolean"
+ }, {
+ "name" : "formFieldPutInfo",
+ "type" : "api.rest.v6.client.FormFieldPutInfo"
+ } ]
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AgreementsData.ivyClass b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AgreementsData.ivyClass
deleted file mode 100644
index 9096737..0000000
--- a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AgreementsData.ivyClass
+++ /dev/null
@@ -1,15 +0,0 @@
-AgreementsData #class
-com.axonivy.connector.adobe.acrobat.sign.connector #namespace
-agreementCreation api.rest.v6.client.AgreementCreationInfo #field
-error ch.ivyteam.ivy.bpm.error.BpmError #field
-agreementCreationResponse api.rest.v6.client.AgreementCreationResponse #field
-agreementId String #field
-agreementInfo api.rest.v6.client.AgreementInfo #field
-signingUrls java.util.List #field
-frameParent String #field
-documents api.rest.v6.client.AgreementDocuments #field
-documentId String #field
-download com.axonivy.connector.adobe.acrobat.sign.connector.rest.DownloadResult #field
-filename String #field
-asFileOption Boolean #field
-formFieldPutInfo api.rest.v6.client.FormFieldPutInfo #field
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AuthSetupData.d.json b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AuthSetupData.d.json
new file mode 100644
index 0000000..be31e9a
--- /dev/null
+++ b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AuthSetupData.d.json
@@ -0,0 +1,6 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "AuthSetupData",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector",
+ "isBusinessCaseData" : false
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AuthSetupData.ivyClass b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AuthSetupData.ivyClass
deleted file mode 100644
index 06b2ede..0000000
--- a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/AuthSetupData.ivyClass
+++ /dev/null
@@ -1,2 +0,0 @@
-AuthSetupData #class
-com.axonivy.connector.adobe.acrobat.sign.connector #namespace
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/BaseUrisData.d.json b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/BaseUrisData.d.json
new file mode 100644
index 0000000..0f81bba
--- /dev/null
+++ b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/BaseUrisData.d.json
@@ -0,0 +1,6 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "BaseUrisData",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector",
+ "isBusinessCaseData" : false
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/BaseUrisData.ivyClass b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/BaseUrisData.ivyClass
deleted file mode 100644
index 970576f..0000000
--- a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/BaseUrisData.ivyClass
+++ /dev/null
@@ -1,2 +0,0 @@
-BaseUrisData #class
-com.axonivy.connector.adobe.acrobat.sign.connector #namespace
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/Data.d.json b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/Data.d.json
new file mode 100644
index 0000000..d76b16d
--- /dev/null
+++ b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/Data.d.json
@@ -0,0 +1,6 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "Data",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector",
+ "isBusinessCaseData" : false
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/Data.ivyClass b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/Data.ivyClass
deleted file mode 100644
index 1f2143c..0000000
--- a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/Data.ivyClass
+++ /dev/null
@@ -1,2 +0,0 @@
-Data #class
-com.axonivy.connector.adobe.acrobat.sign.connector #namespace
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/SigningReturnData.d.json b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/SigningReturnData.d.json
new file mode 100644
index 0000000..f44f64b
--- /dev/null
+++ b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/SigningReturnData.d.json
@@ -0,0 +1,6 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "SigningReturnData",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector",
+ "isBusinessCaseData" : false
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/SigningReturnData.ivyClass b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/SigningReturnData.ivyClass
deleted file mode 100644
index f059358..0000000
--- a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/SigningReturnData.ivyClass
+++ /dev/null
@@ -1,2 +0,0 @@
-SigningReturnData #class
-com.axonivy.connector.adobe.acrobat.sign.connector #namespace
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/TransientDocumentsData.d.json b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/TransientDocumentsData.d.json
new file mode 100644
index 0000000..93d7902
--- /dev/null
+++ b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/TransientDocumentsData.d.json
@@ -0,0 +1,28 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "TransientDocumentsData",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector",
+ "isBusinessCaseData" : false,
+ "fields" : [ {
+ "name" : "file",
+ "type" : "java.io.File"
+ }, {
+ "name" : "id",
+ "type" : "String"
+ }, {
+ "name" : "error",
+ "type" : "ch.ivyteam.ivy.bpm.error.BpmError"
+ }, {
+ "name" : "upload",
+ "type" : "com.axonivy.connector.adobe.acrobat.sign.connector.rest.UploadWrapper"
+ }, {
+ "name" : "files",
+ "type" : "java.util.List"
+ }, {
+ "name" : "ids",
+ "type" : "java.util.List"
+ }, {
+ "name" : "uploadWrappers",
+ "type" : "java.util.List"
+ } ]
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/TransientDocumentsData.ivyClass b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/TransientDocumentsData.ivyClass
deleted file mode 100644
index 593ea1e..0000000
--- a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/TransientDocumentsData.ivyClass
+++ /dev/null
@@ -1,9 +0,0 @@
-TransientDocumentsData #class
-com.axonivy.connector.adobe.acrobat.sign.connector #namespace
-file java.io.File #field
-id String #field
-error ch.ivyteam.ivy.bpm.error.BpmError #field
-upload com.axonivy.connector.adobe.acrobat.sign.connector.rest.UploadWrapper #field
-files java.util.List #field
-ids java.util.List #field
-uploadWrappers java.util.List #field
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/UsersData.d.json b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/UsersData.d.json
new file mode 100644
index 0000000..94a8ad9
--- /dev/null
+++ b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/UsersData.d.json
@@ -0,0 +1,6 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "UsersData",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector",
+ "isBusinessCaseData" : false
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/UsersData.ivyClass b/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/UsersData.ivyClass
deleted file mode 100644
index 7795834..0000000
--- a/adobe-acrobat-sign-connector/dataclasses/com/axonivy/connector/adobe/acrobat/sign/connector/UsersData.ivyClass
+++ /dev/null
@@ -1,2 +0,0 @@
-UsersData #class
-com.axonivy.connector.adobe.acrobat.sign.connector #namespace
diff --git a/adobe-acrobat-sign-connector/processes/Setup/AdminSetup.p.json b/adobe-acrobat-sign-connector/processes/Setup/AdminSetup.p.json
index bcab9c4..b5d374f 100644
--- a/adobe-acrobat-sign-connector/processes/Setup/AdminSetup.p.json
+++ b/adobe-acrobat-sign-connector/processes/Setup/AdminSetup.p.json
@@ -1,5 +1,5 @@
{
- "format" : "10.0.0",
+ "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "18A83631DA63DA93",
"config" : {
"data" : "com.axonivy.connector.adobe.acrobat.sign.connector.AuthSetupData"
@@ -9,16 +9,21 @@
"type" : "RequestStart",
"name" : "start.ivp",
"config" : {
- "callSignature" : "start",
- "responsible" : "ADOBE_ESIGN_ADMIN",
- "outLink" : "start.ivp",
- "wfuser" : "1",
- "startName" : "<%=ivy.cms.co(\"/Process/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/name\")%>"
+ "signature" : "start",
+ "request" : {
+ "name" : "<%=ivy.cms.co(\"/Process/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/name\")%>"
+ },
+ "permission" : {
+ "anonymous" : false,
+ "role" : "ADOBE_ESIGN_ADMIN"
+ }
},
"visual" : {
"at" : { "x" : 96, "y" : 64 }
},
- "connect" : { "id" : "f4", "to" : "f3" }
+ "connect" : [
+ { "id" : "f4", "to" : "f3" }
+ ]
}, {
"id" : "f1",
"type" : "TaskEnd",
@@ -30,36 +35,43 @@
"type" : "DialogCall",
"name" : "AuthSetup",
"config" : {
- "dialogId" : "com.axonivy.connector.adobe.acrobat.sign.connector.AdminSetup",
- "startMethod" : "start()"
+ "dialog" : "com.axonivy.connector.adobe.acrobat.sign.connector.AdminSetup:start()"
},
"visual" : {
"at" : { "x" : 224, "y" : 64 }
},
- "connect" : { "id" : "f2", "to" : "f1" }
+ "connect" : [
+ { "id" : "f2", "to" : "f1" }
+ ]
}, {
"id" : "f5",
"type" : "RequestStart",
"name" : "oauthResume.ivp",
"config" : {
- "callSignature" : "oauthResume",
- "responsible" : "ADOBE_ESIGN_ADMIN",
- "outLink" : "oauthResume.ivp",
- "showInStartList" : false,
+ "signature" : "oauthResume",
"input" : {
"params" : [
- { "name" : "code", "type" : "String" }
+ { "name" : "code", "type" : "String", "desc" : "" }
],
+ "map" : { },
"code" : [
"import com.axonivy.connector.adobe.acrobat.sign.connector.service.AdminSetupService;",
"AdminSetupService.getNewAccessToken(param.code);"
]
},
- "wfuser" : "1"
+ "request" : {
+ "isVisibleOnStartList" : false
+ },
+ "permission" : {
+ "anonymous" : false,
+ "role" : "ADOBE_ESIGN_ADMIN"
+ }
},
"visual" : {
"at" : { "x" : 96, "y" : 200 }
},
- "connect" : { "id" : "f9", "to" : "f3", "via" : [ { "x" : 224, "y" : 200 } ] }
+ "connect" : [
+ { "id" : "f9", "to" : "f3", "via" : [ { "x" : 224, "y" : 200 } ] }
+ ]
} ]
}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/processes/SigningReturn.p.json b/adobe-acrobat-sign-connector/processes/SigningReturn.p.json
index 9c84c2a..defc845 100644
--- a/adobe-acrobat-sign-connector/processes/SigningReturn.p.json
+++ b/adobe-acrobat-sign-connector/processes/SigningReturn.p.json
@@ -1,5 +1,5 @@
{
- "format" : "10.0.0",
+ "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "188B5516C4F69340",
"config" : {
"data" : "com.axonivy.connector.adobe.acrobat.sign.connector.SigningReturnData"
@@ -9,19 +9,22 @@
"type" : "RequestStart",
"name" : "signingReturn.ivp",
"config" : {
- "callSignature" : "signingReturn",
- "outLink" : "signingReturn.ivp",
- "showInStartList" : false
+ "signature" : "signingReturn",
+ "request" : {
+ "isVisibleOnStartList" : false
+ }
},
"visual" : {
"at" : { "x" : 96, "y" : 64 }
},
- "connect" : { "id" : "f2", "to" : "f1" }
+ "connect" : [
+ { "id" : "f2", "to" : "f1" }
+ ]
}, {
"id" : "f1",
"type" : "TaskEndPage",
"config" : {
- "template" : "signatureReturn.jsp"
+ "page" : "signatureReturn.jsp"
},
"visual" : {
"at" : { "x" : 288, "y" : 64 }
diff --git a/adobe-acrobat-sign-connector/processes/connector/Agreements.p.json b/adobe-acrobat-sign-connector/processes/connector/Agreements.p.json
index 29f2088..1385cbd 100644
--- a/adobe-acrobat-sign-connector/processes/connector/Agreements.p.json
+++ b/adobe-acrobat-sign-connector/processes/connector/Agreements.p.json
@@ -1,5 +1,5 @@
{
- "format" : "10.0.0",
+ "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "18822C586F9CB9FB",
"kind" : "CALLABLE_SUB",
"config" : {
@@ -10,7 +10,7 @@
"type" : "CallSubStart",
"name" : "createAgreement(AgreementCreationInfo)",
"config" : {
- "callSignature" : "createAgreement",
+ "signature" : "createAgreement",
"input" : {
"params" : [
{ "name" : "agreement", "type" : "api.rest.v6.client.AgreementCreationInfo", "desc" : "agreement to create" }
@@ -28,13 +28,17 @@
"result.agreementInfo" : "in.#agreementCreationResponse",
"result.error" : "in.#error"
}
- },
- "tags" : "connector"
+ }
},
+ "tags" : [
+ "connector"
+ ],
"visual" : {
"at" : { "x" : 88, "y" : 64 }
},
- "connect" : { "id" : "f4", "to" : "f3" }
+ "connect" : [
+ { "id" : "f4", "to" : "f3" }
+ ]
}, {
"id" : "f1",
"type" : "CallSubEnd",
@@ -46,20 +50,27 @@
"type" : "RestClientCall",
"name" : "post agreement",
"config" : {
- "path" : "/agreements",
- "bodyObjectMapping" : {
- "param" : "in.agreementCreation"
- },
- "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
- "clientErrorCode" : "ivy:error:rest:client",
"method" : "POST",
- "statusErrorCode" : "ivy:error:rest:client",
- "responseMapping" : {
- "out.agreementCreationResponse" : "result"
+ "target" : {
+ "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
+ "path" : "/agreements"
+ },
+ "body" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.AgreementCreationInfo",
+ "map" : {
+ "param" : "in.agreementCreation"
+ }
+ }
},
- "bodyObjectType" : "api.rest.v6.client.AgreementCreationInfo",
- "resultType" : "api.rest.v6.client.AgreementCreationResponse",
- "bodyInputType" : "ENTITY"
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.AgreementCreationResponse",
+ "map" : {
+ "out.agreementCreationResponse" : "result"
+ }
+ }
+ }
},
"visual" : {
"at" : { "x" : 280, "y" : 64 }
@@ -78,15 +89,19 @@
"visual" : {
"at" : { "x" : 312, "y" : 106 }
},
- "connect" : { "id" : "f6", "to" : "f1", "via" : [ { "x" : 480, "y" : 106 } ] }
+ "connect" : [
+ { "id" : "f6", "to" : "f1", "via" : [ { "x" : 480, "y" : 106 } ] }
+ ]
} ],
- "connect" : { "id" : "f2", "to" : "f1" }
+ "connect" : [
+ { "id" : "f2", "to" : "f1" }
+ ]
}, {
"id" : "f7",
"type" : "CallSubStart",
"name" : "getAgreementById(String)",
"config" : {
- "callSignature" : "getAgreementById",
+ "signature" : "getAgreementById",
"input" : {
"params" : [
{ "name" : "agreementId", "type" : "String", "desc" : "id of agreement" }
@@ -98,35 +113,43 @@
"result" : {
"params" : [
{ "name" : "agreementInfo", "type" : "api.rest.v6.client.AgreementInfo", "desc" : "detailed information of agreeement" },
- { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError" }
+ { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError", "desc" : "" }
],
"map" : {
"result.agreementInfo" : "in.#agreementInfo",
"result.error" : "in.#error"
}
- },
- "tags" : "connector"
+ }
},
+ "tags" : [
+ "connector"
+ ],
"visual" : {
"at" : { "x" : 88, "y" : 192 }
},
- "connect" : { "id" : "f9", "to" : "f8" }
+ "connect" : [
+ { "id" : "f9", "to" : "f8" }
+ ]
}, {
"id" : "f8",
"type" : "RestClientCall",
"name" : "get agreement by id",
"config" : {
- "path" : "/agreements/{agreementId}",
- "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
- "clientErrorCode" : "ivy:error:rest:client",
- "statusErrorCode" : "ivy:error:rest:client",
- "responseMapping" : {
- "out.agreementInfo" : "result"
- },
- "templateParams" : {
- "agreementId" : "in.agreementId"
+ "target" : {
+ "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
+ "path" : "/agreements/{agreementId}",
+ "templateParams" : {
+ "agreementId" : "in.agreementId"
+ }
},
- "resultType" : "api.rest.v6.client.AgreementInfo"
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.AgreementInfo",
+ "map" : {
+ "out.agreementInfo" : "result"
+ }
+ }
+ }
},
"visual" : {
"at" : { "x" : 280, "y" : 192 }
@@ -137,9 +160,13 @@
"visual" : {
"at" : { "x" : 312, "y" : 232 }
},
- "connect" : { "id" : "f13", "to" : "f10", "via" : [ { "x" : 472, "y" : 232 } ] }
+ "connect" : [
+ { "id" : "f13", "to" : "f10", "via" : [ { "x" : 472, "y" : 232 } ] }
+ ]
} ],
- "connect" : { "id" : "f11", "to" : "f10" }
+ "connect" : [
+ { "id" : "f11", "to" : "f10" }
+ ]
}, {
"id" : "f10",
"type" : "CallSubEnd",
@@ -151,7 +178,7 @@
"type" : "CallSubStart",
"name" : "getSigningURLs(String,String)",
"config" : {
- "callSignature" : "getSigningURLs",
+ "signature" : "getSigningURLs",
"input" : {
"params" : [
{ "name" : "agreementId", "type" : "String", "desc" : "id of agreement" },
@@ -165,38 +192,46 @@
"result" : {
"params" : [
{ "name" : "signingURIs", "type" : "java.util.List", "desc" : "detailed information of agreeement" },
- { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError" }
+ { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError", "desc" : "" }
],
"map" : {
"result.signingURIs" : "in.#signingUrls",
"result.error" : "in.#error"
}
- },
- "tags" : "connector"
+ }
},
+ "tags" : [
+ "connector"
+ ],
"visual" : {
"at" : { "x" : 88, "y" : 312 }
},
- "connect" : { "id" : "f20", "to" : "f15" }
+ "connect" : [
+ { "id" : "f20", "to" : "f15" }
+ ]
}, {
"id" : "f15",
"type" : "RestClientCall",
"name" : "get signing URLs for agreement",
"config" : {
- "path" : "/agreements/{agreementId}/signingUrls",
- "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
- "clientErrorCode" : "ivy:error:rest:client",
- "queryParams" : {
- "frameParent" : "in.frameParent"
- },
- "statusErrorCode" : "ivy:error:rest:client",
- "responseMapping" : {
- "out.signingUrls" : "result.signingUrlSetInfos"
- },
- "templateParams" : {
- "agreementId" : "in.agreementId"
+ "target" : {
+ "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
+ "path" : "/agreements/{agreementId}/signingUrls",
+ "templateParams" : {
+ "agreementId" : "in.agreementId"
+ },
+ "queryParams" : {
+ "frameParent" : "in.frameParent"
+ }
},
- "resultType" : "api.rest.v6.client.SigningUrlResponse"
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.SigningUrlResponse",
+ "map" : {
+ "out.signingUrls" : "result.signingUrlSetInfos"
+ }
+ }
+ }
},
"visual" : {
"at" : { "x" : 280, "y" : 312 }
@@ -215,9 +250,13 @@
"visual" : {
"at" : { "x" : 312, "y" : 352 }
},
- "connect" : { "id" : "f19", "to" : "f17", "via" : [ { "x" : 472, "y" : 352 } ] }
+ "connect" : [
+ { "id" : "f19", "to" : "f17", "via" : [ { "x" : 472, "y" : 352 } ] }
+ ]
} ],
- "connect" : { "id" : "f18", "to" : "f17" }
+ "connect" : [
+ { "id" : "f18", "to" : "f17" }
+ ]
}, {
"id" : "f17",
"type" : "CallSubEnd",
@@ -229,7 +268,7 @@
"type" : "CallSubStart",
"name" : "getDocuments(String)",
"config" : {
- "callSignature" : "getDocuments",
+ "signature" : "getDocuments",
"input" : {
"params" : [
{ "name" : "agreementId", "type" : "String", "desc" : "id of agreement" }
@@ -241,41 +280,49 @@
"result" : {
"params" : [
{ "name" : "documents", "type" : "api.rest.v6.client.AgreementDocuments", "desc" : "detailed information of agreeement" },
- { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError" }
+ { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError", "desc" : "" }
],
"map" : {
"result.documents" : "in.#documents",
"result.error" : "in.#error"
}
- },
- "tags" : "connector"
+ }
},
+ "tags" : [
+ "connector"
+ ],
"visual" : {
"at" : { "x" : 88, "y" : 432 }
},
- "connect" : { "id" : "f25", "to" : "f22" }
+ "connect" : [
+ { "id" : "f25", "to" : "f22" }
+ ]
}, {
"id" : "f22",
"type" : "RestClientCall",
"name" : "get documents of agreement",
"config" : {
- "path" : "/agreements/{agreementId}/documents",
- "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
- "clientErrorCode" : "ivy:error:rest:client",
- "queryParams" : {
- "frameParent" : "",
- "versionId" : "",
- "participantEmail" : "",
- "supportingDocumentContentFormat" : ""
- },
- "statusErrorCode" : "ivy:error:rest:client",
- "responseMapping" : {
- "out.documents" : "result"
- },
- "templateParams" : {
- "agreementId" : "in.agreementId"
+ "target" : {
+ "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
+ "path" : "/agreements/{agreementId}/documents",
+ "templateParams" : {
+ "agreementId" : "in.agreementId"
+ },
+ "queryParams" : {
+ "frameParent" : "",
+ "versionId" : "",
+ "participantEmail" : "",
+ "supportingDocumentContentFormat" : ""
+ }
},
- "resultType" : "api.rest.v6.client.AgreementDocuments"
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.AgreementDocuments",
+ "map" : {
+ "out.documents" : "result"
+ }
+ }
+ }
},
"visual" : {
"at" : { "x" : 280, "y" : 432 }
@@ -286,9 +333,13 @@
"visual" : {
"at" : { "x" : 312, "y" : 472 }
},
- "connect" : { "id" : "f27", "to" : "f24", "via" : [ { "x" : 472, "y" : 472 } ] }
+ "connect" : [
+ { "id" : "f27", "to" : "f24", "via" : [ { "x" : 472, "y" : 472 } ] }
+ ]
} ],
- "connect" : { "id" : "f26", "to" : "f24" }
+ "connect" : [
+ { "id" : "f26", "to" : "f24" }
+ ]
}, {
"id" : "f24",
"type" : "CallSubEnd",
@@ -300,7 +351,7 @@
"type" : "CallSubStart",
"name" : "dowloadDocument(String, String, String, Boolean)",
"config" : {
- "callSignature" : "dowloadDocument",
+ "signature" : "dowloadDocument",
"input" : {
"params" : [
{ "name" : "agreementId", "type" : "String", "desc" : "id of agreement" },
@@ -318,38 +369,42 @@
"result" : {
"params" : [
{ "name" : "download", "type" : "com.axonivy.connector.adobe.acrobat.sign.connector.rest.DownloadResult", "desc" : "DownloadResult" },
- { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError" }
+ { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError", "desc" : "" }
],
"map" : {
"result.download" : "in.download",
"result.error" : "in.#error"
}
- },
- "tags" : "connector"
+ }
},
+ "tags" : [
+ "connector"
+ ],
"visual" : {
"at" : { "x" : 88, "y" : 544 }
},
- "connect" : { "id" : "f33", "to" : "f29" }
+ "connect" : [
+ { "id" : "f33", "to" : "f29" }
+ ]
}, {
"id" : "f29",
"type" : "RestClientCall",
"name" : "get documents of agreement",
"config" : {
- "path" : "/agreements/{agreementId}/documents/{documentId}",
- "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
- "clientErrorCode" : "ivy:error:rest:client",
"method" : "JAX_RS",
- "statusErrorCode" : "ivy:error:rest:client",
- "clientCode" : [
+ "target" : {
+ "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
+ "path" : "/agreements/{agreementId}/documents/{documentId}",
+ "templateParams" : {
+ "agreementId" : "in.agreementId",
+ "documentId" : "in.documentId"
+ }
+ },
+ "code" : [
"import com.axonivy.connector.adobe.acrobat.sign.connector.rest.ClientService;",
"",
"in.download = ClientService.download(client, in.filename, in.asFileOption);"
- ],
- "templateParams" : {
- "agreementId" : "in.agreementId",
- "documentId" : "in.documentId"
- }
+ ]
},
"visual" : {
"at" : { "x" : 280, "y" : 544 }
@@ -360,9 +415,13 @@
"visual" : {
"at" : { "x" : 312, "y" : 584 }
},
- "connect" : { "id" : "f34", "to" : "f31", "via" : [ { "x" : 472, "y" : 584 } ] }
+ "connect" : [
+ { "id" : "f34", "to" : "f31", "via" : [ { "x" : 472, "y" : 584 } ] }
+ ]
} ],
- "connect" : { "id" : "f32", "to" : "f31" }
+ "connect" : [
+ { "id" : "f32", "to" : "f31" }
+ ]
}, {
"id" : "f31",
"type" : "CallSubEnd",
@@ -374,7 +433,7 @@
"type" : "CallSubStart",
"name" : "addFormFields(String, FormFieldPutInfo)",
"config" : {
- "callSignature" : "addFormFields",
+ "signature" : "addFormFields",
"input" : {
"params" : [
{ "name" : "agreementId", "type" : "String", "desc" : "id of the agreement" },
@@ -392,13 +451,17 @@
"map" : {
"result.error" : "in.#error"
}
- },
- "tags" : "connector"
+ }
},
+ "tags" : [
+ "connector"
+ ],
"visual" : {
"at" : { "x" : 80, "y" : 648 }
},
- "connect" : { "id" : "f40", "to" : "f37" }
+ "connect" : [
+ { "id" : "f40", "to" : "f37" }
+ ]
}, {
"id" : "f36",
"type" : "CallSubEnd",
@@ -410,21 +473,28 @@
"type" : "RestClientCall",
"name" : "create formfields",
"config" : {
- "path" : "/agreements/{agreementId}/formFields",
- "bodyObjectMapping" : {
- "param" : "in.formFieldPutInfo"
- },
- "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
- "clientErrorCode" : "ivy:error:rest:client",
"method" : "PUT",
- "statusErrorCode" : "ivy:error:rest:client",
- "bodyObjectType" : "api.rest.v6.client.FormFieldPutInfo",
- "templateParams" : {
- "agreementId" : "in.agreementId"
+ "target" : {
+ "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
+ "path" : "/agreements/{agreementId}/formFields",
+ "templateParams" : {
+ "agreementId" : "in.agreementId"
+ }
+ },
+ "body" : {
+ "mediaType" : "*/*",
+ "entity" : {
+ "type" : "api.rest.v6.client.FormFieldPutInfo",
+ "map" : {
+ "param" : "in.formFieldPutInfo"
+ }
+ }
},
- "resultType" : "api.rest.v6.client.AgreementFormFields",
- "bodyInputType" : "ENTITY",
- "bodyMediaType" : "*/*"
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.AgreementFormFields"
+ }
+ }
},
"visual" : {
"at" : { "x" : 272, "y" : 648 }
@@ -443,15 +513,19 @@
"visual" : {
"at" : { "x" : 304, "y" : 690 }
},
- "connect" : { "id" : "f41", "to" : "f36", "via" : [ { "x" : 472, "y" : 690 } ] }
+ "connect" : [
+ { "id" : "f41", "to" : "f36", "via" : [ { "x" : 472, "y" : 690 } ] }
+ ]
} ],
- "connect" : { "id" : "f39", "to" : "f36" }
+ "connect" : [
+ { "id" : "f39", "to" : "f36" }
+ ]
}, {
"id" : "f42",
"type" : "CallSubStart",
"name" : "dowloadCombinedDocument(String, Boolean)",
"config" : {
- "callSignature" : "dowloadCombinedDocument",
+ "signature" : "dowloadCombinedDocument",
"input" : {
"params" : [
{ "name" : "agreementId", "type" : "String", "desc" : "id of agreement" },
@@ -467,48 +541,55 @@
"result" : {
"params" : [
{ "name" : "download", "type" : "com.axonivy.connector.adobe.acrobat.sign.connector.rest.DownloadResult", "desc" : "DownloadResult" },
- { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError" }
+ { "name" : "error", "type" : "ch.ivyteam.ivy.bpm.error.BpmError", "desc" : "" }
],
"map" : {
"result.download" : "in.download",
"result.error" : "in.#error"
}
- },
- "tags" : "connector"
+ }
},
+ "tags" : [
+ "connector"
+ ],
"visual" : {
"at" : { "x" : 80, "y" : 776 },
"description" : "Downloads all documents combined to one pdf document"
},
- "connect" : { "id" : "f47", "to" : "f43" }
+ "connect" : [
+ { "id" : "f47", "to" : "f43" }
+ ]
}, {
"id" : "f43",
"type" : "RestClientCall",
"name" : "get combined documents of agreement",
"config" : {
- "path" : "/agreements/{agreementId}/combinedDocument",
- "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
- "clientErrorCode" : "ivy:error:rest:client",
- "method" : "GET",
- "queryParams" : {
- "versionId" : "",
- "participantId" : "",
- "attachSupportingDocuments" : "",
- "attachAuditReport" : ""
+ "target" : {
+ "clientId" : "8e96fab1-4701-47cb-ae35-d821bb12305b",
+ "path" : "/agreements/{agreementId}/combinedDocument",
+ "templateParams" : {
+ "agreementId" : "in.agreementId",
+ "documentId" : ""
+ },
+ "queryParams" : {
+ "versionId" : "",
+ "participantId" : "",
+ "attachSupportingDocuments" : "",
+ "attachAuditReport" : ""
+ }
},
- "statusErrorCode" : "ivy:error:rest:client",
- "clientCode" : [
+ "response" : {
+ "entity" : {
+ "code" : [
+ "import com.axonivy.connector.adobe.acrobat.sign.connector.rest.ClientService;",
+ "in.download = ClientService.download(response, in.filename, in.asFileOption);"
+ ]
+ }
+ },
+ "code" : [
"import com.axonivy.connector.adobe.acrobat.sign.connector.rest.ClientService;",
"",
"in.download = ClientService.download(client, in.filename, in.asFileOption);"
- ],
- "templateParams" : {
- "agreementId" : "in.agreementId",
- "documentId" : ""
- },
- "responseCode" : [
- "import com.axonivy.connector.adobe.acrobat.sign.connector.rest.ClientService;",
- "in.download = ClientService.download(response, in.filename, in.asFileOption);"
]
},
"visual" : {
@@ -520,9 +601,13 @@
"visual" : {
"at" : { "x" : 304, "y" : 816 }
},
- "connect" : { "id" : "f48", "to" : "f45", "via" : [ { "x" : 464, "y" : 816 } ] }
+ "connect" : [
+ { "id" : "f48", "to" : "f45", "via" : [ { "x" : 464, "y" : 816 } ] }
+ ]
} ],
- "connect" : { "id" : "f46", "to" : "f45" }
+ "connect" : [
+ { "id" : "f46", "to" : "f45" }
+ ]
}, {
"id" : "f45",
"type" : "CallSubEnd",
diff --git a/adobe-acrobat-sign-connector/processes/connector/BaseUris.p.json b/adobe-acrobat-sign-connector/processes/connector/BaseUris.p.json
index 3e40e3e..7277f28 100644
--- a/adobe-acrobat-sign-connector/processes/connector/BaseUris.p.json
+++ b/adobe-acrobat-sign-connector/processes/connector/BaseUris.p.json
@@ -1,5 +1,5 @@
{
- "format" : "10.0.0",
+ "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "1866EFD0633915B6",
"kind" : "CALLABLE_SUB",
"config" : {
@@ -10,12 +10,14 @@
"type" : "CallSubStart",
"name" : "get()",
"config" : {
- "callSignature" : "get"
+ "signature" : "get"
},
"visual" : {
"at" : { "x" : 96, "y" : 64 }
},
- "connect" : { "id" : "f6", "to" : "f5" }
+ "connect" : [
+ { "id" : "f6", "to" : "f5" }
+ ]
}, {
"id" : "f1",
"type" : "CallSubEnd",
@@ -27,15 +29,21 @@
"type" : "RestClientCall",
"name" : "BaseUris",
"config" : {
- "path" : "/baseUris",
- "clientId" : "9774590a-7adb-4910-8a53-22b68e50d9ed",
- "clientErrorCode" : "ivy:error:rest:client",
- "statusErrorCode" : "ivy:error:rest:client",
- "resultType" : "api.rest.v6.client.BaseUriInfo"
+ "target" : {
+ "clientId" : "9774590a-7adb-4910-8a53-22b68e50d9ed",
+ "path" : "/baseUris"
+ },
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.BaseUriInfo"
+ }
+ }
},
"visual" : {
"at" : { "x" : 232, "y" : 64 }
},
- "connect" : { "id" : "f4", "to" : "f1" }
+ "connect" : [
+ { "id" : "f4", "to" : "f1" }
+ ]
} ]
}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/processes/connector/TransientDocuments.p.json b/adobe-acrobat-sign-connector/processes/connector/TransientDocuments.p.json
index 76264ec..ef70e7c 100644
--- a/adobe-acrobat-sign-connector/processes/connector/TransientDocuments.p.json
+++ b/adobe-acrobat-sign-connector/processes/connector/TransientDocuments.p.json
@@ -1,5 +1,5 @@
{
- "format" : "10.0.0",
+ "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "18822D67B169266A",
"kind" : "CALLABLE_SUB",
"config" : {
@@ -10,7 +10,7 @@
"type" : "CallSubStart",
"name" : "uploadDocument(file)",
"config" : {
- "callSignature" : "uploadDocument",
+ "signature" : "uploadDocument",
"input" : {
"params" : [
{ "name" : "file", "type" : "java.io.File", "desc" : "file to upload" }
@@ -33,7 +33,9 @@
"visual" : {
"at" : { "x" : 96, "y" : 64 }
},
- "connect" : { "id" : "f8", "to" : "f7" }
+ "connect" : [
+ { "id" : "f8", "to" : "f7" }
+ ]
}, {
"id" : "f1",
"type" : "CallSubEnd",
@@ -45,23 +47,31 @@
"type" : "RestClientCall",
"name" : "Upload Transient Document",
"config" : {
- "bodyForm" : {
- "File-Name" : "",
- "Mime-Type" : "",
- "File" : "in.file"
- },
- "path" : "/transientDocuments",
- "clientId" : "6a243983-5f6d-4278-89ec-aab09fea161c",
- "clientErrorCode" : "ivy:error:rest:client",
"method" : "POST",
- "statusErrorCode" : "ivy:error:rest:client",
- "responseMapping" : {
- "out.id" : "result.transientDocumentId"
+ "target" : {
+ "clientId" : "6a243983-5f6d-4278-89ec-aab09fea161c",
+ "path" : "/transientDocuments"
+ },
+ "body" : {
+ "type" : "FORM",
+ "mediaType" : "multipart/form-data",
+ "form" : {
+ "File-Name" : [ "" ],
+ "Mime-Type" : [ "" ],
+ "File" : [ "in.file" ]
+ },
+ "entity" : {
+ "type" : "api.rest.v6.client.TransientDocumentsBody"
+ }
},
- "bodyObjectType" : "api.rest.v6.client.TransientDocumentsBody",
- "resultType" : "api.rest.v6.client.TransientDocumentResponse",
- "bodyInputType" : "FORM",
- "bodyMediaType" : "multipart/form-data"
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.TransientDocumentResponse",
+ "map" : {
+ "out.id" : "result.transientDocumentId"
+ }
+ }
+ }
},
"visual" : {
"at" : { "x" : 232, "y" : 64 }
@@ -80,15 +90,19 @@
"visual" : {
"at" : { "x" : 264, "y" : 106 }
},
- "connect" : { "id" : "f10", "to" : "f1" }
+ "connect" : [
+ { "id" : "f10", "to" : "f1" }
+ ]
} ],
- "connect" : { "id" : "f4", "to" : "f1" }
+ "connect" : [
+ { "id" : "f4", "to" : "f1" }
+ ]
}, {
"id" : "f2",
"type" : "CallSubStart",
"name" : "uploadDocument(UploadWrapper)",
"config" : {
- "callSignature" : "uploadDocument",
+ "signature" : "uploadDocument",
"input" : {
"params" : [
{ "name" : "upload", "type" : "com.axonivy.connector.adobe.acrobat.sign.connector.rest.UploadWrapper", "desc" : "file to upload" }
@@ -112,7 +126,9 @@
"at" : { "x" : 96, "y" : 184 },
"labelOffset" : { "x" : 17, "y" : 49 }
},
- "connect" : { "id" : "f13", "to" : "f5" }
+ "connect" : [
+ { "id" : "f13", "to" : "f5" }
+ ]
}, {
"id" : "f3",
"type" : "CallSubEnd",
@@ -124,17 +140,29 @@
"type" : "RestClientCall",
"name" : "Upload Document",
"config" : {
- "bodyForm" : {
- "File-Name" : "",
- "Mime-Type" : "",
- "File" : "in.file"
- },
- "path" : "/transientDocuments",
- "clientId" : "6a243983-5f6d-4278-89ec-aab09fea161c",
- "clientErrorCode" : "ivy:error:rest:client",
"method" : "JAX_RS",
- "statusErrorCode" : "ivy:error:rest:client",
- "clientCode" : [
+ "target" : {
+ "clientId" : "6a243983-5f6d-4278-89ec-aab09fea161c",
+ "path" : "/transientDocuments"
+ },
+ "body" : {
+ "type" : "FORM",
+ "mediaType" : "multipart/form-data",
+ "form" : {
+ "File-Name" : [ "" ],
+ "Mime-Type" : [ "" ],
+ "File" : [ "in.file" ]
+ },
+ "entity" : {
+ "type" : "api.rest.v6.client.TransientDocumentsBody"
+ }
+ },
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.TransientDocumentResponse"
+ }
+ },
+ "code" : [
"import com.axonivy.connector.adobe.acrobat.sign.connector.rest.UploadResult;",
"import com.axonivy.connector.adobe.acrobat.sign.connector.rest.ClientService;",
"UploadResult result = ClientService.upload(client, in.upload.filename, in.upload.bytes);",
@@ -144,11 +172,7 @@
"} else {",
" in.error = result.#error;",
"}"
- ],
- "bodyObjectType" : "api.rest.v6.client.TransientDocumentsBody",
- "resultType" : "api.rest.v6.client.TransientDocumentResponse",
- "bodyInputType" : "FORM",
- "bodyMediaType" : "multipart/form-data"
+ ]
},
"visual" : {
"at" : { "x" : 232, "y" : 184 }
@@ -167,15 +191,19 @@
"visual" : {
"at" : { "x" : 264, "y" : 226 }
},
- "connect" : { "id" : "f12", "to" : "f3" }
+ "connect" : [
+ { "id" : "f12", "to" : "f3" }
+ ]
} ],
- "connect" : { "id" : "f11", "to" : "f3" }
+ "connect" : [
+ { "id" : "f11", "to" : "f3" }
+ ]
}, {
"id" : "f14",
"type" : "CallSubStart",
"name" : "uploadDocuments(List)",
"config" : {
- "callSignature" : "uploadDocuments",
+ "signature" : "uploadDocuments",
"input" : {
"params" : [
{ "name" : "files", "type" : "java.util.List", "desc" : "files to upload" }
@@ -199,7 +227,9 @@
"at" : { "x" : 96, "y" : 360 },
"labelOffset" : { "x" : 17, "y" : 49 }
},
- "connect" : { "id" : "f22", "to" : "f21" }
+ "connect" : [
+ { "id" : "f22", "to" : "f21" }
+ ]
}, {
"id" : "f15",
"type" : "CallSubEnd",
@@ -211,23 +241,31 @@
"type" : "RestClientCall",
"name" : "Upload Transient Document",
"config" : {
- "bodyForm" : {
- "File-Name" : "",
- "Mime-Type" : "",
- "File" : "in.file"
- },
- "path" : "/transientDocuments",
- "clientId" : "6a243983-5f6d-4278-89ec-aab09fea161c",
- "clientErrorCode" : "ivy:error:rest:client",
"method" : "POST",
- "statusErrorCode" : "ivy:error:rest:client",
- "responseMapping" : {
- "out.id" : "result.transientDocumentId"
+ "target" : {
+ "clientId" : "6a243983-5f6d-4278-89ec-aab09fea161c",
+ "path" : "/transientDocuments"
},
- "bodyObjectType" : "api.rest.v6.client.TransientDocumentsBody",
- "resultType" : "api.rest.v6.client.TransientDocumentResponse",
- "bodyInputType" : "FORM",
- "bodyMediaType" : "multipart/form-data"
+ "body" : {
+ "type" : "FORM",
+ "mediaType" : "multipart/form-data",
+ "form" : {
+ "File-Name" : [ "" ],
+ "Mime-Type" : [ "" ],
+ "File" : [ "in.file" ]
+ },
+ "entity" : {
+ "type" : "api.rest.v6.client.TransientDocumentsBody"
+ }
+ },
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.TransientDocumentResponse",
+ "map" : {
+ "out.id" : "result.transientDocumentId"
+ }
+ }
+ }
},
"visual" : {
"at" : { "x" : 384, "y" : 360 }
@@ -246,9 +284,13 @@
"visual" : {
"at" : { "x" : 416, "y" : 402 }
},
- "connect" : { "id" : "f20", "to" : "f15", "via" : [ { "x" : 776, "y" : 400 } ] }
+ "connect" : [
+ { "id" : "f20", "to" : "f15", "via" : [ { "x" : 776, "y" : 400 } ] }
+ ]
} ],
- "connect" : { "id" : "f27", "to" : "f25" }
+ "connect" : [
+ { "id" : "f27", "to" : "f25" }
+ ]
}, {
"id" : "f21",
"type" : "Script",
@@ -265,11 +307,18 @@
"visual" : {
"at" : { "x" : 224, "y" : 360 }
},
- "connect" : { "id" : "f18", "to" : "f16" }
+ "connect" : [
+ { "id" : "f18", "to" : "f16" }
+ ]
}, {
"id" : "f23",
"type" : "Alternative",
"name" : "files size > 0",
+ "config" : {
+ "conditions" : {
+ "f26" : "in.files.size() > 0"
+ }
+ },
"visual" : {
"at" : { "x" : 672, "y" : 360 },
"labelOffset" : { "x" : 14, "y" : 34 }
@@ -277,9 +326,8 @@
"connect" : [
{ "id" : "f26", "to" : "f21", "via" : [ { "x" : 672, "y" : 304 }, { "x" : 224, "y" : 304 } ], "label" : {
"name" : "yes",
- "segment" : 0.5,
"offset" : { "x" : -7, "y" : -6 }
- }, "condition" : "in.files.size() > 0" },
+ } },
{ "id" : "f19", "to" : "f15", "label" : {
"name" : "no",
"offset" : { "x" : 5, "y" : -10 }
@@ -297,13 +345,15 @@
"visual" : {
"at" : { "x" : 544, "y" : 360 }
},
- "connect" : { "id" : "f24", "to" : "f23" }
+ "connect" : [
+ { "id" : "f24", "to" : "f23" }
+ ]
}, {
"id" : "f28",
"type" : "CallSubStart",
"name" : "uploadDocuments(List)",
"config" : {
- "callSignature" : "uploadDocuments",
+ "signature" : "uploadDocuments",
"input" : {
"params" : [
{ "name" : "uploadWrappers", "type" : "java.util.List", "desc" : "file to upload" }
@@ -327,7 +377,9 @@
"at" : { "x" : 96, "y" : 512 },
"labelOffset" : { "x" : 1, "y" : 57 }
},
- "connect" : { "id" : "f39", "to" : "f32" }
+ "connect" : [
+ { "id" : "f39", "to" : "f32" }
+ ]
}, {
"id" : "f29",
"type" : "CallSubEnd",
@@ -350,11 +402,18 @@
"visual" : {
"at" : { "x" : 224, "y" : 512 }
},
- "connect" : { "id" : "f30", "to" : "f42" }
+ "connect" : [
+ { "id" : "f30", "to" : "f42" }
+ ]
}, {
"id" : "f33",
"type" : "Alternative",
"name" : "files size > 0",
+ "config" : {
+ "conditions" : {
+ "f38" : "in.uploadWrappers.size() > 0"
+ }
+ },
"visual" : {
"at" : { "x" : 672, "y" : 512 },
"labelOffset" : { "x" : 14, "y" : 34 }
@@ -362,9 +421,8 @@
"connect" : [
{ "id" : "f38", "to" : "f32", "via" : [ { "x" : 672, "y" : 456 }, { "x" : 224, "y" : 456 } ], "label" : {
"name" : "yes",
- "segment" : 0.5,
"offset" : { "x" : -7, "y" : -6 }
- }, "condition" : "in.uploadWrappers.size() > 0" },
+ } },
{ "id" : "f36", "to" : "f29", "label" : {
"name" : "no",
"offset" : { "x" : 5, "y" : -10 }
@@ -382,23 +440,37 @@
"visual" : {
"at" : { "x" : 544, "y" : 512 }
},
- "connect" : { "id" : "f41", "to" : "f33" }
+ "connect" : [
+ { "id" : "f41", "to" : "f33" }
+ ]
}, {
"id" : "f42",
"type" : "RestClientCall",
"name" : "Upload Document",
"config" : {
- "bodyForm" : {
- "File-Name" : "",
- "Mime-Type" : "",
- "File" : "in.file"
- },
- "path" : "/transientDocuments",
- "clientId" : "6a243983-5f6d-4278-89ec-aab09fea161c",
- "clientErrorCode" : "ivy:error:rest:client",
"method" : "JAX_RS",
- "statusErrorCode" : "ivy:error:rest:client",
- "clientCode" : [
+ "target" : {
+ "clientId" : "6a243983-5f6d-4278-89ec-aab09fea161c",
+ "path" : "/transientDocuments"
+ },
+ "body" : {
+ "type" : "FORM",
+ "mediaType" : "multipart/form-data",
+ "form" : {
+ "File-Name" : [ "" ],
+ "Mime-Type" : [ "" ],
+ "File" : [ "in.file" ]
+ },
+ "entity" : {
+ "type" : "api.rest.v6.client.TransientDocumentsBody"
+ }
+ },
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.TransientDocumentResponse"
+ }
+ },
+ "code" : [
"import com.axonivy.connector.adobe.acrobat.sign.connector.rest.UploadResult;",
"import com.axonivy.connector.adobe.acrobat.sign.connector.rest.ClientService;",
"UploadResult result = ClientService.upload(client, in.upload.filename, in.upload.bytes);",
@@ -408,11 +480,7 @@
"} else {",
" in.error = result.#error;",
"}"
- ],
- "bodyObjectType" : "api.rest.v6.client.TransientDocumentsBody",
- "resultType" : "api.rest.v6.client.TransientDocumentResponse",
- "bodyInputType" : "FORM",
- "bodyMediaType" : "multipart/form-data"
+ ]
},
"visual" : {
"at" : { "x" : 384, "y" : 512 }
@@ -431,8 +499,12 @@
"visual" : {
"at" : { "x" : 416, "y" : 552 }
},
- "connect" : { "id" : "f37", "to" : "f29", "via" : [ { "x" : 776, "y" : 552 } ] }
+ "connect" : [
+ { "id" : "f37", "to" : "f29", "via" : [ { "x" : 776, "y" : 552 } ] }
+ ]
} ],
- "connect" : { "id" : "f31", "to" : "f34" }
+ "connect" : [
+ { "id" : "f31", "to" : "f34" }
+ ]
} ]
}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/processes/connector/Users.p.json b/adobe-acrobat-sign-connector/processes/connector/Users.p.json
index 3aaf2d2..b240527 100644
--- a/adobe-acrobat-sign-connector/processes/connector/Users.p.json
+++ b/adobe-acrobat-sign-connector/processes/connector/Users.p.json
@@ -1,5 +1,5 @@
{
- "format" : "10.0.0",
+ "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "1866EF03C86C6870",
"kind" : "CALLABLE_SUB",
"config" : {
@@ -10,12 +10,14 @@
"type" : "CallSubStart",
"name" : "getUser()",
"config" : {
- "callSignature" : "getUser"
+ "signature" : "getUser"
},
"visual" : {
"at" : { "x" : 96, "y" : 64 }
},
- "connect" : { "id" : "f4", "to" : "f3" }
+ "connect" : [
+ { "id" : "f4", "to" : "f3" }
+ ]
}, {
"id" : "f1",
"type" : "CallSubEnd",
@@ -27,15 +29,21 @@
"type" : "RestClientCall",
"name" : "Get User",
"config" : {
- "path" : "/users",
- "clientId" : "83e80d77-749b-4f53-aaf5-a796f2dab100",
- "clientErrorCode" : "ivy:error:rest:client",
- "statusErrorCode" : "ivy:error:rest:client",
- "resultType" : "api.rest.v6.client.UsersInfo"
+ "target" : {
+ "clientId" : "83e80d77-749b-4f53-aaf5-a796f2dab100",
+ "path" : "/users"
+ },
+ "response" : {
+ "entity" : {
+ "type" : "api.rest.v6.client.UsersInfo"
+ }
+ }
},
"visual" : {
"at" : { "x" : 224, "y" : 64 }
},
- "connect" : { "id" : "f2", "to" : "f1" }
+ "connect" : [
+ { "id" : "f2", "to" : "f1" }
+ ]
} ]
}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetup.rddescriptor b/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetup.rddescriptor
deleted file mode 100644
index ae605f0..0000000
--- a/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetup.rddescriptor
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- viewTechnology
- JSF
-
-
diff --git a/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupData.d.json b/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupData.d.json
new file mode 100644
index 0000000..23b3f67
--- /dev/null
+++ b/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupData.d.json
@@ -0,0 +1,47 @@
+{
+ "$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
+ "simpleName" : "AdminSetupData",
+ "namespace" : "com.axonivy.connector.adobe.acrobat.sign.connector.AdminSetup",
+ "isBusinessCaseData" : false,
+ "fields" : [ {
+ "name" : "host",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "baseUri",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "authenticationUri",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "clientId",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "clientSecret",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "permissions",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "integrationKey",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "returnPage",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "oauthToken",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ }, {
+ "name" : "accessToken",
+ "type" : "String",
+ "modifiers" : [ "PERSISTENT" ]
+ } ]
+}
\ No newline at end of file
diff --git a/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupData.ivyClass b/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupData.ivyClass
deleted file mode 100644
index 6e5f069..0000000
--- a/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupData.ivyClass
+++ /dev/null
@@ -1,22 +0,0 @@
-AdminSetupData #class
-com.axonivy.connector.adobe.acrobat.sign.connector.AdminSetup #namespace
-host String #field
-host PERSISTENT #fieldModifier
-baseUri String #field
-baseUri PERSISTENT #fieldModifier
-authenticationUri String #field
-authenticationUri PERSISTENT #fieldModifier
-clientId String #field
-clientId PERSISTENT #fieldModifier
-clientSecret String #field
-clientSecret PERSISTENT #fieldModifier
-permissions String #field
-permissions PERSISTENT #fieldModifier
-integrationKey String #field
-integrationKey PERSISTENT #fieldModifier
-returnPage String #field
-returnPage PERSISTENT #fieldModifier
-oauthToken String #field
-oauthToken PERSISTENT #fieldModifier
-accessToken String #field
-accessToken PERSISTENT #fieldModifier
diff --git a/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupProcess.p.json b/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupProcess.p.json
index 4007816..3aef530 100644
--- a/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupProcess.p.json
+++ b/adobe-acrobat-sign-connector/src_hd/com/axonivy/connector/adobe/acrobat/sign/connector/AdminSetup/AdminSetupProcess.p.json
@@ -1,5 +1,5 @@
{
- "format" : "10.0.0",
+ "$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "18A8364B91F33AB9",
"kind" : "HTML_DIALOG",
"config" : {
@@ -10,13 +10,15 @@
"type" : "HtmlDialogStart",
"name" : "start()",
"config" : {
- "callSignature" : "start",
+ "signature" : "start",
"guid" : "18A8364B921D66CB"
},
"visual" : {
"at" : { "x" : 96, "y" : 64 }
},
- "connect" : { "id" : "f2", "to" : "f1" }
+ "connect" : [
+ { "id" : "f2", "to" : "f1" }
+ ]
}, {
"id" : "f1",
"type" : "HtmlDialogEnd",
@@ -33,7 +35,9 @@
"visual" : {
"at" : { "x" : 88, "y" : 280 }
},
- "connect" : { "id" : "f5", "to" : "f4" }
+ "connect" : [
+ { "id" : "f5", "to" : "f4" }
+ ]
}, {
"id" : "f6",
"type" : "HtmlDialogEnd",
@@ -45,36 +49,41 @@
"type" : "Script",
"name" : "update vars",
"config" : {
- "security" : "system",
"output" : {
"code" : [
"import com.axonivy.connector.adobe.acrobat.sign.connector.service.AdminSetupService;",
"AdminSetupService.updateVars(in);"
]
- }
+ },
+ "sudo" : true
},
"visual" : {
"at" : { "x" : 224, "y" : 280 }
},
- "connect" : { "id" : "f7", "to" : "f6" }
+ "connect" : [
+ { "id" : "f7", "to" : "f6" }
+ ]
}, {
"id" : "f8",
"type" : "HtmlDialogMethodStart",
"name" : "preRender(ComponentSystemEvent)",
"config" : {
- "callSignature" : "preRender",
- "guid" : "18A8A15BDBC42375",
+ "signature" : "preRender",
"input" : {
"params" : [
- { "name" : "event", "type" : "javax.faces.event.ComponentSystemEvent" }
- ]
- }
+ { "name" : "event", "type" : "javax.faces.event.ComponentSystemEvent", "desc" : "" }
+ ],
+ "map" : { }
+ },
+ "guid" : "18A8A15BDBC42375"
},
"visual" : {
"at" : { "x" : 96, "y" : 152 },
"labelOffset" : { "x" : 19, "y" : 51 }
},
- "connect" : { "id" : "f12", "to" : "f11" }
+ "connect" : [
+ { "id" : "f12", "to" : "f11" }
+ ]
}, {
"id" : "f9",
"type" : "HtmlDialogEnd",
@@ -86,18 +95,20 @@
"type" : "Script",
"name" : "init vars",
"config" : {
- "security" : "system",
"output" : {
"code" : [
"import com.axonivy.connector.adobe.acrobat.sign.connector.service.AdminSetupService;",
"AdminSetupService.initVars(in);"
]
- }
+ },
+ "sudo" : true
},
"visual" : {
"at" : { "x" : 224, "y" : 152 }
},
- "connect" : { "id" : "f10", "to" : "f9" }
+ "connect" : [
+ { "id" : "f10", "to" : "f9" }
+ ]
}, {
"id" : "f13",
"type" : "HtmlDialogEventStart",
@@ -108,7 +119,9 @@
"visual" : {
"at" : { "x" : 88, "y" : 392 }
},
- "connect" : { "id" : "f20", "to" : "f18" }
+ "connect" : [
+ { "id" : "f20", "to" : "f18" }
+ ]
}, {
"id" : "f14",
"type" : "HtmlDialogEnd",
@@ -120,17 +133,19 @@
"type" : "Script",
"name" : "OAuth redirect",
"config" : {
- "security" : "system",
"output" : {
"code" : [
"import com.axonivy.connector.adobe.acrobat.sign.connector.service.AdminSetupService;",
"AdminSetupService.authRedirect();"
]
- }
+ },
+ "sudo" : true
},
"visual" : {
"at" : { "x" : 224, "y" : 392 }
},
- "connect" : { "id" : "f17", "to" : "f14" }
+ "connect" : [
+ { "id" : "f17", "to" : "f14" }
+ ]
} ]
}
\ No newline at end of file