forked from Taskana/TaskanaAdapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes Taskana#612: add missing jaxrs and camunda properties
* added simple Integration Tests for * `camunda-outbox-example-boot` * `taskana-adapter-camunda-spring-boot-example` * added missing properties * `camunda.bpm.generic-properties.properties.historyTimeToLive` * `resteasy.jaxrs.app.registration` * `resteasy.jaxrs.app.classes`
- Loading branch information
Showing
8 changed files
with
62 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...rc/test/java/pro/taskana/camunda/spring/boot/CamundaSpringBootExampleIntegrationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package pro.taskana.camunda.spring.boot; | ||
|
||
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import org.springframework.boot.test.context.SpringBootTest; | ||
|
||
@SpringBootTest(classes = CamundaSpringBootExample.class, webEnvironment = RANDOM_PORT) | ||
class CamundaSpringBootExampleIntegrationTest { | ||
|
||
@Test | ||
void module_context_can_be_started() { | ||
// there is no test code here, | ||
// because creating the configuration to run this method is the actual test | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
camunda-outbox-example-boot/src/test/resources/logback-test.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<include resource="org/springframework/boot/logging/logback/base.xml"/> | ||
<logger name="pro.taskana.adapter" level="info"/> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...-spring-boot-example/src/test/java/pro/taskana/adapter/TaskanaAdapterApplicationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package pro.taskana.adapter; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import org.springframework.boot.test.context.SpringBootTest; | ||
|
||
@SpringBootTest(classes = TaskanaAdapterApplication.class) | ||
class TaskanaAdapterApplicationTest { | ||
|
||
@Test | ||
void module_context_can_be_started_and_outbox_rest_events_are_fetched() { | ||
// there is no test code here, | ||
// because creating the configuration to run this method is the actual test | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
taskana-adapter-camunda-spring-boot-example/src/test/resources/logback-test.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<include resource="org/springframework/boot/logging/logback/base.xml"/> | ||
<logger name="pro.taskana.adapter" level="debug"/> | ||
</configuration> |