From b58386033d546b3b54360819a5deb10c51a2e271 Mon Sep 17 00:00:00 2001 From: Pham Hoang Hung <84316773+phhung-axonivy@users.noreply.github.com> Date: Thu, 1 Aug 2024 09:48:44 +0700 Subject: [PATCH] MARP-626 Fix for Dev Fail on Market-Monitor (#16) --- .github/workflows/ci.yml | 2 +- .github/workflows/dev-10.yml | 11 -------- .github/workflows/dev.yml | 2 +- .github/workflows/release.yml | 2 +- mattermost-connector-demo/pom.xml | 14 +++++++++- mattermost-connector-notification/pom.xml | 14 +++++++++- mattermost-connector-test/pom.xml | 26 +++++++++++++++++-- mattermost-connector/pom.xml | 14 +++++++++- .../connector/IncomingWebhook.p.json | 2 +- 9 files changed, 67 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/dev-10.yml 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-10.yml b/.github/workflows/dev-10.yml deleted file mode 100644 index 6603e21..0000000 --- a/.github/workflows/dev-10.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Dev-10-Build - -on: - push: - schedule: - - cron: '21 21 * * *' - workflow_dispatch: - -jobs: - build: - uses: axonivy-market/github-workflows/.github/workflows/dev-10.yml@feature/MARP-626-Fix-for-Dev-Fail-on-Market-Monitor diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 03dc95f..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@feature/MARP-626-Fix-for-Dev-Fail-on-Market-Monitor + 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/mattermost-connector-demo/pom.xml b/mattermost-connector-demo/pom.xml index f9279c2..2345935 100644 --- a/mattermost-connector-demo/pom.xml +++ b/mattermost-connector-demo/pom.xml @@ -5,6 +5,18 @@ mattermost-connector-demo 10.0.20-SNAPSHOT iar + + 10.0.16 + + + + sonatype + https://oss.sonatype.org/content/repositories/snapshots + + always + + + com.axonivy.connector.mattermost @@ -33,7 +45,7 @@ com.axonivy.ivy.ci project-build-plugin - 10.0.14 + ${project.build.plugin.version} true diff --git a/mattermost-connector-notification/pom.xml b/mattermost-connector-notification/pom.xml index e367f29..11820ef 100644 --- a/mattermost-connector-notification/pom.xml +++ b/mattermost-connector-notification/pom.xml @@ -5,6 +5,18 @@ mattermost-connector-notification 10.0.20-SNAPSHOT iar + + 10.0.16 + + + + sonatype + https://oss.sonatype.org/content/repositories/snapshots + + always + + + com.axonivy.connector.mattermost @@ -18,7 +30,7 @@ com.axonivy.ivy.ci project-build-plugin - 10.0.14 + ${project.build.plugin.version} true diff --git a/mattermost-connector-test/pom.xml b/mattermost-connector-test/pom.xml index c443acb..8aa5201 100644 --- a/mattermost-connector-test/pom.xml +++ b/mattermost-connector-test/pom.xml @@ -5,6 +5,28 @@ mattermost-connector-test 10.0.20-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.mattermost @@ -15,7 +37,7 @@ com.axonivy.ivy.test unit-tester - 10.0.14 + ${tester.version} test @@ -36,7 +58,7 @@ com.axonivy.ivy.ci project-build-plugin - 10.0.14 + ${project.build.plugin.version} true diff --git a/mattermost-connector/pom.xml b/mattermost-connector/pom.xml index adcec9e..fd268fc 100644 --- a/mattermost-connector/pom.xml +++ b/mattermost-connector/pom.xml @@ -5,6 +5,18 @@ mattermost-connector 10.0.20-SNAPSHOT iar + + 10.0.16 + + + + sonatype + https://oss.sonatype.org/content/repositories/snapshots + + always + + + @@ -19,7 +31,7 @@ com.axonivy.ivy.ci project-build-plugin - 10.0.14 + ${project.build.plugin.version} true diff --git a/mattermost-connector/processes/connector/IncomingWebhook.p.json b/mattermost-connector/processes/connector/IncomingWebhook.p.json index 430dc6d..90f20e3 100644 --- a/mattermost-connector/processes/connector/IncomingWebhook.p.json +++ b/mattermost-connector/processes/connector/IncomingWebhook.p.json @@ -52,7 +52,7 @@ "clientErrorCode" : "ivy:error:rest:client", "queryParams" : { "page" : "", - "per_page" : "Integer.parseInt(ivy.var.mattermost_incomingWebhookPerPage)", + "per_page" : "Integer.parseInt(ivy.var.get(\"mattermost.incomingWebhookPerPage\"))", "team_id" : "in.teamId" }, "statusErrorCode" : "ivy:error:rest:client",