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

Data Import online API road map (without using file upload functionality)

    XMLWordPrintable

Details

    • Folijet

    Description

      1. Call SourceRecordManager's endpoint to create a JobExecution (Data type (MARC, BIBFRAME, EDIFACT) should be passed as a parameter)
      a new shapshot should be created in the SRS under the hood

      • add DataType (MARC, BIBFRAME, EDIFACT) to the JobExecution model entity
      • add DataType (MARC, BIBFRAME, EDIFACT) to the InitJobExecutionsRqDto
      • add Source type (FILES, ONLINE, ...) to the InitJobExecutionsRqDto
      • change JobExecutionServiceImpl.initializeJobExecutions to handle extended data in InitJobExecutionsRqDto

      2. Call SourceRecordManager's endpoint to pass a bunch of Source Records in the raw format
      Source Records should be parsed and stored in the SRS

      • ChangeManager.postChangeManagerJobExecutionsRecordsById can be used for that
      • chech that case when (RawRecordsDto.last == true and RawRecordsDto.records is notEmpty) is processed correctly

      3. Call SourceRecordManager's endpoint to start processing (JobProfileID should be passed as a parameter)
      Parsed Source Records should be processed using Job Profile with the ID provided as a parameter

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Igor_Gorchakov Igor Gorchakov
                Taras_Spashchenko Taras Spashchenko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases