From 7657bf194b75811cf408e06fb4128c7f99811eca Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Tue, 30 Jul 2024 17:58:33 +0700 Subject: [PATCH] MARP-626 Fix for Dev Fail on Market-Monitor --- .github/workflows/ci.yml | 2 +- .github/workflows/dev.yml | 2 +- .github/workflows/release.yml | 2 +- successfactors-connector-demo/pom.xml | 14 +++++++++- successfactors-connector-test/pom.xml | 26 +++++++++++++++++-- .../test/BusinessUnitProcessTest.java | 2 +- .../conncetor/test/CostCenterProcessTest.java | 2 +- .../conncetor/test/DepartmentProcessTest.java | 2 +- .../conncetor/test/DivisionProcessTest.java | 2 +- .../conncetor/test/LocationProcessTest.java | 2 +- successfactors-connector/pom.xml | 14 +++++++++- 11 files changed, 58 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01c680d..93dc08b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,4 +8,4 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v2 + uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v4 diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index a27a639..c2fee37 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -8,4 +8,4 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/dev.yml@v2 + uses: axonivy-market/github-workflows/.github/workflows/dev.yml@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 128a183..ab5b0d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,4 +4,4 @@ on: workflow_dispatch jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/release.yml@v2 + uses: axonivy-market/github-workflows/.github/workflows/release.yml@v4 diff --git a/successfactors-connector-demo/pom.xml b/successfactors-connector-demo/pom.xml index cb4bceb..3e0c2e8 100644 --- a/successfactors-connector-demo/pom.xml +++ b/successfactors-connector-demo/pom.xml @@ -5,6 +5,18 @@ successfactors-connector-demo 10.0.19-SNAPSHOT iar + + 10.0.16 + + + + sonatype + https://oss.sonatype.org/content/repositories/snapshots + + always + + + com.axonivy.connector.successfactors @@ -18,7 +30,7 @@ com.axonivy.ivy.ci project-build-plugin - 10.0.6 + ${project.build.plugin.version} true diff --git a/successfactors-connector-test/pom.xml b/successfactors-connector-test/pom.xml index 489e0dc..8c87e2d 100644 --- a/successfactors-connector-test/pom.xml +++ b/successfactors-connector-test/pom.xml @@ -5,6 +5,28 @@ successfactors-connector-test 10.0.19-SNAPSHOT iar + + 10.0.16 + 10.0.16 + + + + sonatype + https://oss.sonatype.org/content/repositories/snapshots + + always + + + + + + sonatype + https://oss.sonatype.org/content/repositories/snapshots + + always + + + com.axonivy.connector.successfactors @@ -15,7 +37,7 @@ com.axonivy.ivy.test unit-tester - 10.0.0 + ${tester.version} test @@ -25,7 +47,7 @@ com.axonivy.ivy.ci project-build-plugin - 10.0.6 + ${project.build.plugin.version} true diff --git a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/BusinessUnitProcessTest.java b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/BusinessUnitProcessTest.java index 8d31915..e34a256 100644 --- a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/BusinessUnitProcessTest.java +++ b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/BusinessUnitProcessTest.java @@ -19,7 +19,7 @@ * Process Testing docs *

*/ -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class BusinessUnitProcessTest extends AbstractFoObjectTest { private static final BpmElement getBusinessTestee = BpmProcess.path("connector/BusinessUnit").elementName("getBusinessUnits"); diff --git a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/CostCenterProcessTest.java b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/CostCenterProcessTest.java index b5fc774..7deb94b 100644 --- a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/CostCenterProcessTest.java +++ b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/CostCenterProcessTest.java @@ -19,7 +19,7 @@ * Process Testing docs *

*/ -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class CostCenterProcessTest extends AbstractFoObjectTest { private static final BpmElement getCostCenterTestee = BpmProcess.path("connector/CostCenter").elementName("getCostCenters"); diff --git a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/DepartmentProcessTest.java b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/DepartmentProcessTest.java index ec9cc1e..545ee73 100644 --- a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/DepartmentProcessTest.java +++ b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/DepartmentProcessTest.java @@ -19,7 +19,7 @@ * Process Testing docs *

*/ -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class DepartmentProcessTest extends AbstractFoObjectTest { private static final BpmElement getDeparmentTestee = BpmProcess.path("connector/Department").elementName("getDepartments"); diff --git a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/DivisionProcessTest.java b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/DivisionProcessTest.java index 4e8c191..c952282 100644 --- a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/DivisionProcessTest.java +++ b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/DivisionProcessTest.java @@ -19,7 +19,7 @@ * Process Testing docs *

*/ -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class DivisionProcessTest extends AbstractFoObjectTest { private static final BpmElement getBusinessTestee = BpmProcess.path("connector/Division").elementName("getDivisions"); diff --git a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/LocationProcessTest.java b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/LocationProcessTest.java index fb25a66..7e30d4b 100644 --- a/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/LocationProcessTest.java +++ b/successfactors-connector-test/src_test/com/axonivy/connector/successfactors/conncetor/test/LocationProcessTest.java @@ -27,7 +27,7 @@ * Process Testing docs *

*/ -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class LocationProcessTest extends AbstractSuccessFactorsTest { private static final BpmElement getLocationTestee = BpmProcess.path("connector/Location").elementName("getLocations"); diff --git a/successfactors-connector/pom.xml b/successfactors-connector/pom.xml index 7933c50..e89d873 100644 --- a/successfactors-connector/pom.xml +++ b/successfactors-connector/pom.xml @@ -5,12 +5,24 @@ successfactors-connector 10.0.19-SNAPSHOT iar + + 10.0.16 + + + + sonatype + https://oss.sonatype.org/content/repositories/snapshots + + always + + + com.axonivy.ivy.ci project-build-plugin - 10.0.6 + ${project.build.plugin.version} true