Skip to content

Commit

Permalink
Generate public message client from yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mapingo committed Aug 15, 2019
1 parent 907f439 commit 2a41956
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 43 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
event_sources:
- name: event.source
is_default: true
location:
jms_uri: jms:topic:example.event
rest_uri: http://localhost:8080/example/event-source-api/rest
data_source: java:/app/example-single/DS.eventstore
- name: event.source
is_default: true
location:
jms_uri: jms:topic:example.event
rest_uri: http://localhost:8080/example/event-source-api/rest
data_source: java:/app/example-single/DS.eventstore

- name: public.event.source
location:
jms_uri: jms:topic:public.event

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
subscriptions_descriptor:
spec_version: 1.0.0
service: example
service_component: EVENT_PROCESSOR
subscriptions:
- name: public event processor subscription
events:
- name: example.events.recipe-added
schema_uri: http://justice.gov.uk/example/event/example.events.recipe-added.json

- name: example.events.cake-made
schema_uri: http://justice.gov.uk/example/event/example.events.cake-made.json

event_source_name: public.event.source
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.slf4j.Logger;

@Ignore
public class ShutteringIT {

private static final Logger logger = getLogger(ShutteringIT.class);
Expand Down

0 comments on commit 2a41956

Please sign in to comment.