diff --git a/archiver/pipelines/actions/README.txt b/archiver/pipelines/actions/README.txt new file mode 100644 index 0000000..ca4c684 --- /dev/null +++ b/archiver/pipelines/actions/README.txt @@ -0,0 +1,11 @@ +Pipelines in this directory are called by the scheduler. + +Their name is the name of the corresponding action. + +Inputs: + + * data: the action + +Outputs: None + +These pipelines must take care of removing the action from the queue once they are done. diff --git a/archiver/pipelines/archive-resource.xpl b/archiver/pipelines/actions/archive-resource.xpl similarity index 97% rename from archiver/pipelines/archive-resource.xpl rename to archiver/pipelines/actions/archive-resource.xpl index fdaad97..95b57c8 100644 --- a/archiver/pipelines/archive-resource.xpl +++ b/archiver/pipelines/actions/archive-resource.xpl @@ -24,7 +24,8 @@ - + @@ -149,7 +150,8 @@ - + @@ -172,7 +174,8 @@ - + @@ -210,7 +213,8 @@ for $as in /archive-set - + queue.xml @@ -262,7 +266,8 @@ for $a in /queue/action where $a/@uuid = $(uuid) return - + @@ -296,7 +301,8 @@ for $as in /archive-set - + queue.xml diff --git a/archiver/pipelines/archive-set.xpl b/archiver/pipelines/actions/archive-set.xpl similarity index 96% rename from archiver/pipelines/archive-set.xpl rename to archiver/pipelines/actions/archive-set.xpl index 8f89fa7..a705075 100644 --- a/archiver/pipelines/archive-set.xpl +++ b/archiver/pipelines/actions/archive-set.xpl @@ -40,7 +40,8 @@ - + - + diff --git a/archiver/pipelines/scheduler.xpl b/archiver/pipelines/scheduler.xpl index ca19fb3..fb02905 100644 --- a/archiver/pipelines/scheduler.xpl +++ b/archiver/pipelines/scheduler.xpl @@ -33,8 +33,9 @@ - oxf:/ - + oxf:/actions/ + + .xpl