From acb2761401de5791581323a3c4a8ba86dcc78ea6 Mon Sep 17 00:00:00 2001
From: Pham Hoang Hung <84316773+phhung-axonivy@users.noreply.github.com>
Date: Fri, 2 Aug 2024 15:35:41 +0700
Subject: [PATCH] MARP-626 Fix for Dev Fail on Market-Monitor (#50)
---
.github/workflows/ci.yml | 2 +-
.github/workflows/dev.yml | 2 +-
.github/workflows/release.yml | 2 +-
adobe-acrobat-sign-connector-demo/pom.xml | 4 +--
adobe-acrobat-sign-connector-test/pom.xml | 26 +++++++++++++++++--
.../test/TestAdobeSignConnector.java | 2 +-
.../connector/test/TestAgreementsService.java | 2 +-
.../test/TestTransientDocumentsService.java | 2 +-
adobe-acrobat-sign-connector/pom.xml | 13 ++++++++--
9 files changed, 43 insertions(+), 12 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 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/adobe-acrobat-sign-connector-demo/pom.xml b/adobe-acrobat-sign-connector-demo/pom.xml
index dd040a7..26bea2c 100644
--- a/adobe-acrobat-sign-connector-demo/pom.xml
+++ b/adobe-acrobat-sign-connector-demo/pom.xml
@@ -6,7 +6,7 @@
10.0.26-SNAPSHOT
iar
- 10.0.6
+ 10.0.16
@@ -21,7 +21,7 @@
com.axonivy.ivy.ci
project-build-plugin
- ${build.plugin.version}
+ ${project.build.plugin.version}
true
diff --git a/adobe-acrobat-sign-connector-test/pom.xml b/adobe-acrobat-sign-connector-test/pom.xml
index 2166e37..4d6b856 100644
--- a/adobe-acrobat-sign-connector-test/pom.xml
+++ b/adobe-acrobat-sign-connector-test/pom.xml
@@ -5,6 +5,28 @@
adobe-acrobat-sign-connector-test
10.0.26-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.adobe.acrobat.sign
@@ -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/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestAdobeSignConnector.java b/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestAdobeSignConnector.java
index 60baf70..738035f 100644
--- a/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestAdobeSignConnector.java
+++ b/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestAdobeSignConnector.java
@@ -7,7 +7,7 @@
import ch.ivyteam.ivy.rest.client.RestClient.Builder;
import ch.ivyteam.ivy.rest.client.RestClients;
-@IvyProcessTest
+@IvyProcessTest(enableWebServer = true)
public class TestAdobeSignConnector {
protected static final String TRANSIENT_DOCUMENTS = "TransientDocuments";
protected static final String AGREEMENTS = "Agreements";
diff --git a/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestAgreementsService.java b/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestAgreementsService.java
index 11c1a55..3545f02 100644
--- a/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestAgreementsService.java
+++ b/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestAgreementsService.java
@@ -29,7 +29,7 @@
import ch.ivyteam.ivy.environment.Ivy;
import ch.ivyteam.ivy.security.ISession;
-@IvyProcessTest
+@IvyProcessTest(enableWebServer = true)
public class TestAgreementsService extends TestAdobeSignConnector {
private static final BpmElement testeeCreateAgreement = BpmProcess.path("connector/Agreements")
diff --git a/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestTransientDocumentsService.java b/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestTransientDocumentsService.java
index 71932e4..ea29ecc 100644
--- a/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestTransientDocumentsService.java
+++ b/adobe-acrobat-sign-connector-test/src_test/com/axonivy/connector/adobe/acrobat/sign/connector/test/TestTransientDocumentsService.java
@@ -17,7 +17,7 @@
import ch.ivyteam.ivy.environment.AppFixture;
import ch.ivyteam.ivy.security.ISession;
-@IvyProcessTest
+@IvyProcessTest(enableWebServer = true)
public class TestTransientDocumentsService extends TestAdobeSignConnector {
private static final BpmElement testeeUploadDocument = BpmProcess.path("connector/TransientDocuments")
diff --git a/adobe-acrobat-sign-connector/pom.xml b/adobe-acrobat-sign-connector/pom.xml
index a0a050f..c2f9c40 100644
--- a/adobe-acrobat-sign-connector/pom.xml
+++ b/adobe-acrobat-sign-connector/pom.xml
@@ -6,14 +6,23 @@
10.0.26-SNAPSHOT
iar
- 10.0.6
+ 10.0.16
+
+
+ sonatype
+ https://oss.sonatype.org/content/repositories/snapshots
+
+ always
+
+
+
com.axonivy.ivy.ci
project-build-plugin
- ${build.plugin.version}
+ ${project.build.plugin.version}
true