Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-941

remove time check from remotekb harvest

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ERM Sprint 91
    • Development Team:
      ERM

      Description

      Remote KBs that should be harvested are selected using the HQL:

      select rkb.id
      from RemoteKB as rkb
      where rkb.type is not null
        and rkb.active = :true
        and ( ( rkb.syncStatus is null ) OR ( rkb.syncStatus <> :inprocess ) )
        and ( ( rkb.lastCheck is null ) OR ( ( :current_time - rkb.lastCheck ) < 1*60*60*1000 ) )
      

      The time check in this selection can lead to remoteKBs not being re-checked. As the process of selecting which remote KBs to refresh is run once per hour via a scheduled job, and jobs that are already in-process are skipped, it seems this extra time check can be removed to avoid situations where this causes the harvest not to run for a specific remoteKb

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              sosguthorpe Steve Osguthorpe
              Reporter:
              ostephens Owen Stephens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases