diff --git a/loterre-resolvers/v1/combine.ini b/loterre-resolvers/v1/combine.ini index e7cad49..6201601 100644 --- a/loterre-resolvers/v1/combine.ini +++ b/loterre-resolvers/v1/combine.ini @@ -10,6 +10,7 @@ # Check if the file is already download [load] +location = env('location') domain = fix('loterre-vocabulaires').append('-loaded') path = loterreID target = isAlreadyDownload @@ -19,6 +20,7 @@ test = get('isAlreadyDownload').isEmpty() [swing/save] +location = env('location') domain = fix('loterre-vocabulaires').append('-loaded') path = loterreID @@ -39,9 +41,10 @@ text = SEARCH [load] -path = value -target = value2 +location = env('location') domain = env('loterreID').prepend('loterre-').append('indexes') +path = value +target = value [debug] diff --git a/loterre-resolvers/v1/download.ini b/loterre-resolvers/v1/download.ini index c29b027..799abbe 100644 --- a/loterre-resolvers/v1/download.ini +++ b/loterre-resolvers/v1/download.ini @@ -16,7 +16,7 @@ # build indexKeys (remove duplicates to avoid ambiguities) [assign] -path = indexKeys +path = indexKeys value = fix(_.get(self, 'skos$prefLabel'), _.get(self, 'skos$altLabel'), _.get(self, 'skos$hiddenLabel')). \ flatten().\ filter(o => _.has(o, '$t')).\ @@ -24,6 +24,7 @@ uniq() [save] +location = env('location') domain = env('loterreID').prepend('loterre-').append('concepts') path = rdf$about diff --git a/loterre-resolvers/v1/process.ini b/loterre-resolvers/v1/process.ini index d30e671..c61b131 100644 --- a/loterre-resolvers/v1/process.ini +++ b/loterre-resolvers/v1/process.ini @@ -18,6 +18,10 @@ plugin = analytics plugin = storage +[env] +path = location +value= fix(`${env('TMPDIR', '/tmp')}/databases/${env('loterreID', 'noid')}`) + # Flow configuration [JSONParse] separator = *