Uploaded image for project: 'mod-source-record-storage'
  1. mod-source-record-storage
  2. MODSOURCE-28

Bring all the module's endpoints to the same structure

    XMLWordPrintable

Details

    • EPAM BatchLoader Sprint 10
    • 5
    • Folijet

    Description

      Below is the table which describes the existing and needed structures for endpoints:

      Existing Required
      /source-storage/snapshot /source-storage/snapshots - GET, POST
      /source-storage/snapshot/{jobExecutionId} /source-storage/snapshots/{jobExecutionId} - GET, PUT, DELETE
      /source-storage/record /source-storage/records - GET, POST
      /source-storage/record/{id} /source-storage/records/{id} - GET, PUT, DELETE
      /source-storage/populate-test-marc-records /source-storage/populate-test-marc-records - POST
      /source-storage/result
      GET /source-storage/sourceRecords?query={query}&type=MARC
      GET /source-storage/sourceRecords/{UUID}?type=MARC
      • Rename entities:
        • sourceRecord -> rawRecord
        • result -> sourceRecord
        • sourceRecord should contain both raw part and parsed part of the row

      This will affect mod-source-record-manager as well.

      • Change API Version number
      • Update documentation and news
      • Change tests accordingly

      Update RAML file (remove response overriding ) Use collection, collection-item types

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Kateryna Senchenko Kateryna Senchenko
                Taras_Spashchenko Taras Spashchenko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases