Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

In Review

Jira item:

Jira
serverONAP Jira
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-459

...

The type to be used by the consumer is already provided in the existing 'spring.json.value.default.type' property.

Default Topic Name

A good practice of Event Driven Architecture is to avoid having multiple kind of events in the same topic. It means that the topic defined for Cps Data Updated Events should be dedicated to those events and is not supposed to receive any other kind of events. To reflect this intention, it is proposed to rename the default topic name with the name of the events that are published in the topic. Then, its name is changed from "cps.cps-cfg-state-events" to "cps.data-updated-events". This default name can still be changed by configuration using "CPS_CHANGE_EVENT_TOPIC" environment variable, if needed.

Gerrit Changes (WIP)

...