diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..896a9a5 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 \ No newline at end of file diff --git a/git.iml b/git.iml new file mode 100644 index 0000000..48426fc --- /dev/null +++ b/git.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/idp-connector-demo/.settings/org.eclipse.core.resources.prefs b/idp-connector-demo/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..896a9a5 --- /dev/null +++ b/idp-connector-demo/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 \ No newline at end of file diff --git a/idp-connector-demo/dataclasses/com/axonivy/connector/idp/connector/demo/Data.d.json b/idp-connector-demo/dataclasses/com/axonivy/connector/idp/connector/demo/Data.d.json index 67f82db..fd0c0a7 100644 --- a/idp-connector-demo/dataclasses/com/axonivy/connector/idp/connector/demo/Data.d.json +++ b/idp-connector-demo/dataclasses/com/axonivy/connector/idp/connector/demo/Data.d.json @@ -41,7 +41,6 @@ "type" : "ch.ivyteam.ivy.bpm.error.BpmError" }, { "name" : "sampleFile", - "type" : "com.axonivy.connector.idp.demo.SampleFile", - "modifiers" : [ "PERSISTENT" ] + "type" : "com.axonivy.connector.idp.demo.SampleFile" } ] } \ No newline at end of file diff --git a/idp-connector-demo/pom.xml b/idp-connector-demo/pom.xml index 5df1d7b..130d6cd 100644 --- a/idp-connector-demo/pom.xml +++ b/idp-connector-demo/pom.xml @@ -1,26 +1,31 @@ - - 4.0.0 - com.axonivy.connector.idp - idp-connector-demo - 12.0.3-SNAPSHOT - iar - - - com.axonivy.connector.idp - idp-connector - ${project.version} - iar - - - - - - com.axonivy.ivy.ci - project-build-plugin - 12.0.0 - true - - - + + 4.0.0 + com.axonivy.connector.idp + idp-connector-demo + 12.0.3-SNAPSHOT + iar + + UTF-8 + + + + com.axonivy.connector.idp + idp-connector + ${project.version} + iar + + + + + + com.axonivy.ivy.ci + project-build-plugin + 12.0.0 + true + + + diff --git a/idp-connector-demo/processes/IDPDemo.p.json b/idp-connector-demo/processes/IDPDemo.p.json index 31117e8..136c462 100644 --- a/idp-connector-demo/processes/IDPDemo.p.json +++ b/idp-connector-demo/processes/IDPDemo.p.json @@ -8,7 +8,7 @@ "id" : "f1", "type" : "TaskEnd", "visual" : { - "at" : { "x" : 1617, "y" : 312 } + "at" : { "x" : 1480, "y" : 416 } } }, { "id" : "f11", @@ -29,7 +29,7 @@ } }, "visual" : { - "at" : { "x" : 1136, "y" : 312 } + "at" : { "x" : 944, "y" : 416 } }, "connect" : [ { "id" : "f24", "to" : "f23" } @@ -56,7 +56,7 @@ "demo" ], "visual" : { - "at" : { "x" : 304, "y" : 312 } + "at" : { "x" : 263, "y" : 416 } }, "connect" : [ { "id" : "f47", "to" : "f39" } @@ -66,10 +66,11 @@ "type" : "DialogCall", "name" : "File Selection", "config" : { - "dialog" : "com.axonivy.connector.idp.connector.demo.FileSelection:start(com.axonivy.connector.idp.demo.Demo)", + "dialog" : "com.axonivy.connector.idp.connector.demo.FileSelection:start(com.axonivy.connector.idp.demo.Demo,String,com.fasterxml.jackson.databind.JsonNode,java.util.UUID)", "call" : { "map" : { - "param.demo" : "com.axonivy.connector.idp.demo.Demo.SPLITTING_DOCUMENT" + "param.demo" : "com.axonivy.connector.idp.demo.Demo.SPLITTING_DOCUMENT", + "param.workflowId" : "in.workflowId" }, "code" : [ "// set taskname", @@ -80,40 +81,13 @@ "output" : { "map" : { "out" : "in", - "out.file" : "result.file" - } - } - }, - "visual" : { - "at" : { "x" : 440, "y" : 312 } - }, - "connect" : [ - { "id" : "f45", "to" : "f44" } - ] - }, { - "id" : "f44", - "type" : "SubProcessCall", - "name" : "Splitting file", - "config" : { - "processCall" : "ProcessingService:processing(String,java.io.File)", - "call" : { - "map" : { - "param.workfowId" : "in.workflowId", - "param.file" : "in.file" + "out.file" : "result.file", + "out.processingId" : "result.processingId" } - }, - "output" : { - "code" : [ - "", - "ivy.log.debug(\"processingid={0}\", result.processingId.toString());", - "", - "out.processingId = result.#processingId;", - "out.error = result.#error;" - ] } }, "visual" : { - "at" : { "x" : 616, "y" : 312 } + "at" : { "x" : 407, "y" : 416 } }, "connect" : [ { "id" : "f17", "to" : "f6" } @@ -137,7 +111,7 @@ } }, "visual" : { - "at" : { "x" : 792, "y" : 312 } + "at" : { "x" : 592, "y" : 416 } }, "connect" : [ { "id" : "f7", "to" : "f27" } @@ -160,37 +134,11 @@ "demo" ], "visual" : { - "at" : { "x" : 296, "y" : 592 } + "at" : { "x" : 263, "y" : 696 } }, "connect" : [ { "id" : "f16", "to" : "f10" } ] - }, { - "id" : "f14", - "type" : "SubProcessCall", - "name" : "Extract file", - "config" : { - "processCall" : "ProcessingService:processing(String,java.io.File)", - "call" : { - "map" : { - "param.workfowId" : "in.workflowId", - "param.file" : "in.file" - } - }, - "output" : { - "code" : [ - "out.processingId = result.processingId;", - "out.processingResultNode = result.processingResult;" - ] - } - }, - "visual" : { - "at" : { "x" : 616, "y" : 592 }, - "size" : { "width" : 120 } - }, - "connect" : [ - { "id" : "f32", "to" : "f33" } - ] }, { "id" : "f19", "type" : "DialogCall", @@ -212,7 +160,7 @@ } }, "visual" : { - "at" : { "x" : 1136, "y" : 591 }, + "at" : { "x" : 951, "y" : 696 }, "size" : { "width" : 124, "height" : 63 } }, "connect" : [ @@ -222,7 +170,7 @@ "id" : "f20", "type" : "TaskEnd", "visual" : { - "at" : { "x" : 1617, "y" : 592 } + "at" : { "x" : 1479, "y" : 696 } } }, { "id" : "f33", @@ -246,7 +194,7 @@ } }, "visual" : { - "at" : { "x" : 792, "y" : 592 } + "at" : { "x" : 584, "y" : 696 } }, "connect" : [ { "id" : "f26", "to" : "f9" } @@ -273,7 +221,7 @@ } }, "visual" : { - "at" : { "x" : 975, "y" : 591 }, + "at" : { "x" : 758, "y" : 696 }, "size" : { "width" : 127, "height" : 63 } }, "connect" : [ @@ -284,10 +232,11 @@ "type" : "DialogCall", "name" : "File Selection", "config" : { - "dialog" : "com.axonivy.connector.idp.connector.demo.FileSelection:start(com.axonivy.connector.idp.demo.Demo)", + "dialog" : "com.axonivy.connector.idp.connector.demo.FileSelection:start(com.axonivy.connector.idp.demo.Demo,String,com.fasterxml.jackson.databind.JsonNode,java.util.UUID)", "call" : { "map" : { - "param.demo" : "com.axonivy.connector.idp.demo.Demo.EXTRACTION" + "param.demo" : "com.axonivy.connector.idp.demo.Demo.EXTRACTION", + "param.workflowId" : "in.workflowId" }, "code" : [ "// set taskname", @@ -299,15 +248,17 @@ "map" : { "out" : "in", "out.file" : "result.file", + "out.processingId" : "result.processingId", + "out.processingResultNode" : "result.processingResultNode", "out.sampleFile" : "result.selectedFile" } } }, "visual" : { - "at" : { "x" : 440, "y" : 592 } + "at" : { "x" : 408, "y" : 696 } }, "connect" : [ - { "id" : "f30", "to" : "f14" } + { "id" : "f14", "to" : "f33" } ] }, { "id" : "f34", @@ -325,7 +276,7 @@ "demo" ], "visual" : { - "at" : { "x" : 296, "y" : 864 } + "at" : { "x" : 263, "y" : 968 } }, "connect" : [ { "id" : "f38", "to" : "f36" } @@ -334,7 +285,7 @@ "id" : "f35", "type" : "TaskEnd", "visual" : { - "at" : { "x" : 760, "y" : 864 } + "at" : { "x" : 727, "y" : 968 } } }, { "id" : "f36", @@ -363,7 +314,7 @@ } }, "visual" : { - "at" : { "x" : 440, "y" : 864 } + "at" : { "x" : 407, "y" : 968 } }, "connect" : [ { "id" : "f42", "to" : "f40" } @@ -385,7 +336,7 @@ } }, "visual" : { - "at" : { "x" : 616, "y" : 864 } + "at" : { "x" : 583, "y" : 968 } }, "connect" : [ { "id" : "f37", "to" : "f35" } @@ -413,7 +364,7 @@ } }, "visual" : { - "at" : { "x" : 975, "y" : 312 }, + "at" : { "x" : 759, "y" : 416 }, "size" : { "width" : 127, "height" : 63 } }, "connect" : [ @@ -427,7 +378,7 @@ "or your custom workflow(UUID format)" ], "visual" : { - "at" : { "x" : 456, "y" : 463 }, + "at" : { "x" : 407, "y" : 567 }, "size" : { "width" : 378, "height" : 51 } }, "connect" : [ @@ -454,7 +405,7 @@ } }, "visual" : { - "at" : { "x" : 1496, "y" : 311 }, + "at" : { "x" : 1303, "y" : 416 }, "size" : { "width" : 127, "height" : 63 } }, "connect" : [ @@ -480,7 +431,7 @@ } }, "visual" : { - "at" : { "x" : 1496, "y" : 591 }, + "at" : { "x" : 1302, "y" : 696 }, "size" : { "width" : 127, "height" : 63 } }, "connect" : [ @@ -507,7 +458,7 @@ } }, "visual" : { - "at" : { "x" : 1328, "y" : 312 }, + "at" : { "x" : 1120, "y" : 416 }, "size" : { "width" : 120 } }, "connect" : [ @@ -534,7 +485,7 @@ } }, "visual" : { - "at" : { "x" : 1336, "y" : 592 }, + "at" : { "x" : 1119, "y" : 696 }, "size" : { "width" : 120 } }, "connect" : [ diff --git a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/ExtractionResult/ExtractionResultData.d.json b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/ExtractionResult/ExtractionResultData.d.json index 57d3420..614494e 100644 --- a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/ExtractionResult/ExtractionResultData.d.json +++ b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/ExtractionResult/ExtractionResultData.d.json @@ -9,20 +9,17 @@ "modifiers" : [ "PERSISTENT" ] }, { "name" : "resultNode", - "type" : "com.fasterxml.jackson.databind.JsonNode", - "modifiers" : [ "PERSISTENT" ] + "type" : "com.fasterxml.jackson.databind.JsonNode" }, { "name" : "extractionsNode", - "type" : "com.fasterxml.jackson.databind.JsonNode", - "modifiers" : [ "PERSISTENT" ] + "type" : "com.fasterxml.jackson.databind.JsonNode" }, { "name" : "prettyJson", "type" : "String", "modifiers" : [ "PERSISTENT" ] }, { "name" : "extractions", - "type" : "java.util.List", - "modifiers" : [ "PERSISTENT" ] + "type" : "java.util.List" }, { "name" : "lineItemHeader", "type" : "java.util.List", @@ -33,7 +30,6 @@ "modifiers" : [ "PERSISTENT" ] }, { "name" : "selectedSampleFile", - "type" : "com.axonivy.connector.idp.demo.SampleFile", - "modifiers" : [ "PERSISTENT" ] + "type" : "com.axonivy.connector.idp.demo.SampleFile" } ] } \ No newline at end of file diff --git a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelection.xhtml b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelection.xhtml index c20e177..954d8f4 100644 --- a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelection.xhtml +++ b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelection.xhtml @@ -26,9 +26,6 @@ - @@ -40,7 +37,7 @@ - diff --git a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelectionData.d.json b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelectionData.d.json index af79a9b..72836ff 100644 --- a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelectionData.d.json +++ b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelectionData.d.json @@ -5,23 +5,31 @@ "isBusinessCaseData" : false, "fields" : [ { "name" : "demo", - "type" : "com.axonivy.connector.idp.demo.Demo", - "modifiers" : [ "PERSISTENT" ] + "type" : "com.axonivy.connector.idp.demo.Demo" }, { "name" : "uploadedFile", - "type" : "org.primefaces.model.file.UploadedFile", - "modifiers" : [ "PERSISTENT" ] + "type" : "org.primefaces.model.file.UploadedFile" }, { "name" : "sampleFiles", - "type" : "java.util.List", - "modifiers" : [ "PERSISTENT" ] + "type" : "java.util.List" }, { "name" : "file", "type" : "File", "modifiers" : [ "PERSISTENT" ] }, { "name" : "selectedSampleFile", - "type" : "com.axonivy.connector.idp.demo.SampleFile", - "modifiers" : [ "PERSISTENT" ] + "type" : "com.axonivy.connector.idp.demo.SampleFile" + }, { + "name" : "workflowId", + "type" : "String" + }, { + "name" : "processingResultNode", + "type" : "com.fasterxml.jackson.databind.JsonNode" + }, { + "name" : "processingId", + "type" : "java.util.UUID" + }, { + "name" : "error", + "type" : "ch.ivyteam.ivy.bpm.error.BpmError" } ] } \ No newline at end of file diff --git a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelectionProcess.p.json b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelectionProcess.p.json index a3eab01..3fd4548 100644 --- a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelectionProcess.p.json +++ b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/FileSelection/FileSelectionProcess.p.json @@ -8,31 +8,39 @@ "elements" : [ { "id" : "f0", "type" : "HtmlDialogStart", - "name" : "start(Demo)", + "name" : "start(Demo,String,JsonNode,UUID)", "config" : { "signature" : "start", "input" : { "params" : [ - { "name" : "demo", "type" : "com.axonivy.connector.idp.demo.Demo", "desc" : "" } + { "name" : "demo", "type" : "com.axonivy.connector.idp.demo.Demo", "desc" : "" }, + { "name" : "workflowId", "type" : "String", "desc" : "" }, + { "name" : "processingResultNode", "type" : "com.fasterxml.jackson.databind.JsonNode", "desc" : "" }, + { "name" : "processingId", "type" : "java.util.UUID", "desc" : "" } ], "map" : { - "out.demo" : "param.demo" + "out.demo" : "param.demo", + "out.workflowId" : "param.workflowId" } }, "result" : { "params" : [ { "name" : "file", "type" : "java.io.File", "desc" : "" }, - { "name" : "selectedFile", "type" : "com.axonivy.connector.idp.demo.SampleFile", "desc" : "" } + { "name" : "selectedFile", "type" : "com.axonivy.connector.idp.demo.SampleFile", "desc" : "" }, + { "name" : "processingId", "type" : "java.util.UUID", "desc" : "" }, + { "name" : "processingResultNode", "type" : "com.fasterxml.jackson.databind.JsonNode", "desc" : "" } ], "map" : { "result.file" : "in.selectedSampleFile.getFile().getJavaFile()", - "result.selectedFile" : "in.selectedSampleFile" + "result.selectedFile" : "in.selectedSampleFile", + "result.processingId" : "in.processingId", + "result.processingResultNode" : "in.processingResultNode" } }, "guid" : "19221E6F3FB595E2" }, "visual" : { - "at" : { "x" : 96, "y" : 64 } + "at" : { "x" : 32, "y" : 64 } }, "connect" : [ { "id" : "f7", "to" : "f6" } @@ -46,21 +54,21 @@ }, { "id" : "f3", "type" : "HtmlDialogEventStart", - "name" : "close", + "name" : "proceed", "config" : { "guid" : "19221E6F42C59C6F" }, "visual" : { - "at" : { "x" : 96, "y" : 160 } + "at" : { "x" : 32, "y" : 280 } }, "connect" : [ - { "id" : "f5", "to" : "f4" } + { "id" : "f5", "to" : "f13" } ] }, { "id" : "f4", "type" : "HtmlDialogExit", "visual" : { - "at" : { "x" : 224, "y" : 160 } + "at" : { "x" : 584, "y" : 280 } } }, { "id" : "f6", @@ -71,7 +79,6 @@ "code" : [ "import java.util.Arrays;", "import com.axonivy.connector.idp.demo.SampleFile;", - "", "in.sampleFiles = SampleFile.getDemo(in.demo);", "in.selectedSampleFile = in.sampleFiles.get(0);" ] @@ -83,5 +90,134 @@ "connect" : [ { "id" : "f2", "to" : "f1" } ] + }, { + "id" : "f18", + "type" : "Script", + "name" : "Show error message", + "config" : { + "output" : { + "code" : [ + "import javax.faces.application.FacesMessage;", + "import org.primefaces.context.RequestContext;", + "import org.primefaces.component.inputtext.InputText;", + "import javax.faces.context.FacesContext;", + "FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, in.error.getErrorMessage(), null));" + ] + } + }, + "visual" : { + "at" : { "x" : 360, "y" : 280 } + }, + "connect" : [ + { "id" : "f11", "to" : "f9" } + ] + }, { + "id" : "f9", + "type" : "HtmlDialogEnd", + "visual" : { + "at" : { "x" : 520, "y" : 280 } + } + }, { + "id" : "f14", + "type" : "SubProcessCall", + "name" : "Extract file", + "config" : { + "processCall" : "ProcessingService:processing(String,java.io.File)", + "call" : { + "map" : { + "param.workfowId" : "in.workflowId", + "param.file" : "in.selectedSampleFile.getFile().getJavaFile()" + } + }, + "output" : { + "map" : { + "out" : "in", + "out.error" : "result.#error", + "out.processingId" : "result.#processingId", + "out.processingResultNode" : "result.#processingResult" + } + } + }, + "visual" : { + "at" : { "x" : 224, "y" : 376 }, + "size" : { "width" : 120 } + }, + "connect" : [ + { "id" : "f12", "to" : "f8" } + ] + }, { + "id" : "f44", + "type" : "SubProcessCall", + "name" : "Splitting file", + "config" : { + "processCall" : "ProcessingService:processing(String,java.io.File)", + "call" : { + "map" : { + "param.workfowId" : "in.workflowId", + "param.file" : "in.selectedSampleFile.getFile().getJavaFile()" + } + }, + "output" : { + "map" : { + "out" : "in", + "out.error" : "result.#error", + "out.processingId" : "result.#processingId" + } + } + }, + "visual" : { + "at" : { "x" : 224, "y" : 176 } + }, + "connect" : [ + { "id" : "f17", "to" : "f19" } + ] + }, { + "id" : "f13", + "type" : "Alternative", + "config" : { + "conditions" : { + "f15" : "in.sampleFiles.size() == 1" + } + }, + "visual" : { + "at" : { "x" : 112, "y" : 280 }, + "labelOffset" : { "x" : 14, "y" : 34 } + }, + "connect" : [ + { "id" : "f15", "to" : "f44", "via" : [ { "x" : 112, "y" : 176 } ] }, + { "id" : "f16", "to" : "f14", "via" : [ { "x" : 112, "y" : 376 } ] } + ] + }, { + "id" : "f19", + "type" : "Alternative", + "config" : { + "conditions" : { + "f20" : "in.#error == null" + } + }, + "visual" : { + "at" : { "x" : 360, "y" : 176 }, + "labelOffset" : { "x" : 14, "y" : 34 } + }, + "connect" : [ + { "id" : "f20", "to" : "f4", "via" : [ { "x" : 584, "y" : 176 } ], "color" : "default" }, + { "id" : "f21", "to" : "f18" } + ] + }, { + "id" : "f8", + "type" : "Alternative", + "config" : { + "conditions" : { + "f10" : "in.#error == null" + } + }, + "visual" : { + "at" : { "x" : 360, "y" : 376 }, + "labelOffset" : { "x" : 14, "y" : 34 } + }, + "connect" : [ + { "id" : "f10", "to" : "f4", "via" : [ { "x" : 584, "y" : 376 } ], "color" : "default" }, + { "id" : "f22", "to" : "f18" } + ] } ] } \ No newline at end of file diff --git a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/ReviewDocumentProcessing/ReviewDocumentProcessingData.d.json b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/ReviewDocumentProcessing/ReviewDocumentProcessingData.d.json index b1ef8a5..f046305 100644 --- a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/ReviewDocumentProcessing/ReviewDocumentProcessingData.d.json +++ b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/ReviewDocumentProcessing/ReviewDocumentProcessingData.d.json @@ -14,7 +14,6 @@ }, { "name" : "workflowType", "type" : "com.axonivy.connector.idp.connector.WorkflowType", - "comment" : "document-splitting or extraction", - "modifiers" : [ "PERSISTENT" ] + "comment" : "document-splitting or extraction" } ] } \ No newline at end of file diff --git a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/SplittingResult/SplittingResultData.d.json b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/SplittingResult/SplittingResultData.d.json index e6eb748..884b278 100644 --- a/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/SplittingResult/SplittingResultData.d.json +++ b/idp-connector-demo/src_hd/com/axonivy/connector/idp/connector/demo/SplittingResult/SplittingResultData.d.json @@ -9,32 +9,26 @@ "modifiers" : [ "PERSISTENT" ] }, { "name" : "subDocuments", - "type" : "java.util.List", - "modifiers" : [ "PERSISTENT" ] + "type" : "java.util.List" }, { "name" : "file", - "type" : "java.io.File", - "modifiers" : [ "PERSISTENT" ] + "type" : "java.io.File" }, { "name" : "subDocument", - "type" : "com.axonivy.connector.idp.connector.model.SubDocument", - "modifiers" : [ "PERSISTENT" ] + "type" : "com.axonivy.connector.idp.connector.model.SubDocument" }, { "name" : "streamedContent", - "type" : "org.primefaces.model.StreamedContent", - "modifiers" : [ "PERSISTENT" ] + "type" : "org.primefaces.model.StreamedContent" }, { "name" : "prettyJson", "type" : "String", "modifiers" : [ "PERSISTENT" ] }, { "name" : "processingResult", - "type" : "com.fasterxml.jackson.databind.JsonNode", - "modifiers" : [ "PERSISTENT" ] + "type" : "com.fasterxml.jackson.databind.JsonNode" }, { "name" : "genericSplitting", - "type" : "com.axonivy.connector.idp.connector.model.GenericSplittingProcessingCompleted", - "modifiers" : [ "PERSISTENT" ] + "type" : "com.axonivy.connector.idp.connector.model.GenericSplittingProcessingCompleted" }, { "name" : "selectedSubDocumentIndex", "type" : "Integer", diff --git a/idp-connector-product/pom.xml b/idp-connector-product/pom.xml index da6b210..c8c67a0 100644 --- a/idp-connector-product/pom.xml +++ b/idp-connector-product/pom.xml @@ -1,69 +1,82 @@ - - 4.0.0 - com.axonivy.connector.idp - idp-connector-product - 12.0.3-SNAPSHOT - pom + + 4.0.0 + com.axonivy.connector.idp + idp-connector-product + 12.0.3-SNAPSHOT + pom - - ../idp-connector/config/variables.yaml - + + ../idp-connector/config/variables.yaml + UTF-8 + - - - - org.apache.maven.plugins - maven-assembly-plugin - 3.3.0 - - - package - - single - - - false - - zip.xml - - - - - - - maven-antrun-plugin - 1.7 - - - generate-sources - - ${skip-readme} - - - - - - - - - - - - - run - - - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - 3.0.0-M1 - - - - + + + + org.apache.maven.plugins + maven-assembly-plugin + 3.3.0 + + + package + + single + + + false + + zip.xml + + + + + + + maven-antrun-plugin + 1.7 + + + generate-sources + + ${skip-readme} + + + + + + + + + + + + + run + + + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 3.0.0-M1 + + + + diff --git a/idp-connector-test/.settings/org.eclipse.core.resources.prefs b/idp-connector-test/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..896a9a5 --- /dev/null +++ b/idp-connector-test/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 \ No newline at end of file diff --git a/idp-connector-test/pom.xml b/idp-connector-test/pom.xml index 28e3a30..3af2efe 100644 --- a/idp-connector-test/pom.xml +++ b/idp-connector-test/pom.xml @@ -1,50 +1,55 @@ - - 4.0.0 - com.axonivy.connector.idp - idp-connector-test - 12.0.3-SNAPSHOT - iar - - - com.axonivy.connector.idp - idp-connector - ${project.version} - iar - - - com.axonivy.ivy.test - unit-tester - 12.0.0 - test - - - com.axonivy.connector.idp - idp-connector-demo - ${project.version} - iar - - - - src_test - - - - maven-deploy-plugin - 3.0.0-M1 - - true - - - - - - - com.axonivy.ivy.ci - project-build-plugin - 12.0.0 - true - - - + + 4.0.0 + com.axonivy.connector.idp + idp-connector-test + 12.0.3-SNAPSHOT + iar + + UTF-8 + + + + com.axonivy.connector.idp + idp-connector + ${project.version} + iar + + + com.axonivy.ivy.test + unit-tester + 12.0.0 + test + + + com.axonivy.connector.idp + idp-connector-demo + ${project.version} + iar + + + + src_test + + + + maven-deploy-plugin + 3.0.0-M1 + + true + + + + + + + com.axonivy.ivy.ci + project-build-plugin + 12.0.0 + true + + + diff --git a/idp-connector/.settings/org.eclipse.core.resources.prefs b/idp-connector/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..896a9a5 --- /dev/null +++ b/idp-connector/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 \ No newline at end of file diff --git a/idp-connector/pom.xml b/idp-connector/pom.xml index 676f29c..f0cb25f 100644 --- a/idp-connector/pom.xml +++ b/idp-connector/pom.xml @@ -1,18 +1,23 @@ - - 4.0.0 - com.axonivy.connector.idp - idp-connector - 12.0.3-SNAPSHOT - iar - - - - com.axonivy.ivy.ci - project-build-plugin - 12.0.0 - true - - - + + 4.0.0 + com.axonivy.connector.idp + idp-connector + 12.0.3-SNAPSHOT + iar + + UTF-8 + + + + + com.axonivy.ivy.ci + project-build-plugin + 12.0.0 + true + + + diff --git a/pom.xml b/pom.xml index f3ed762..60b7a18 100644 --- a/pom.xml +++ b/pom.xml @@ -1,43 +1,48 @@ - - 4.0.0 - com.axonivy.connector.idp - idp-connector - idp-connector-modules - 12.0.3-SNAPSHOT - pom + + 4.0.0 + com.axonivy.connector.idp + idp-connector + idp-connector-modules + 12.0.3-SNAPSHOT + pom + + UTF-8 + + + ${project.name} + ${project.name}-demo + ${project.name}-test + ${project.name}-product + - - ${project.name} - ${project.name}-demo - ${project.name}-test - ${project.name}-product - + + + scm:git:https://github.com/axonivy-market/${project.name}.git + HEAD + - - scm:git:https://github.com/axonivy-market/${project.name}.git - HEAD - - - - - - - maven-deploy-plugin - 3.0.0-M1 - - true - - - - org.apache.maven.plugins - maven-release-plugin - 3.0.0-M4 - - v@{project.version} - - - - - + + + + + maven-deploy-plugin + 3.0.0-M1 + + true + + + + org.apache.maven.plugins + maven-release-plugin + 3.0.0-M4 + + v@{project.version} + + + + +