Skip to content

Commit

Permalink
Update to 1.1.0-SNAPSHOT for development
Browse files Browse the repository at this point in the history
  • Loading branch information
mapingo authored and amckenzie committed Jan 8, 2019
1 parent 2ca7734 commit a4f906c
Show file tree
Hide file tree
Showing 40 changed files with 43 additions and 42 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on [Keep a CHANGELOG](http://keepachangelog.com/). This project adheres to

## [Unreleased]

## [1.1.0-M8] - 2019-01-08
### Fixed
- Fixed error of two subscriptions created in database for each subscription

## [1.1.0-M7] - 2019-01-03
### Changed
- Fix checksum issue with liquibase scripts
Expand Down
2 changes: 1 addition & 1 deletion aggregate-snapshot/aggregate-snapshot-domain/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>aggregate-snapshot</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>aggregate-snapshot</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion aggregate-snapshot/aggregate-snapshot-repository/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>aggregate-snapshot</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion aggregate-snapshot/aggregate-snapshot-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>aggregate-snapshot</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion aggregate-snapshot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-buffer/event-buffer-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-buffer</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-buffer/event-buffer-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-buffer</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-buffer/event-buffer-liquibase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-buffer</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-buffer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-source-subscriptions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-source-subscriptions/subscription-repository/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-source-subscriptions</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>subscription-repository</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>subscription-repository</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/event-publisher/event-publisher-jms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-publisher</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-publisher</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/event-publisher/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-sourcing</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-repository</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-repository</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/event-repository/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-sourcing</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>event-repository</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/event-source-api-integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-sourcing</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/event-source-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-sourcing</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/event-source/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-sourcing</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/event-subscription-registry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-sourcing</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/event-subscription-test-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-sourcing</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/event-subscription/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-sourcing</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion event-sourcing/subscription-manager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-sourcing</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void performEventCatchup(final Subscription subscription) {

logger.info("Event catchup started");
logger.info("Performing catchup of events...");
final long eventNumber = subscriptionsRepository.getOrInitialiseCurrentEventNumber(subscription.getName());
final long eventNumber = subscriptionsRepository.getOrInitialiseCurrentEventNumber(subscription.getEventSourceName());

final int totalEventsProcessed = eventSource.findEventsSince(eventNumber)
.mapToInt(transactionalEventProcessor::processWithEventBuffer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import org.mockito.runners.MockitoJUnitRunner;
import org.slf4j.Logger;


@RunWith(MockitoJUnitRunner.class)
public class EventCatchupProcessorTest {

Expand All @@ -43,7 +42,6 @@ public class EventCatchupProcessorTest {
@Test
public void shouldFetchAllMissingEventsAndProcess() throws Exception {

final String subscriptionName = "subscriptionName";
final String eventSourceName = "event source";
final long eventNumber = 983745987L;

Expand All @@ -56,8 +54,7 @@ public void shouldFetchAllMissingEventsAndProcess() throws Exception {

when(subscription.getEventSourceName()).thenReturn(eventSourceName);
when(eventSourceProvider.getEventSource(eventSourceName)).thenReturn(eventSource);
when(subscription.getName()).thenReturn(subscriptionName);
when(subscriptionsRepository.getOrInitialiseCurrentEventNumber(subscriptionName)).thenReturn(eventNumber);
when(subscriptionsRepository.getOrInitialiseCurrentEventNumber(eventSourceName)).thenReturn(eventNumber);
when(eventSource.findEventsSince(eventNumber)).thenReturn(Stream.of(event_1, event_2, event_3));
when(transactionalEventProcessor.processWithEventBuffer(any(JsonEnvelope.class))).thenReturn(1);

Expand Down
2 changes: 1 addition & 1 deletion event-store-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion event-store-util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion interceptors/command-handler-interceptors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>interceptors</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion interceptors/event-listener-interceptors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>interceptors</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion interceptors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion interceptors/subscription-event-interceptors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>interceptors</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>uk.gov.justice.event-store</groupId>
<artifactId>event-store</artifactId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Event Store</name>
Expand Down
2 changes: 1 addition & 1 deletion test-utils-event-store/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion test-utils-event-store/test-utils-event/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>test-utils-event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion test-utils-event-store/test-utils-persistence/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>test-utils-event-store</artifactId>
<groupId>uk.gov.justice.event-store</groupId>
<version>1.1.0-M7</version>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit a4f906c

Please sign in to comment.