Skip to content

Commit

Permalink
added debug mode, update docu (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Jan 8, 2025
1 parent d3211d8 commit e2469b8
Show file tree
Hide file tree
Showing 8 changed files with 1,065 additions and 945 deletions.
13 changes: 13 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
// Wildfly Debug Configuration
"configurations": [
{
"type": "java",
"name": "Debug Wildfly",
"request": "attach",
"hostName": "localhost",
"projectName": "imixs-microservice",
"port": "8787"
}
]
}
19 changes: 19 additions & 0 deletions Dockerfile-Debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM quay.io/wildfly/wildfly:27.0.1.Final-jdk11

LABEL description="Imixs-Microservice"
LABEL maintainer="[email protected]"

# Copy EclipseLink and Postgres Driver
COPY ./docker/configuration/wildfly/modules/ /opt/jboss/wildfly/modules/

# Setup configuration
COPY ./docker/configuration/wildfly/*.properties /opt/jboss/wildfly/standalone/configuration/
COPY ./docker/configuration/wildfly/standalone.xml /opt/jboss/wildfly/standalone/configuration/

# Deploy artefact
#ADD ./target/*.war /opt/jboss/wildfly/standalone/deployments/
ADD ./target/imixs-microservice/ /opt/jboss/wildfly/standalone/deployments/imixs-microservice.war/
COPY ./docker/configuration/wildfly/imixs-microservice.war.dodeploy /opt/jboss/wildfly/standalone/deployments/imixs-microservice.war.dodeploy
WORKDIR /opt/jboss/wildfly
# Run in Debug Mode
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "--debug", "*:8787"]
40 changes: 36 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-microservice</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<packaging>war</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<org.imixs.workflow.version>6.0.6</org.imixs.workflow.version>
<org.imixs.workflow.version>6.1.1-SNAPSHOT</org.imixs.workflow.version>
<microprofile.version>6.0</microprofile.version>
<custom.webResources>src/main/webapp</custom.webResources>
</properties>
Expand Down Expand Up @@ -53,8 +53,6 @@
<arg value="-t" />
<arg value="imixs/imixs-microservice" />
<arg value="." />


</exec>
</target>
</configuration>
Expand All @@ -67,6 +65,40 @@
</plugins>
</build>
</profile>
<!-- Widldfly Debug mode -->
<profile>
<id>debug</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>install</phase>
<configuration>
<target>
<exec executable="docker">
<arg value="build" />
<arg value="-f" />
<arg value="Dockerfile-Debug" />
<arg value="-t" />
<arg value="imixs/imixs-microservice" />
<arg value="./" />
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>
</profile>

<profile>
<id>docker-hub</id>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/imixs.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ [email protected]
# lucence.indexDir=lucene/imixs-microservice-index

# Default Model
model.default.data=ticket-en-1.0.0.bpmn
model.default.data=ticket-en-1.0.1.bpmn
510 changes: 0 additions & 510 deletions src/main/resources/ticket-en-1.0.0.bpmn

This file was deleted.

498 changes: 498 additions & 0 deletions src/main/resources/ticket-en-1.0.1.bpmn

Large diffs are not rendered by default.

430 changes: 0 additions & 430 deletions workflow/ticket-en-1.0.0.bpmn

This file was deleted.

498 changes: 498 additions & 0 deletions workflow/ticket-en-1.0.1.bpmn

Large diffs are not rendered by default.

0 comments on commit e2469b8

Please sign in to comment.