Microservice responsible for managing a data processing job and its related tasks.
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX task: <http://redpencil.data.gift/vocabularies/tasks/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX oslc: <http://open-services.net/ns/core#>
PREFIX cogs: <http://vocab.deri.ie/cogs#>
PREFIX adms: <http://www.w3.org/ns/adms#>
The instance of a process or group of processes (workflow).
cogs:Job
| Name | Predicate | Range | Definition |
|---|---|---|---|
| uuid | mu:uuid | xsd:string | |
| creator | dct:creator | rdfs:Resource | |
| status | adms:status | adms:Status | |
| created | dct:created | xsd:dateTime | |
| modified | dct:modified | xsd:dateTime | |
| jobType | task:operation | skos:Concept | |
| error | task:error | oslc:Error |
Subclass of cogs:Job
task:Task
| Name | Predicate | Range | Definition |
|---|---|---|---|
| uuid | mu:uuid | xsd:string | |
| status | adms:status | adms:Status | |
| created | dct:created | xsd:dateTime | |
| modified | dct:modified | xsd:dateTime | |
| operation | task:operation | skos:Concept | |
| index | task:index | xsd:string | May be used for orderering. E.g. : '1', '2.1', '2.2', '3' |
| error | task:error | oslc:Error | |
| parentTask | cogs:dependsOn | task:Task | |
| job | dct:isPartOf | rdfs:Resource | Refer to the parent job |
| resultsContainer | task:resultsContainer | nfo:DataContainer | An generic type, which may have elements such as File, Graph. The consumer needs to determine how to handle it. |
| inputContainer | task:inputContainer | nfo:DataContainer | An generic type, which may have elements such as File, Graph. The consumer needs to determine how to handle it. |
oslc:Error
| Name | Predicate | Range | Definition |
|---|---|---|---|
| uuid | mu:uuid | xsd:string | |
| message | oslc:message | xsd:string |
jobs-controller:
image: lblod/job-controller-service:x.x.x
volumes:
- ./config/jobs-controller/:/config/
An example config:
{
"http://lblod.data.gift/id/jobs/concept/JobOperation/lblodHarvesting": {
"tasksConfiguration": [
{
"currentOperation": null,
"nextOperation": "http://lblod.data.gift/id/jobs/concept/TaskOperation/importing",
"nextIndex": "0"
},
{
"currentOperation": "http://lblod.data.gift/id/jobs/concept/TaskOperation/collecting",
"nextOperation": "http://lblod.data.gift/id/jobs/concept/TaskOperation/importing",
"nextIndex": "1"
},
{
"currentOperation": "http://lblod.data.gift/id/jobs/concept/TaskOperation/importing",
"nextOperation": "http://lblod.data.gift/id/jobs/concept/TaskOperation/validating",
"nextIndex": "2"
}
]
}
}
[ //other rules
{
match: {
predicate: {
type: 'uri',
value: 'http://www.w3.org/ns/adms#status'
}
},
callback: {
method: 'POST',
url: 'http://jobs-controller/delta'
},
options: {
resourceFormat: 'v0.0.1',
gracePeriod: 1000,
ignoreFromSelf: true
}
}
]
Content type
Image
Digest
sha256:9df132320…
Size
470.4 MB
Last updated
20 days ago
docker pull lblod/job-controller-service