Uploaded image for project: 'mod-source-record-manager'
  1. mod-source-record-manager
  2. MODSOURMAN-521

Remove duplicate kafka headers

    XMLWordPrintable

Details

    • Folijet Sprint 123
    • 0
    • Folijet
    • R3 2021

    Description

      Overview:

      List<KafkaHeader> kafkaHeaders have to contains only unique values.

      Steps to Reproduce:

      Check result of KafkaHeaderUtils.kafkaHeadersFromMultiMap(params.getHeaders()) in RecordsPublishingServiceImpl.sendRecords(...)

      Expected Results:

      x-okapi-request-timestamp = <some value>
      jobExecutionId = <some value>
      ........
      correlationId = <some value>
      x-okapi-request-ip = <some value>
      Content-type = application/json
      Accept = application/json, text/plain

      Actual Results:
      x-okapi-request-timestamp = <some value>
      jobExecutionId = <some value>
      ........
      correlationId = <some value>
      x-okapi-request-ip = <some value>
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain
      Content-type = application/json
      Accept = application/json, text/plain

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Aivar Iusupov Aivar Iusupov
                afedasiuk Aliaksandr Fedasiuk
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases