use of com.metabroadcast.columbus.telescope.api.EntityState in project atlas-deer by atlasapi.
the class ColumbusTelescopeReporter method reportSuccessfulMigration.
public void reportSuccessfulMigration(Content content) {
EntityState entityState = EntityState.builder().withAtlasId(codec.encode(content.getId().toBigInteger())).withRaw(getContentJsonString(content)).withRawMime(MimeType.APPLICATION_JSON.toString()).build();
Event event = createEvent(entityState, Event.Status.SUCCESS);
telescopeClient.createEvent(event);
}
Aggregations