Uploaded image for project: 'mod-data-import'
  1. mod-data-import
  2. MODDATAIMP-38

Create sample data to return JobExecution and Log entities

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      EPAM BatchLoader Sprint 3
    • Development Team:
      Folijet
    • Back End Estimate:
      Small < 3 days

      Description

      Create sample data to return JobExecution objects for UI.
      Representation needs to be in the following format:

      {
        jobExecutionId: String;
        jobExecutionHrId: String; // human readable ID
        jobProfileName: String;
        fileName: String; // with file extension
        runBy: {
          firstName: String;
          lastName: String;
        };
        progress: {
          current: Integer;
          total: Integer;
        };
        startedDate: Timestamp
        completedDate: Timestamp;
        status: 'PREPARING_FOR_PREVIEW' | 'READY_FOR_PREVIEW' | 'RUNNING' | 'RUNNING_COMPLETE'; // Enum
      }
      

      BE needs to return 11 JobExecution objects in the next states :
      3 - PREPARING_FOR_PREVIEW,
      5 - RUNNING (with today's days),
      3 - RUNNING_COMPLETE

      The query should be constructed in this format (quering by status should be provided):
      GET /metadata-provider/jobExecutions?query=(status=RUNNING_COMPLETE, PREPARING_FOR_PREVIEW)

      Create sample data to return Log objects for UI.
      Representation needs to be in the following format:

      {
        jobExecutionId: String;
        jobExecutionHrId: String; // human readable ID
        jobProfileName: String;
        fileName: String; // with file extension
        runBy: {
          firstName: String;
          lastName: String;
        };
        completedDate: Timestamp;
      }
      

      UI needs 25 Log entities

      The query should be constructed in this format:
      GET /metadata-provider/logs'
      param: landingPage

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Igor_Gorchakov Igor Gorchakov
                Reporter:
                Igor_Gorchakov Igor Gorchakov
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases