Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1145

Refactor Async schema to have separate attribute for eventSchema and eventSchemaVersion

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Kohn Release
    • None
    • NCMP

      Update the following schemas with an additional eventSchemaVersion field like so

      "eventSchema": {
        "description": "The schema that this event adheres to",
        "type": "string"
      },
      "eventSchemaVersion": {
        "description": "The version of the schema that this event adheres to",
        "type": "string"
      }
      1. src/main/resources/schemas/dmi-async-request-response-event-schema-v1.json
      2. src/main/resources/schemas/ncmp-async-request-response-event-schema-v1.json

      The code populating these events need to be updated too:

      start with src/main/java/org/onap/cps/ncmp/api/impl/async/NcmpAsyncRequestResponseEventMapper.java

      A/C

      1. Demo an async passtrough requests  result using Kafka 'offset explorer' to show all events having these separate fields
      2. RTD is updated for above schema changes (might already have a separate Jira https://jira.onap.org/browse/CPS-1166

       

            mpriyank Priyank Maheshwari
            mpriyank Priyank Maheshwari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: