Uploaded image for project: 'mod-data-export-worker'
  1. mod-data-export-worker
  2. MODEXPW-46

Get matching records based on provided query

    XMLWordPrintable

Details

    • Firebird Sprint 129
    • 5
    • Firebird

    Description

      Purpose/Overview:
      The user should be able to send a query to get the matched records CSV file. The behavior is similar to uploading the UUIDs CSV file but with the query used instead. The UI will need to display a preview of the records (top 10).

      Requirements/Scope:
      Note that in the scope of the Pilot project only query search by user groups will be supported.

      1. The "query" param is supported for generating the matched records CSV file
      2. The user flow should be the same as uploading the UUIDs file flow

      Approach:
      1) Extend the JobCommand export type filed with the new value for the bulk edit export that supports the CQL query. (UI should send this information - query, export type)
      2) Implement a new Job for CQL support.
      3) For CQL the new Partitioner should be implemented which will split the query into parts of limit and offset parameters that cover the entire related data set. So these parts will be processed asynchronously.

      Acceptance criteria:

      • Response contains all fields from the user record
      • Keys are replaced with corresponding values
      • Query parameter is supported
      • The flow with query parameter for the user is the same as uploading the UUIDs file.
      • The response contains all fields from the user record
      • Keys are replaced with corresponding values
      • Unit and API tests are written where applicable

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Charniak Siarhei Charniak
                TotoroDev Illia Daliek
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases