From 8f42504967ac19fc97981dce47fd275276c46f46 Mon Sep 17 00:00:00 2001
From: Pham Hoang Hung <84316773+phhung-axonivy@users.noreply.github.com>
Date: Wed, 31 Jul 2024 17:10:43 +0700
Subject: [PATCH] MARP-626 Fix for Dev Fail on Market-Monitor (#23)
---
.github/workflows/ci.yml | 2 +-
.github/workflows/dev.yml | 2 +-
.github/workflows/release.yml | 2 +-
talentlink-connector-demo/pom.xml | 14 +++++++++-
talentlink-connector-test/pom.xml | 26 +++++++++++++++++--
.../connector/test/CandidateTest.java | 2 +-
.../connector/test/DepartmentTest.java | 2 +-
.../connector/test/PositionTest.java | 2 +-
talentlink-connector/pom.xml | 14 +++++++++-
9 files changed, 56 insertions(+), 10 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/talentlink-connector-demo/pom.xml b/talentlink-connector-demo/pom.xml
index 875f1ea..2f8b473 100644
--- a/talentlink-connector-demo/pom.xml
+++ b/talentlink-connector-demo/pom.xml
@@ -5,6 +5,18 @@
talentlink-connector-demo
10.0.4-SNAPSHOT
iar
+
+ 10.0.16
+
+
+
+ sonatype
+ https://oss.sonatype.org/content/repositories/snapshots
+
+ always
+
+
+
com.axonivy.connector.talentlink
@@ -18,7 +30,7 @@
com.axonivy.ivy.ci
project-build-plugin
- 10.0.6
+ ${project.build.plugin.version}
true
diff --git a/talentlink-connector-test/pom.xml b/talentlink-connector-test/pom.xml
index de4993c..1ba2949 100644
--- a/talentlink-connector-test/pom.xml
+++ b/talentlink-connector-test/pom.xml
@@ -5,11 +5,33 @@
talentlink-connector-test
10.0.4-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.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/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/CandidateTest.java b/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/CandidateTest.java
index cdff89a..0920b94 100644
--- a/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/CandidateTest.java
+++ b/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/CandidateTest.java
@@ -28,7 +28,7 @@
* Process Testing docs
*
*/
-@IvyProcessTest
+@IvyProcessTest(enableWebServer = true)
public class CandidateTest extends AbstractTalentlinkTest{
private static final BpmElement getCandidateTestee = BpmProcess.path("rest/Candidate").elementName("getCandidateById(Long)");
diff --git a/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/DepartmentTest.java b/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/DepartmentTest.java
index 63f7d5a..7058ab2 100644
--- a/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/DepartmentTest.java
+++ b/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/DepartmentTest.java
@@ -28,7 +28,7 @@
* Process Testing docs
*
*/
-@IvyProcessTest
+@IvyProcessTest(enableWebServer = true)
public class DepartmentTest extends AbstractTalentlinkTest{
private static final BpmElement getDepartmentTestee = BpmProcess.path("rest/Department").elementName("getDepartment()");
diff --git a/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/PositionTest.java b/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/PositionTest.java
index de11c74..c6e0159 100644
--- a/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/PositionTest.java
+++ b/talentlink-connector-test/src_test/com/axonivy/connector/talentlink/connector/test/PositionTest.java
@@ -29,7 +29,7 @@
* Process Testing docs
*
*/
-@IvyProcessTest
+@IvyProcessTest(enableWebServer = true)
public class PositionTest extends AbstractTalentlinkTest{
private static final BpmElement getPositionTestee = BpmProcess.path("rest/Position").elementName("getPositionById(Long)");
diff --git a/talentlink-connector/pom.xml b/talentlink-connector/pom.xml
index ff68fd4..c6d53cd 100644
--- a/talentlink-connector/pom.xml
+++ b/talentlink-connector/pom.xml
@@ -5,12 +5,24 @@
talentlink-connector
10.0.4-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