Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
#115 - introduces new isis-module-publishmq-dom-mq module as an SPI f…
Browse files Browse the repository at this point in the history
…or publishmq service

The JMS code now moves into this module, meaning that publishmq service itself is agnostic, just iterates over its own SPI.
  • Loading branch information
danhaywood committed Oct 3, 2019
1 parent baf1057 commit c742ec1
Show file tree
Hide file tree
Showing 32 changed files with 655 additions and 174 deletions.
4 changes: 4 additions & 0 deletions archetype/app/quickstart/appdefn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-servicespi</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-servicespi</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions modules/ext/flywaydb/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
<artifactId>isis-module-security-dom</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions modules/lib/docx/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
<artifactId>isis-module-security-dom</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions modules/lib/excel/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
<artifactId>isis-module-security-dom</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions modules/lib/fakedata/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
<artifactId>isis-module-security-dom</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions modules/lib/poly/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
<artifactId>isis-module-security-dom</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions modules/lib/servletapi/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
<artifactId>isis-module-security-dom</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions modules/lib/stringinterpolator/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
<artifactId>isis-module-security-dom</artifactId>
Expand Down
31 changes: 31 additions & 0 deletions modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,18 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
<version>${incode-platform.version}</version>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
<version>${incode-platform.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-camel</artifactId>
Expand Down Expand Up @@ -1215,6 +1227,25 @@

<profiles>

<profile>
<id>publishmq</id>
<activation>
<property>
<name>publishmq</name>
</property>
</activation>
<modules>

<module>lib/base/impl</module>
<module>lib/fakedata/impl</module>

<module>spi/publishmq/fixture</module>
<module>spi/publishmq/impl</module>
<module>spi/publishmq/integtests</module>

</modules>
</profile>

<profile>
<id>default-modules</id>
<activation>
Expand Down
4 changes: 4 additions & 0 deletions modules/spi/audit/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
6 changes: 6 additions & 0 deletions modules/spi/audit/integtests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-camel</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions modules/spi/command/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
<artifactId>isis-module-security-dom</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions modules/spi/command/integtests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-camel</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions modules/spi/publishmq/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-mq</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
<artifactId>isis-module-security-dom</artifactId>
Expand Down
22 changes: 22 additions & 0 deletions modules/spi/publishmq/impl/mq/log4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

# Basic logging goes to "datanucleus.log"
log4j.appender.A1=org.apache.log4j.FileAppender
log4j.appender.A1.File=datanucleus.log
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} (%t) %-5p [%c] - %m%n
#log4j.appender.A1.Threshold=INFO

# Categories
# Each category can be set to a "level", and to direct to an appender

# Default to DEBUG level for all DataNucleus categories
log4j.logger.DataNucleus = DEBUG, A1

log4j.category.com.mchange.v2.c3p0=INFO, A1
log4j.category.com.mchange.v2.resourcepool=INFO, A1
log4j.category.org.logicalcobwebs.proxool=INFO,A1


# Hbase libs logging
log4j.category.org.apache.hadoop=INFO,A1
log4j.category.org.apache.zookeeper=INFO,A1
Loading

0 comments on commit c742ec1

Please sign in to comment.