Skip to content

Commit

Permalink
Feature/rht 2585 t2 6.1.3.10 res rpt add new fields section1 section2…
Browse files Browse the repository at this point in the history
… section3 section4 (#35)
  • Loading branch information
Phạm Duy Linh authored Nov 24, 2023
1 parent fd8d63d commit 29e8a21
Show file tree
Hide file tree
Showing 8 changed files with 408 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Section1Data #class
connector #namespace
error ch.ivyteam.ivy.bpm.error.BpmError #field
param connector.OdataParams #field
sections List<com.axonivy.connector.successfactors.connector.rest.SFODataCustSection> #field
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Section2Data #class
connector #namespace
error ch.ivyteam.ivy.bpm.error.BpmError #field
param connector.OdataParams #field
sections java.util.List<com.axonivy.connector.successfactors.connector.rest.SFODataCustSection2> #field
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Section3Data #class
connector #namespace
error ch.ivyteam.ivy.bpm.error.BpmError #field
param connector.OdataParams #field
sections List<com.axonivy.connector.successfactors.connector.rest.SFODataCustSection3> #field
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Section4Data #class
connector #namespace
error ch.ivyteam.ivy.bpm.error.BpmError #field
param connector.OdataParams #field
sections List<com.axonivy.connector.successfactors.connector.rest.SFODataCustSection4> #field
97 changes: 97 additions & 0 deletions successfactors-connector/processes/connector/Section1.p.json
Original file line number Diff line number Diff line change
@@ -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<String>" },
{ "name" : "select", "type" : "List<String>" },
{ "name" : "expand", "type" : "List<String>" }
],
"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<com.axonivy.connector.successfactors.connector.rest.SFODataCustSection>" }
],
"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" }
} ]
}
97 changes: 97 additions & 0 deletions successfactors-connector/processes/connector/Section2.p.json
Original file line number Diff line number Diff line change
@@ -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<String>" },
{ "name" : "select", "type" : "List<String>" },
{ "name" : "expand", "type" : "List<String>" }
],
"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<com.axonivy.connector.successfactors.connector.rest.SFODataCustSection2>" }
],
"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" }
} ]
}
97 changes: 97 additions & 0 deletions successfactors-connector/processes/connector/Section3.p.json
Original file line number Diff line number Diff line change
@@ -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<String>" },
{ "name" : "select", "type" : "List<String>" },
{ "name" : "expand", "type" : "List<String>" }
],
"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<com.axonivy.connector.successfactors.connector.rest.SFODataCustSection3>" }
],
"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" }
} ]
}
Loading

0 comments on commit 29e8a21

Please sign in to comment.