Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42238

Job Get Archives should not run by default OTB

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Awaiting Review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 20.0
    • Fix Version/s: None
    • Component/s: Quartz Scheduler
    • Labels:
      None
    • Test Plan:
      Hide

      By default when Sakai starts should not see the following log message:

      INFO [main] org.sakaiproject.component.app.scheduler.AutoRun.init AutoRun running
      INFO [main] org.sakaiproject.component.app.scheduler.AutoRun.init Triggered job: Get Archives

      Show
      By default when Sakai starts should not see the following log message: INFO [main] org.sakaiproject.component.app.scheduler.AutoRun.init AutoRun running INFO [main] org.sakaiproject.component.app.scheduler.AutoRun.init Triggered job: Get Archives

      Description

      The Get Archives Job runs OTB and its only real reason for existence is to load some sample sites from an archive on nightlies.

      I suggest disabling the Get Archives from running by default and just add some config to nightlies to run it there which is the only place that seems to need it.

      Relevant code:

      <!-- This is to automatically import some sites on startup. -->
      <bean class="org.sakaiproject.component.app.scheduler.AutoRun" init-method="init">
          <property name="schedulerManager" ref="org.sakaiproject.api.app.scheduler.SchedulerManager"/>
          <property name="serverConfigurationService" ref="org.sakaiproject.component.api.ServerConfigurationService"/>
          <property name="startup">
              <list>
                  <ref bean="org.sakaiproject.component.app.scheduler.jobs.autoimport.GetArchivesJob"/>
              </list>
          </property>
      </bean> 

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  buckett Matthew Buckett
                  Reporter:
                  ern Earle R Nietzel
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration