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

Commit

Permalink
Make UnifiedSearchIndexer take a full JsonEnvelop for indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
amckenzie committed Apr 21, 2020
1 parent 3778bb0 commit 1d20188
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 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]

## [4.3.0-M1] - 2020-04-21
### Changed
- UnifiedSearchIndexer now takes an JsonEnvelope rather than a raw JsonEnvelope payload

## [4.2.1] - 2019-12-11
### Added
- Added framework-api-system-errors to dependency management
Expand Down
7 changes: 6 additions & 1 deletion framework-api-unifiedsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
<artifactId>javaee-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>uk.gov.justice.framework-api</groupId>
<artifactId>framework-api-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>


</project>
</project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package uk.gov.justice.services.unifiedsearch;

import javax.json.JsonObject;
import uk.gov.justice.services.messaging.JsonEnvelope;

public interface UnifiedSearchIndexer {
void indexData(final JsonObject index);
void indexData(final JsonEnvelope eventWithJoltTransformedPayload);
}

0 comments on commit 1d20188

Please sign in to comment.