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

Commit

Permalink
#115 - moves publishmq/jdo's status out to its own submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
danhaywood committed Oct 3, 2019
1 parent f89be08 commit 44724d3
Show file tree
Hide file tree
Showing 37 changed files with 385 additions and 58 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 @@ -190,6 +190,10 @@
<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-status</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 @@ -219,6 +219,10 @@
<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-status</artifactId>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-servicespi</artifactId>
Expand Down
6 changes: 4 additions & 2 deletions modules/ext/flywaydb/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,18 @@ 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-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
6 changes: 4 additions & 2 deletions modules/lib/docx/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,18 @@ 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-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
6 changes: 4 additions & 2 deletions modules/lib/excel/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,18 @@ 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-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
6 changes: 4 additions & 2 deletions modules/lib/fakedata/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,18 @@ 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-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
6 changes: 4 additions & 2 deletions modules/lib/poly/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,18 @@ 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-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
6 changes: 4 additions & 2 deletions modules/lib/servletapi/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,18 @@ 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-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
6 changes: 4 additions & 2 deletions modules/lib/stringinterpolator/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,18 @@ 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-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
17 changes: 17 additions & 0 deletions modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,23 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
<version>${incode-platform.version}</version>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-status</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-status</artifactId>
<version>${incode-platform.version}</version>
</dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-camel</artifactId>
Expand Down
7 changes: 5 additions & 2 deletions modules/spi/audit/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,18 @@ TODO: to reinstate, think that FixturesManifest needs some attention.
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
</dependency>

<dependency>
<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
9 changes: 5 additions & 4 deletions modules/spi/audit/integtests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,25 +105,26 @@
<artifactId>isis-module-publishmq-dom-servicespi</artifactId>
<scope>test</scope>
</dependency>

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

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

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-status</artifactId>
<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
6 changes: 4 additions & 2 deletions modules/spi/command/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,18 @@ 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-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
7 changes: 5 additions & 2 deletions modules/spi/command/integtests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,20 @@
<artifactId>isis-module-publishmq-dom-jdo</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
<artifactId>isis-module-publishmq-dom-outbox</artifactId>
</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-status</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.isisaddons.module.publishmq</groupId>
Expand Down
6 changes: 4 additions & 2 deletions modules/spi/publishmq/fixture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,18 @@ 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-outbox</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-status</artifactId>
</dependency>

<dependency>
<groupId>org.isisaddons.module.security</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.apache.isis.applib.fixturescripts.FixtureScript;
import org.apache.isis.applib.fixturescripts.teardown.TeardownFixtureAbstract;
import org.isisaddons.module.publishmq.dom.jdo.events.PublishedEvent;
import org.isisaddons.module.publishmq.dom.jdo.status.StatusMessage;
import org.isisaddons.module.publishmq.dom.outbox.PublishMqSpiOutboxModule;

@XmlRootElement(name = "module")
Expand All @@ -26,7 +25,6 @@ public FixtureScript getTeardownFixture() {
return new TeardownFixtureAbstract() {
@Override
protected void execute(final ExecutionContext executionContext) {
deleteFrom(StatusMessage.class);
deleteFrom(PublishedEvent.class);
}
};
Expand Down
1 change: 1 addition & 0 deletions modules/spi/publishmq/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<module>outbox</module>
<module>jdo</module>
<module>mq</module>
<module>status</module>
<module>camel</module>
<module>statusclient</module>
</modules>
Expand Down
22 changes: 22 additions & 0 deletions modules/spi/publishmq/impl/status/logging-dn-enhance.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 44724d3

Please sign in to comment.