Skip to content

Commit

Permalink
MARP-626 Fix for Dev Fail on Market-Monitor (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
phhung-axonivy authored Jul 31, 2024
1 parent ffcf60a commit 8f42504
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 13 additions & 1 deletion talentlink-connector-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@
<artifactId>talentlink-connector-demo</artifactId>
<version>10.0.4-SNAPSHOT</version>
<packaging>iar</packaging>
<properties>
<project.build.plugin.version>10.0.16</project.build.plugin.version>
</properties>
<pluginRepositories>
<pluginRepository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>com.axonivy.connector.talentlink</groupId>
Expand All @@ -18,7 +30,7 @@
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>10.0.6</version>
<version>${project.build.plugin.version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
Expand Down
26 changes: 24 additions & 2 deletions talentlink-connector-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,33 @@
<artifactId>talentlink-connector-test</artifactId>
<version>10.0.4-SNAPSHOT</version>
<packaging>iar</packaging>
<properties>
<project.build.plugin.version>10.0.16</project.build.plugin.version>
<tester.version>10.0.16</tester.version>
</properties>
<pluginRepositories>
<pluginRepository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.axonivy.ivy.test</groupId>
<artifactId>unit-tester</artifactId>
<version>10.0.0</version>
<version>${tester.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -25,7 +47,7 @@
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>10.0.6</version>
<version>${project.build.plugin.version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* <a href="https://developer.axonivy.com/doc/10.0/concepts/testing/process-testing.html">Process Testing docs</a>
* </p>
*/
@IvyProcessTest
@IvyProcessTest(enableWebServer = true)
public class CandidateTest extends AbstractTalentlinkTest<CandidateFullDto>{

private static final BpmElement getCandidateTestee = BpmProcess.path("rest/Candidate").elementName("getCandidateById(Long)");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* <a href="https://developer.axonivy.com/doc/10.0/concepts/testing/process-testing.html">Process Testing docs</a>
* </p>
*/
@IvyProcessTest
@IvyProcessTest(enableWebServer = true)
public class DepartmentTest extends AbstractTalentlinkTest<DepartmentFullDto>{

private static final BpmElement getDepartmentTestee = BpmProcess.path("rest/Department").elementName("getDepartment()");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* <a href="https://developer.axonivy.com/doc/10.0/concepts/testing/process-testing.html">Process Testing docs</a>
* </p>
*/
@IvyProcessTest
@IvyProcessTest(enableWebServer = true)
public class PositionTest extends AbstractTalentlinkTest<OpeningFullDto>{

private static final BpmElement getPositionTestee = BpmProcess.path("rest/Position").elementName("getPositionById(Long)");
Expand Down
14 changes: 13 additions & 1 deletion talentlink-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,24 @@
<artifactId>talentlink-connector</artifactId>
<version>10.0.4-SNAPSHOT</version>
<packaging>iar</packaging>
<properties>
<project.build.plugin.version>10.0.16</project.build.plugin.version>
</properties>
<pluginRepositories>
<pluginRepository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>10.0.6</version>
<version>${project.build.plugin.version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
Expand Down

0 comments on commit 8f42504

Please sign in to comment.