From 9531f11ec32c79dc57a321af5be164a8c5dd7124 Mon Sep 17 00:00:00 2001 From: "Ms. Boba" Date: Mon, 30 Aug 2021 14:53:48 -0700 Subject: [PATCH] Change cron link to point to Spring documentation in importers page, and clarify the format of the cron expression. --- documentation/using/importers/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/using/importers/index.html b/documentation/using/importers/index.html index 8e3acbc5..a9af5984 100644 --- a/documentation/using/importers/index.html +++ b/documentation/using/importers/index.html @@ -347,7 +347,7 @@

Creating a new scheduled import

importer-step3

On first time creation the Job is automatically Scanned and Imported.

Configure scheduling interval

-

The scheduling interval can be globally configured for all the Jobs. It is a global setting and not a per-Job one. This is achieved through the services.update.interval property in the application.properties configuration file that takes the value of SERVICES_UPDATE_INTERVAL environment variable. The value should be set to a valid CRON expression ; default is every 2 hours.

+

The scheduling interval can be globally configured for all the Jobs. It is a global setting and not a per-Job one. This is achieved through the services.update.interval property in the application.properties configuration file that takes the value of SERVICES_UPDATE_INTERVAL environment variable. The value should be set to a valid CRON expression in Spring format ; default is every 2 hours.

services.update.interval=${SERVICES_UPDATE_INTERVAL:0 0 0/2 * * *}
 

Error management

As an import can be scheduled and can take a little time, it is done asynchronously regarding the human interaction that has triggered it. We choose not to have a blocking process for error management: Microcks importers will try to discover and import services but will die silently in case of any failure. We also think that this also promotes iterative and incremental way of working: you know that your job will gracefully fail if your new samples are not yet complete.