Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
add stream transformation support for linked events
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedFarouk-HMCTS committed Mar 18, 2019
1 parent af03b4e commit e41e040
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on [Keep a CHANGELOG](http://keepachangelog.com/). This project adheres to

## [Unreleased]

### Added
- Add support for syncing linked events after stream transformation with transformed events

## [4.0.0-M1] - 2019-03-07
### Added
- Merged in event-buffer-api from event-store as framework-api-event-store
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package uk.gov.justice.services.eventsourcing.source.core;

import uk.gov.justice.services.eventsourcing.source.core.exception.LinkedEventException;

/**
* To manage linked event log
*/
public interface LinkedEventSourceTransformation {

/**
* Truncates the Linked event log
*/
void truncate() throws LinkedEventException;

/**
* Populates linked event log
*/
void populate() throws LinkedEventException;

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package uk.gov.justice.services.eventsourcing.source.core.exception;

public class LinkedEventException extends RuntimeException {

public LinkedEventException(final String message) {
super(message);
}

public LinkedEventException(final String message, final Throwable cause) {
super(message, cause);
}
}

0 comments on commit e41e040

Please sign in to comment.