diff --git a/successfactors-connector/dataclasses/connector/Section1Data.ivyClass b/successfactors-connector/dataclasses/connector/Section1Data.ivyClass new file mode 100644 index 0000000..e7c16f6 --- /dev/null +++ b/successfactors-connector/dataclasses/connector/Section1Data.ivyClass @@ -0,0 +1,5 @@ +Section1Data #class +connector #namespace +error ch.ivyteam.ivy.bpm.error.BpmError #field +param connector.OdataParams #field +sections List #field diff --git a/successfactors-connector/dataclasses/connector/Section2Data.ivyClass b/successfactors-connector/dataclasses/connector/Section2Data.ivyClass new file mode 100644 index 0000000..7d07214 --- /dev/null +++ b/successfactors-connector/dataclasses/connector/Section2Data.ivyClass @@ -0,0 +1,5 @@ +Section2Data #class +connector #namespace +error ch.ivyteam.ivy.bpm.error.BpmError #field +param connector.OdataParams #field +sections java.util.List #field diff --git a/successfactors-connector/dataclasses/connector/Section3Data.ivyClass b/successfactors-connector/dataclasses/connector/Section3Data.ivyClass new file mode 100644 index 0000000..09e72c7 --- /dev/null +++ b/successfactors-connector/dataclasses/connector/Section3Data.ivyClass @@ -0,0 +1,5 @@ +Section3Data #class +connector #namespace +error ch.ivyteam.ivy.bpm.error.BpmError #field +param connector.OdataParams #field +sections List #field diff --git a/successfactors-connector/dataclasses/connector/Section4Data.ivyClass b/successfactors-connector/dataclasses/connector/Section4Data.ivyClass new file mode 100644 index 0000000..251476e --- /dev/null +++ b/successfactors-connector/dataclasses/connector/Section4Data.ivyClass @@ -0,0 +1,5 @@ +Section4Data #class +connector #namespace +error ch.ivyteam.ivy.bpm.error.BpmError #field +param connector.OdataParams #field +sections List #field diff --git a/successfactors-connector/processes/connector/Section1.p.json b/successfactors-connector/processes/connector/Section1.p.json new file mode 100644 index 0000000..5462e58 --- /dev/null +++ b/successfactors-connector/processes/connector/Section1.p.json @@ -0,0 +1,97 @@ +{ + "format" : "10.0.0", + "id" : "18BCCA676FE32F11", + "kind" : "CALLABLE_SUB", + "config" : { + "data" : "connector.Section1Data" + }, + "elements" : [ { + "id" : "f1", + "type" : "CallSubEnd", + "visual" : { + "at" : { "x" : 480, "y" : 88 } + } + }, { + "id" : "f3", + "type" : "CallSubStart", + "name" : "getSections", + "config" : { + "callSignature" : "getSections", + "input" : { + "params" : [ + { "name" : "filter", "type" : "String" }, + { "name" : "count", "type" : "Boolean" }, + { "name" : "top", "type" : "Integer" }, + { "name" : "skip", "type" : "Integer" }, + { "name" : "orderby", "type" : "List" }, + { "name" : "select", "type" : "List" }, + { "name" : "expand", "type" : "List" } + ], + "map" : { + "out.param.count" : "param.#count", + "out.param.expand" : "param.#expand", + "out.param.filter" : "param.#filter", + "out.param.orderBy" : "param.#orderby", + "out.param.select" : "param.#select", + "out.param.skip" : "param.#skip", + "out.param.top" : "param.#top" + } + }, + "result" : { + "params" : [ + { "name" : "sections", "type" : "java.util.List" } + ], + "map" : { + "result.sections" : "in.sections" + } + } + }, + "visual" : { + "at" : { "x" : 184, "y" : 88 } + }, + "connect" : { "id" : "f7", "to" : "f5" } + }, { + "id" : "f5", + "type" : "RestClientCall", + "name" : "call rest", + "config" : { + "path" : "/cust_Section", + "clientId" : "4c029770-6b05-4cf7-9b23-b2434bb500d6", + "clientErrorCode" : "ivy:error:rest:client", + "queryParams" : { + "$top" : "in.param.#top is initialized ? in.param.#top : null", + "$skip" : "in.param.#skip is initialized ? in.param.#skip : null", + "$filter" : "in.param.#filter is initialized ? in.param.#filter : null", + "$count" : "in.param.#count is initialized ? in.param.#count : null", + "$orderby" : "in.param.#orderBy", + "$select" : "in.param.#select", + "$expand" : "in.param.#expand" + }, + "statusErrorCode" : "ivy:error:rest:client", + "responseMapping" : { + "out.sections" : "result.value" + }, + "resultType" : "com.axonivy.connector.successfactors.connector.rest.CollectionOfCustSection" + }, + "visual" : { + "at" : { "x" : 344, "y" : 88 } + }, + "boundaries" : [ { + "id" : "f6", + "type" : "ErrorBoundaryEvent", + "config" : { + "output" : { + "map" : { + "out" : "in", + "out.error" : "error" + } + } + }, + "visual" : { + "at" : { "x" : 368, "y" : 122 } + }, + "connect" : { "id" : "f9", "to" : "f1", "via" : [ { "x" : 480, "y" : 122 } ] } + } ], + "connect" : { "id" : "f2", "to" : "f1" } + } ] +} \ No newline at end of file diff --git a/successfactors-connector/processes/connector/Section2.p.json b/successfactors-connector/processes/connector/Section2.p.json new file mode 100644 index 0000000..dd8cd57 --- /dev/null +++ b/successfactors-connector/processes/connector/Section2.p.json @@ -0,0 +1,97 @@ +{ + "format" : "10.0.0", + "id" : "18BCCBA104F15BCA", + "kind" : "CALLABLE_SUB", + "config" : { + "data" : "connector.Section2Data" + }, + "elements" : [ { + "id" : "f3", + "type" : "CallSubEnd", + "visual" : { + "at" : { "x" : 560, "y" : 272 } + } + }, { + "id" : "f4", + "type" : "CallSubStart", + "name" : "getSections", + "config" : { + "callSignature" : "getSections", + "input" : { + "params" : [ + { "name" : "filter", "type" : "String" }, + { "name" : "count", "type" : "Boolean" }, + { "name" : "top", "type" : "Integer" }, + { "name" : "skip", "type" : "Integer" }, + { "name" : "orderby", "type" : "List" }, + { "name" : "select", "type" : "List" }, + { "name" : "expand", "type" : "List" } + ], + "map" : { + "out.param.count" : "param.#count", + "out.param.expand" : "param.#expand", + "out.param.filter" : "param.#filter", + "out.param.orderBy" : "param.#orderby", + "out.param.select" : "param.#select", + "out.param.skip" : "param.#skip", + "out.param.top" : "param.#top" + } + }, + "result" : { + "params" : [ + { "name" : "sections", "type" : "java.util.List" } + ], + "map" : { + "result.sections" : "in.sections" + } + } + }, + "visual" : { + "at" : { "x" : 264, "y" : 272 } + }, + "connect" : { "id" : "f8", "to" : "f5" } + }, { + "id" : "f5", + "type" : "RestClientCall", + "name" : "call rest", + "config" : { + "path" : "/cust_Section_2", + "clientId" : "4c029770-6b05-4cf7-9b23-b2434bb500d6", + "clientErrorCode" : "ivy:error:rest:client", + "queryParams" : { + "$top" : "in.param.#top is initialized ? in.param.#top : null", + "$skip" : "in.param.#skip is initialized ? in.param.#skip : null", + "$filter" : "in.param.#filter is initialized ? in.param.#filter : null", + "$count" : "in.param.#count is initialized ? in.param.#count : null", + "$orderby" : "in.param.#orderBy", + "$select" : "in.param.#select", + "$expand" : "in.param.#expand" + }, + "statusErrorCode" : "ivy:error:rest:client", + "responseMapping" : { + "out.sections" : "result.value" + }, + "resultType" : "com.axonivy.connector.successfactors.connector.rest.CollectionOfCustSection2" + }, + "visual" : { + "at" : { "x" : 424, "y" : 272 } + }, + "boundaries" : [ { + "id" : "f6", + "type" : "ErrorBoundaryEvent", + "config" : { + "output" : { + "map" : { + "out" : "in", + "out.error" : "error" + } + } + }, + "visual" : { + "at" : { "x" : 448, "y" : 306 } + }, + "connect" : { "id" : "f9", "to" : "f3", "via" : [ { "x" : 560, "y" : 306 } ] } + } ], + "connect" : { "id" : "f7", "to" : "f3" } + } ] +} \ No newline at end of file diff --git a/successfactors-connector/processes/connector/Section3.p.json b/successfactors-connector/processes/connector/Section3.p.json new file mode 100644 index 0000000..48b49d7 --- /dev/null +++ b/successfactors-connector/processes/connector/Section3.p.json @@ -0,0 +1,97 @@ +{ + "format" : "10.0.0", + "id" : "18BCCC14D7243ECF", + "kind" : "CALLABLE_SUB", + "config" : { + "data" : "connector.Section3Data" + }, + "elements" : [ { + "id" : "f3", + "type" : "CallSubEnd", + "visual" : { + "at" : { "x" : 848, "y" : 304 } + } + }, { + "id" : "f4", + "type" : "CallSubStart", + "name" : "getSections", + "config" : { + "callSignature" : "getSections", + "input" : { + "params" : [ + { "name" : "filter", "type" : "String" }, + { "name" : "count", "type" : "Boolean" }, + { "name" : "top", "type" : "Integer" }, + { "name" : "skip", "type" : "Integer" }, + { "name" : "orderby", "type" : "List" }, + { "name" : "select", "type" : "List" }, + { "name" : "expand", "type" : "List" } + ], + "map" : { + "out.param.count" : "param.#count", + "out.param.expand" : "param.#expand", + "out.param.filter" : "param.#filter", + "out.param.orderBy" : "param.#orderby", + "out.param.select" : "param.#select", + "out.param.skip" : "param.#skip", + "out.param.top" : "param.#top" + } + }, + "result" : { + "params" : [ + { "name" : "sections", "type" : "java.util.List" } + ], + "map" : { + "result.sections" : "in.sections" + } + } + }, + "visual" : { + "at" : { "x" : 552, "y" : 304 } + }, + "connect" : { "id" : "f8", "to" : "f5" } + }, { + "id" : "f5", + "type" : "RestClientCall", + "name" : "call rest", + "config" : { + "path" : "/cust_Section_3", + "clientId" : "4c029770-6b05-4cf7-9b23-b2434bb500d6", + "clientErrorCode" : "ivy:error:rest:client", + "queryParams" : { + "$top" : "in.param.#top is initialized ? in.param.#top : null", + "$skip" : "in.param.#skip is initialized ? in.param.#skip : null", + "$filter" : "in.param.#filter is initialized ? in.param.#filter : null", + "$count" : "in.param.#count is initialized ? in.param.#count : null", + "$orderby" : "in.param.#orderBy", + "$select" : "in.param.#select", + "$expand" : "in.param.#expand" + }, + "statusErrorCode" : "ivy:error:rest:client", + "responseMapping" : { + "out.sections" : "result.value" + }, + "resultType" : "com.axonivy.connector.successfactors.connector.rest.CollectionOfCustSection3" + }, + "visual" : { + "at" : { "x" : 712, "y" : 304 } + }, + "boundaries" : [ { + "id" : "f6", + "type" : "ErrorBoundaryEvent", + "config" : { + "output" : { + "map" : { + "out" : "in", + "out.error" : "error" + } + } + }, + "visual" : { + "at" : { "x" : 736, "y" : 338 } + }, + "connect" : { "id" : "f9", "to" : "f3", "via" : [ { "x" : 848, "y" : 338 } ] } + } ], + "connect" : { "id" : "f7", "to" : "f3" } + } ] +} \ No newline at end of file diff --git a/successfactors-connector/processes/connector/Section4.p.json b/successfactors-connector/processes/connector/Section4.p.json new file mode 100644 index 0000000..65539d8 --- /dev/null +++ b/successfactors-connector/processes/connector/Section4.p.json @@ -0,0 +1,97 @@ +{ + "format" : "10.0.0", + "id" : "18BCCC3F03C92DC0", + "kind" : "CALLABLE_SUB", + "config" : { + "data" : "connector.Section4Data" + }, + "elements" : [ { + "id" : "f3", + "type" : "CallSubEnd", + "visual" : { + "at" : { "x" : 1016, "y" : 288 } + } + }, { + "id" : "f4", + "type" : "CallSubStart", + "name" : "getSections", + "config" : { + "callSignature" : "getSections", + "input" : { + "params" : [ + { "name" : "filter", "type" : "String" }, + { "name" : "count", "type" : "Boolean" }, + { "name" : "top", "type" : "Integer" }, + { "name" : "skip", "type" : "Integer" }, + { "name" : "orderby", "type" : "List" }, + { "name" : "select", "type" : "List" }, + { "name" : "expand", "type" : "List" } + ], + "map" : { + "out.param.count" : "param.#count", + "out.param.expand" : "param.#expand", + "out.param.filter" : "param.#filter", + "out.param.orderBy" : "param.#orderby", + "out.param.select" : "param.#select", + "out.param.skip" : "param.#skip", + "out.param.top" : "param.#top" + } + }, + "result" : { + "params" : [ + { "name" : "sections", "type" : "java.util.List" } + ], + "map" : { + "result.sections" : "in.sections" + } + } + }, + "visual" : { + "at" : { "x" : 720, "y" : 288 } + }, + "connect" : { "id" : "f8", "to" : "f5" } + }, { + "id" : "f5", + "type" : "RestClientCall", + "name" : "call rest", + "config" : { + "path" : "/cust_Section_4", + "clientId" : "4c029770-6b05-4cf7-9b23-b2434bb500d6", + "clientErrorCode" : "ivy:error:rest:client", + "queryParams" : { + "$top" : "in.param.#top is initialized ? in.param.#top : null", + "$skip" : "in.param.#skip is initialized ? in.param.#skip : null", + "$filter" : "in.param.#filter is initialized ? in.param.#filter : null", + "$count" : "in.param.#count is initialized ? in.param.#count : null", + "$orderby" : "in.param.#orderBy", + "$select" : "in.param.#select", + "$expand" : "in.param.#expand" + }, + "statusErrorCode" : "ivy:error:rest:client", + "responseMapping" : { + "out.sections" : "result.value" + }, + "resultType" : "com.axonivy.connector.successfactors.connector.rest.CollectionOfCustSection4" + }, + "visual" : { + "at" : { "x" : 880, "y" : 288 } + }, + "boundaries" : [ { + "id" : "f6", + "type" : "ErrorBoundaryEvent", + "config" : { + "output" : { + "map" : { + "out" : "in", + "out.error" : "error" + } + } + }, + "visual" : { + "at" : { "x" : 904, "y" : 322 } + }, + "connect" : { "id" : "f9", "to" : "f3", "via" : [ { "x" : 1016, "y" : 322 } ] } + } ], + "connect" : { "id" : "f7", "to" : "f3" } + } ] +} \ No newline at end of file