Commit cfcebc68 authored by Günter Hipler's avatar Günter Hipler
Browse files

added iso-code-mapping for languages

parent e46ca839
Pipeline #24321 passed with stages
in 7 minutes and 12 seconds
......@@ -5,4 +5,3 @@ target/
project/project
project/target
data
configs
access_terms/
cantons/
document_types/
institution_types/
metadata-languages/
municipalities/
reuse_statements/
!.gitignore
This diff is collapsed.
## ISO 639-3 codes as language tags
* wikidata property (ISO 639-3)
https://www.wikidata.org/wiki/Property:P220
* wikidata sparql query for matching
https://query.wikidata.org/#SELECT%20%3Fs%20%20%3Fo%20%0AWHERE%0A%7B%0A%0A%20%20%3Fs%20wdt%3AP220%20%3Fo%20.%0A%7D%0A
* workflow to fetch the data
by now no automatic - to be done
* config file (used as config map in k8s)
./configs/isocode-693-mapping.csv
* configmap in k8s
configmap-edm-iso693
* kubectl command
kubectl create cm configmap-edm-iso693 --from-file ./configs/isocode-693-mapping/iso-codes-mapping.csv
kubectl get cm configmap-edm-iso693 -o yaml
......@@ -30,3 +30,7 @@ docker run --rm -v /home/swissbib/environment/code/repositories/memoriav/gitlab/
docker run --rm -it --network host edenhill/kafkacat:1.6.0 -C -b VPN:9092 -t import-process-reporting -K '\t'
docker run --rm -it --network host edenhill/kafkacat:1.6.0 -C -b VPN:9092 -t import-process-reporting-es | grep FATAL
andere Befehle:
- Metadatamode (direkt auf ka8) - nach Absturz des Hosts Prüfung, ob server wieder funktionsfähig ist
docker run --rm -it --network host edenhill/kafkacat:1.6.0 -b dd-ka8:9092 -L
\ No newline at end of file
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