Commit 97bbd985 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add step whitelist

parent 3a75a6f7
gi-drupal-syncer
import-process-bridge-groups
gi-record-set-es-transform
gi-institution-es-transform
indexer-record-sets-v6
indexer-institutions-v6
indexer-documents-v21-update
\ No newline at end of file
#!/usr/bin/env bash
kubectl delete configmap prod-reports-consumer-step-whitelist
kubectl create configmap prod-reports-consumer-step-whitelist --from-file ./reports-consumer-step-whitelist/
\ No newline at end of file
gi-drupal-syncer
import-process-bridge-groups
gi-record-set-es-transform
gi-institution-es-transform
indexer-record-sets-v6
indexer-institutions-v6
indexer-documents-v21-update
\ No newline at end of file
#!/usr/bin/env bash
kubectl delete configmap stage-reports-consumer-step-whitelist
kubectl create configmap stage-reports-consumer-step-whitelist --from-file ./reports-consumer-step-whitelist/
\ No newline at end of file
{
"query": {
"term": {
"recordSet.facet": "bar-001"
}
},
"script": {
"source": "ctx._source['masterInstitution'] = params.containers",
"lang": "painless",
"params": {
"containers": [
{
"filter": "bar",
"name": {
"de": [
"Schweizerisches Bundesarchiv"
],
"un": [],
"it": [
"Archivio federale svizzero"
],
"fr": [
"Archives fédérales suisses"
]
}
},
{
"facet": [],
"filter": "csa",
"name": {
"de": [
"Cinémathèque suisse"
],
"fr": [
"Cinémathèque suisse"
],
"it": [
"Cinémathèque suisse"
],
"un": []
}
}
]
}
}
}
\ No newline at end of file
curl -X POST "localhost:8080/documents-v21/_update_by_query?conflicts=proceed&pretty" -H 'Content-Type: application/json' --data-binary "@update.json"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment