SMART COSMOS Event Notification Listener

Default Listener that stores endpoints which should be triggered on certain events.

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.smartcosmos
Идентификатор

Идентификатор

smartcosmos-event-listener
Последняя версия

Последняя версия

3.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

SMART COSMOS Event Notification Listener
Default Listener that stores endpoints which should be triggered on certain events.
Ссылка на сайт

Ссылка на сайт

http://smartcosmos.net/smartcosmos-event-listener
Организация-разработчик

Организация-разработчик

Smartrac Technology Fletcher, Inc.
Система контроля версий

Система контроля версий

https://github.com/SMARTRACTECHNOLOGY/smartcosmos-event-listener/tree/master/

Скачать smartcosmos-event-listener

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/net.smartcosmos/smartcosmos-event-listener/ -->
<dependency>
    <groupId>net.smartcosmos</groupId>
    <artifactId>smartcosmos-event-listener</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.smartcosmos/smartcosmos-event-listener/
implementation 'net.smartcosmos:smartcosmos-event-listener:3.0.0'
// https://jarcasting.com/artifacts/net.smartcosmos/smartcosmos-event-listener/
implementation ("net.smartcosmos:smartcosmos-event-listener:3.0.0")
'net.smartcosmos:smartcosmos-event-listener:jar:3.0.0'
<dependency org="net.smartcosmos" name="smartcosmos-event-listener" rev="3.0.0">
  <artifact name="smartcosmos-event-listener" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.smartcosmos', module='smartcosmos-event-listener', version='3.0.0')
)
libraryDependencies += "net.smartcosmos" % "smartcosmos-event-listener" % "3.0.0"
[net.smartcosmos/smartcosmos-event-listener "3.0.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
net.smartcosmos : smartcosmos-framework jar 3.0.0
net.smartcosmos : smartcosmos-framework-messaging jar 3.0.0

provided (1)

Идентификатор библиотеки Тип Версия
org.projectlombok : lombok jar 1.16.6

test (3)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar
org.springframework.kafka : spring-kafka-test jar 1.0.0.RC1
com.jayway.restassured : spring-mock-mvc jar

Модули Проекта

Данный проект не имеет модулей.

SMART COSMOS Event Listener Service

Build Status

The Event Listener service is a service that listens to the incoming events from the event service and provides an outbound channel for events that do not implement a direct listener interface.

The configuration value smartcosmos.event-listener.topic which defaults to thing.read defines what event this service is listening for.

Events in Standard Services

While any service can create an event, or listen to any event, the system comes with several pre-existing events from many of the core metaphor services (Things, Relationships, Interactions, and Metadata). When listening to events it’s best to remember that every interaction is an event, but not every event is an interaction. Meaning that every interaction has a source and a target whereas events might merely be auditing or logging relevant information.

Things

THING_CREATED("thing.created"),
THING_READ("thing.read"),
THING_DELETED("thing.deleted"),
THING_NOT_FOUND("thing.notFound"),
THING_UPDATED("thing.updated"),
THING_DEACTIVATED("thing.deactivated"),
THING_CREATE_ALREADY_EXISTS("thing.createAlreadyExists"),
THING_CREATED_TRANSACTIONAL("thing.createdTransactional.transactionId."),
THING_TRANSACTIONAL_CREATE_FAILURE("thing.TransactionalCreateFailure.transactionId."),

Relationships

RELATIONSHIP_CREATED("relationship.created"),
RELATIONSHIP_READ("relationship.read"),
RELATIONSHIP_DELETED("relationship.deleted"),
RELATIONSHIP_NOT_FOUND("relationship.notFound"),
RELATIONSHIP_OWNER_NOT_FOUND("relationship.ownerNotFound"),
RELATIONSHIP_EMPTY_REQUEST("relationship.emptyRequest"),
RELATIONSHIP_CONSTRAINT_VIOLATION("relationship.constraintViolation"),
RELATIONSHIP_CREATE_ALREADY_EXISTS("relationship.createAlreadyExists"),

Interactions

Metadata

METADATA_CREATED("metadata.created"),
METADATA_UPDATED("metadata.updated"),
METADATA_UPSERTED("metadata.upserted"),
METADATA_READ("metadata.read"),
METADATA_DELETED("metadata.deleted"),
METADATA_NOT_FOUND("metadata.notFound"),
METADATA_OWNER_NOT_FOUND("metadata.ownerNotFound"),
METADATA_EMPTY_REQUEST("metadata.emptyRequest"),
METADATA_CONSTRAINT_VIOLATION("metadata.constraintViolation"),
METADATA_CREATE_KEY_ALREADY_EXISTS("metadata.createKeyAlreadyExists"),
METADATA_FORBIDDEN("metadata.forbidden"),
net.smartcosmos

Smart Cosmos Solutions Inc.

Версии библиотеки

Версия
3.0.0