Resolve "Error handling in event publishing via entity services could be improved"
Merged
requested to merge 248-error-handling-in-event-publishing-via-entity-services-could-be-improved into develop
Compare changes
+ 137
− 7
@@ -3,6 +3,7 @@ package eventservice
@@ -3,6 +3,7 @@ package eventservice
@@ -11,13 +12,37 @@ import (
@@ -11,13 +12,37 @@ import (
@@ -27,20 +52,108 @@ func NewEventService() (interfaces.Service, error) {
@@ -27,20 +52,108 @@ func NewEventService() (interfaces.Service, error) {
conn, err := amqp.Dial(amqpURIBuilder(config.AMQPPrefix, config.AMQPUser, config.AMQPPassword, config.AMQPHost, config.AMQPPort))
@@ -79,6 +192,23 @@ func (e *EventService) PublishEvent(topic string, event event.Event) error {
@@ -79,6 +192,23 @@ func (e *EventService) PublishEvent(topic string, event event.Event) error {