From c1f8e09fbcdfe494ed90d742e9070fe7b7f6d358 Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Thu, 1 Aug 2024 17:13:28 +0700 Subject: [PATCH 1/4] MARP-626 Fix for Dev Fail on Market-Monitor --- .github/workflows/ci.yml | 2 +- .github/workflows/dev.yml | 5 ++-- .github/workflows/release.yml | 2 +- salesforce-connector-demo/pom.xml | 14 +++++++++- salesforce-connector-test/pom.xml | 28 +++++++++++++++++-- .../salesforce/test/AddOppServiceAPITest.java | 2 +- .../connector/salesforce/test/BaseTest.java | 2 +- .../test/DeleteOppServiceAPITest.java | 2 +- .../salesforce/test/GetAccServiceAPITest.java | 2 +- .../salesforce/test/GetOppServiceAPITest.java | 2 +- .../salesforce/test/QueryServiceAPITest.java | 2 +- .../test/UpdateOppServiceAPITest.java | 2 +- salesforce-connector/pom.xml | 14 +++++++++- 13 files changed, 62 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bc3496..87d78f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,4 +9,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 69705ac..b0097df 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -8,6 +8,5 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/dev.yml@v2 - with: - ivyVersion: nightly-10 + 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/salesforce-connector-demo/pom.xml b/salesforce-connector-demo/pom.xml index b8dac73..18c8176 100644 --- a/salesforce-connector-demo/pom.xml +++ b/salesforce-connector-demo/pom.xml @@ -5,6 +5,18 @@ salesforce-connector-demo 10.0.16-SNAPSHOT iar + + 10.0.16 + + + + sonatype + https://oss.sonatype.org/content/repositories/snapshots + + always + + + com.axonivy.connector.salesforce @@ -18,7 +30,7 @@ com.axonivy.ivy.ci project-build-plugin - 10.0.16 + ${project.build.plugin.version} true diff --git a/salesforce-connector-test/pom.xml b/salesforce-connector-test/pom.xml index 2633b2b..989f18f 100644 --- a/salesforce-connector-test/pom.xml +++ b/salesforce-connector-test/pom.xml @@ -5,6 +5,28 @@ salesforce-connector-test 10.0.16-SNAPSHOT iar-integration-test + + 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.salesforce @@ -15,13 +37,13 @@ com.axonivy.ivy.test unit-tester - 10.0.0 + ${tester.version} test com.axonivy.ivy.webtest web-tester - 10.0.0 + ${tester.version} test @@ -31,7 +53,7 @@ com.axonivy.ivy.ci project-build-plugin - 10.0.16 + ${project.build.plugin.version} true diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java index f2e23bf..0cce519 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java @@ -18,7 +18,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class AddOppServiceAPITest extends BaseTest { private static final BpmProcess ADDOPPSERVICE_PROCESS = BpmProcess.path("AddOppService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java index 5667eba..08c9a3a 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java @@ -5,7 +5,7 @@ import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; import ch.ivyteam.ivy.environment.AppFixture; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class BaseTest { @BeforeEach void beforeEach(AppFixture fixture) { diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java index a55c3ad..ff2cdd5 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java @@ -15,7 +15,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class DeleteOppServiceAPITest extends BaseTest { private static final BpmProcess DELETEOPPSERVICE_PROCESS = BpmProcess.path("DeleteOppService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java index aba8859..7bed93d 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java @@ -16,7 +16,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class GetAccServiceAPITest extends BaseTest { private static final BpmProcess GETACCSERVICE_PROCESS = BpmProcess.path("GetAccService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java index 0969f6e..75a46b9 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java @@ -16,7 +16,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class GetOppServiceAPITest extends BaseTest { private static final BpmProcess GETOPPSERVICE_PROCESS = BpmProcess.path("GetOppService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java index 70153a6..b0ee4d6 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java @@ -19,7 +19,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class QueryServiceAPITest extends BaseTest { private static final BpmProcess QUERYSERVICE_PROCESS = BpmProcess.path("QueryService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java index 212014c..633ad40 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java @@ -17,7 +17,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class UpdateOppServiceAPITest extends BaseTest { private static final BpmProcess UPPDATEOPPSERVICE_PROCESS = BpmProcess.path("UpdateOppService"); diff --git a/salesforce-connector/pom.xml b/salesforce-connector/pom.xml index a322c0b..ff73cd3 100644 --- a/salesforce-connector/pom.xml +++ b/salesforce-connector/pom.xml @@ -5,12 +5,24 @@ salesforce-connector 10.0.16-SNAPSHOT iar + + 10.0.16 + + + + sonatype + https://oss.sonatype.org/content/repositories/snapshots + + always + + + com.axonivy.ivy.ci project-build-plugin - 10.0.16 + ${project.build.plugin.version} true From fd45e950d0a6103f41de67937cd54500a1d69aa6 Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Thu, 1 Aug 2024 17:16:03 +0700 Subject: [PATCH 2/4] remove redundant tester version --- salesforce-connector-test/pom.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/salesforce-connector-test/pom.xml b/salesforce-connector-test/pom.xml index 4a78998..989f18f 100644 --- a/salesforce-connector-test/pom.xml +++ b/salesforce-connector-test/pom.xml @@ -38,14 +38,12 @@ com.axonivy.ivy.test unit-tester ${tester.version} - ${tester.version} test com.axonivy.ivy.webtest web-tester ${tester.version} - ${tester.version} test @@ -56,7 +54,6 @@ com.axonivy.ivy.ci project-build-plugin ${project.build.plugin.version} - ${project.build.plugin.version} true From 3223975b9b485efb8b422bde87fc693340260325 Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Fri, 23 Aug 2024 16:21:26 +0700 Subject: [PATCH 3/4] remove (enableWebServer = true) --- .../axonivy/connector/salesforce/test/AddOppServiceAPITest.java | 2 +- .../com/axonivy/connector/salesforce/test/BaseTest.java | 2 +- .../connector/salesforce/test/DeleteOppServiceAPITest.java | 2 +- .../axonivy/connector/salesforce/test/GetAccServiceAPITest.java | 2 +- .../axonivy/connector/salesforce/test/GetOppServiceAPITest.java | 2 +- .../axonivy/connector/salesforce/test/QueryServiceAPITest.java | 2 +- .../connector/salesforce/test/UpdateOppServiceAPITest.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java index 0cce519..f2e23bf 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java @@ -18,7 +18,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest(enableWebServer = true) +@IvyProcessTest public class AddOppServiceAPITest extends BaseTest { private static final BpmProcess ADDOPPSERVICE_PROCESS = BpmProcess.path("AddOppService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java index 08c9a3a..5667eba 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java @@ -5,7 +5,7 @@ import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; import ch.ivyteam.ivy.environment.AppFixture; -@IvyProcessTest(enableWebServer = true) +@IvyProcessTest public class BaseTest { @BeforeEach void beforeEach(AppFixture fixture) { diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java index ff2cdd5..a55c3ad 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java @@ -15,7 +15,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest(enableWebServer = true) +@IvyProcessTest public class DeleteOppServiceAPITest extends BaseTest { private static final BpmProcess DELETEOPPSERVICE_PROCESS = BpmProcess.path("DeleteOppService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java index 7bed93d..aba8859 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java @@ -16,7 +16,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest(enableWebServer = true) +@IvyProcessTest public class GetAccServiceAPITest extends BaseTest { private static final BpmProcess GETACCSERVICE_PROCESS = BpmProcess.path("GetAccService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java index 75a46b9..0969f6e 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java @@ -16,7 +16,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest(enableWebServer = true) +@IvyProcessTest public class GetOppServiceAPITest extends BaseTest { private static final BpmProcess GETOPPSERVICE_PROCESS = BpmProcess.path("GetOppService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java index b0ee4d6..70153a6 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java @@ -19,7 +19,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest(enableWebServer = true) +@IvyProcessTest public class QueryServiceAPITest extends BaseTest { private static final BpmProcess QUERYSERVICE_PROCESS = BpmProcess.path("QueryService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java index 633ad40..212014c 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java @@ -17,7 +17,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest(enableWebServer = true) +@IvyProcessTest public class UpdateOppServiceAPITest extends BaseTest { private static final BpmProcess UPPDATEOPPSERVICE_PROCESS = BpmProcess.path("UpdateOppService"); From 2dc7999dee1e532a51a5d559c47c17fa4517a0a3 Mon Sep 17 00:00:00 2001 From: PHAM HOANG HUNG Date: Fri, 23 Aug 2024 16:56:50 +0700 Subject: [PATCH 4/4] MARP-626-Fix-For-Dev-Fail-On-Market-Monitor --- salesforce-connector-test/pom.xml | 6 ------ .../connector/salesforce/test/AddOppServiceAPITest.java | 2 +- .../com/axonivy/connector/salesforce/test/BaseTest.java | 5 +++-- .../connector/salesforce/test/DeleteOppServiceAPITest.java | 2 +- .../connector/salesforce/test/GetAccServiceAPITest.java | 2 +- .../connector/salesforce/test/GetOppServiceAPITest.java | 2 +- .../connector/salesforce/test/QueryServiceAPITest.java | 2 +- .../connector/salesforce/test/UpdateOppServiceAPITest.java | 2 +- 8 files changed, 9 insertions(+), 14 deletions(-) diff --git a/salesforce-connector-test/pom.xml b/salesforce-connector-test/pom.xml index 989f18f..88eca7e 100644 --- a/salesforce-connector-test/pom.xml +++ b/salesforce-connector-test/pom.xml @@ -40,12 +40,6 @@ ${tester.version} test - - com.axonivy.ivy.webtest - web-tester - ${tester.version} - test - src_test diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java index f2e23bf..0cce519 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/AddOppServiceAPITest.java @@ -18,7 +18,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class AddOppServiceAPITest extends BaseTest { private static final BpmProcess ADDOPPSERVICE_PROCESS = BpmProcess.path("AddOppService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java index 5667eba..1e93d0c 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/BaseTest.java @@ -5,12 +5,13 @@ import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; import ch.ivyteam.ivy.environment.AppFixture; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class BaseTest { + @BeforeEach void beforeEach(AppFixture fixture) { // Disable OAuth feature for mock rest service fixture.config("RestClients.SalesforceAPI.Features", "ch.ivyteam.ivy.rest.client.mapper.JsonFeature"); - fixture.var("salesforce-connector.auth.url", "http://localhost:8081/designer/api/salesforceMock"); + fixture.var("salesforce-connector.auth.url", "{ivy.app.baseurl}/api/salesforceMock"); } } diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java index a55c3ad..ff2cdd5 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/DeleteOppServiceAPITest.java @@ -15,7 +15,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class DeleteOppServiceAPITest extends BaseTest { private static final BpmProcess DELETEOPPSERVICE_PROCESS = BpmProcess.path("DeleteOppService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java index aba8859..7bed93d 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetAccServiceAPITest.java @@ -16,7 +16,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class GetAccServiceAPITest extends BaseTest { private static final BpmProcess GETACCSERVICE_PROCESS = BpmProcess.path("GetAccService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java index 0969f6e..75a46b9 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/GetOppServiceAPITest.java @@ -16,7 +16,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class GetOppServiceAPITest extends BaseTest { private static final BpmProcess GETOPPSERVICE_PROCESS = BpmProcess.path("GetOppService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java index 70153a6..b0ee4d6 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/QueryServiceAPITest.java @@ -19,7 +19,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class QueryServiceAPITest extends BaseTest { private static final BpmProcess QUERYSERVICE_PROCESS = BpmProcess.path("QueryService"); diff --git a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java index 212014c..633ad40 100644 --- a/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java +++ b/salesforce-connector-test/src_test/com/axonivy/connector/salesforce/test/UpdateOppServiceAPITest.java @@ -17,7 +17,7 @@ import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess; import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest; -@IvyProcessTest +@IvyProcessTest(enableWebServer = true) public class UpdateOppServiceAPITest extends BaseTest { private static final BpmProcess UPPDATEOPPSERVICE_PROCESS = BpmProcess.path("UpdateOppService");