Skip to content

Commit

Permalink
updates xpath validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolea PLESCO authored and Kolea PLESCO committed Apr 9, 2024
1 parent 1d49e15 commit a43cf60
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ENV_FILE := .env
PROJECT_PATH = $(shell pwd)
AIRFLOW_INFRA_FOLDER ?= ${PROJECT_PATH}/.airflow
RML_MAPPER_PATH = ${PROJECT_PATH}/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH = ${PROJECT_PATH}/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH = ${PROJECT_PATH}/.saxon/saxon-he-10.9.jar
LIMES_ALIGNMENT_PATH = $(PROJECT_PATH)/.limes/limes.jar
HOSTNAME = $(shell hostname)
CAROOT = $(shell pwd)/infra/traefik/certs
Expand Down Expand Up @@ -222,8 +222,8 @@ init-limes:

init-saxon:
@ echo -e "$(BUILD_PRINT)Saxon folder initialization $(END_BUILD_PRINT)"
@ wget -c https://kumisystems.dl.sourceforge.net/project/saxon/Saxon-HE/10/Java/SaxonHE10-6J.zip -P .saxon/
@ cd .saxon && unzip SaxonHE10-6J.zip && rm -rf SaxonHE10-6J.zip
@ wget -c https://github.com/Saxonica/Saxon-HE/releases/download/SaxonHE10-9/SaxonHE10-9J.zip -P .saxon/
@ cd .saxon && unzip SaxonHE10-9J.zip && rm -rf SaxonHE10-9J.zip

start-project-services: | start-airflow start-mongo init-rml-mapper init-limes start-allegro-graph start-metabase
stop-project-services: | stop-airflow stop-mongo stop-allegro-graph stop-metabase
Expand Down
4 changes: 2 additions & 2 deletions infra/airflow-cluster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ RUN mkdir -p ./.rmlmapper
RUN wget -c https://github.com/RMLio/rmlmapper-java/releases/download/v6.2.2/rmlmapper-6.2.2-r371-all.jar -O ./.rmlmapper/rmlmapper.jar


RUN wget -c https://kumisystems.dl.sourceforge.net/project/saxon/Saxon-HE/10/Java/SaxonHE10-6J.zip -P .saxon/
RUN cd .saxon && unzip SaxonHE10-6J.zip && rm -rf SaxonHE10-6J.zip
RUN wget -c https://kumisystems.dl.sourceforge.net/project/saxon/Saxon-HE/10/Java/SaxonHE10-9J.zip -P .saxon/
RUN cd .saxon && unzip SaxonHE10-9J.zip && rm -rf SaxonHE10-9J.zip


RUN mkdir -p ./.limes
Expand Down
2 changes: 1 addition & 1 deletion infra/airflow-cluster/docker-compose-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ x-airflow-common:
PYTHONPATH: /opt/airflow/
AIRFLOW_HOME: /opt/airflow
RML_MAPPER_PATH: /opt/airflow/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.9.jar
LIMES_ALIGNMENT_PATH: /opt/airflow/.limes/limes.jar
DAG_LOGGER_CONFIG_HANDLERS: ${DAG_LOGGER_CONFIG_HANDLERS}
volumes:
Expand Down
2 changes: 1 addition & 1 deletion infra/airflow-cluster/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ x-airflow-common:
PYTHONPATH: /opt/airflow/
AIRFLOW_HOME: /opt/airflow
RML_MAPPER_PATH: /opt/airflow/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.9.jar
LIMES_ALIGNMENT_PATH: /opt/airflow/.limes/limes.jar
DAG_LOGGER_CONFIG_HANDLERS: ${DAG_LOGGER_CONFIG_HANDLERS}
volumes:
Expand Down
4 changes: 2 additions & 2 deletions infra/airflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ RUN mkdir -p ./.rmlmapper ./dags ./ted_sws ./temp
RUN wget -c https://github.com/RMLio/rmlmapper-java/releases/download/v6.2.2/rmlmapper-6.2.2-r371-all.jar -O ./.rmlmapper/rmlmapper.jar


RUN wget -c https://kumisystems.dl.sourceforge.net/project/saxon/Saxon-HE/10/Java/SaxonHE10-6J.zip -P .saxon/
RUN cd .saxon && unzip SaxonHE10-6J.zip && rm -rf SaxonHE10-6J.zip
RUN wget -c https://kumisystems.dl.sourceforge.net/project/saxon/Saxon-HE/10/Java/SaxonHE10-9J.zip -P .saxon/
RUN cd .saxon && unzip SaxonHE10-9J.zip && rm -rf SaxonHE10-9J.zip

RUN mkdir -p ./.limes
RUN wget -c https://github.com/dice-group/LIMES/releases/download/1.7.9/limes.jar -P ./.limes
Expand Down
2 changes: 1 addition & 1 deletion infra/airflow/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ x-airflow-common:
PYTHONPATH: /opt/airflow/
AIRFLOW_HOME: /opt/airflow
RML_MAPPER_PATH: /opt/airflow/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.9.jar
LIMES_ALIGNMENT_PATH: /opt/airflow/.limes/limes.jar
DAG_LOGGER_CONFIG_HANDLERS: ${DAG_LOGGER_CONFIG_HANDLERS}
volumes:
Expand Down
10 changes: 5 additions & 5 deletions infra/aws/airflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
PYTHONPATH: /opt/airflow/
LIMES_ALIGNMENT_PATH: /opt/airflow/.limes/limes.jar
RML_MAPPER_PATH: /opt/airflow/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.9.jar
AIRFLOW_UID: ${AIRFLOW_UID}
image: ${AIRFLOW_IMAGE_URI}
logging:
Expand Down Expand Up @@ -77,7 +77,7 @@ services:
PYTHONPATH: /opt/airflow/
LIMES_ALIGNMENT_PATH: /opt/airflow/.limes/limes.jar
RML_MAPPER_PATH: /opt/airflow/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.9.jar
healthcheck:
test: ["CMD-SHELL", 'airflow jobs check --job-type SchedulerJob --hostname "$${HOSTNAME}"']
interval: 10s
Expand Down Expand Up @@ -125,7 +125,7 @@ services:
PYTHONPATH: /opt/airflow/
LIMES_ALIGNMENT_PATH: /opt/airflow/.limes/limes.jar
RML_MAPPER_PATH: /opt/airflow/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.9.jar
image: ${AIRFLOW_IMAGE_URI}
logging:
driver: awslogs
Expand Down Expand Up @@ -168,7 +168,7 @@ services:
PYTHONPATH: /opt/airflow/
LIMES_ALIGNMENT_PATH: /opt/airflow/.limes/limes.jar
RML_MAPPER_PATH: /opt/airflow/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.9.jar
image: ${AIRFLOW_IMAGE_URI}
logging:
driver: awslogs
Expand Down Expand Up @@ -215,7 +215,7 @@ services:
PYTHONPATH: /opt/airflow/
LIMES_ALIGNMENT_PATH: /opt/airflow/.limes/limes.jar
RML_MAPPER_PATH: /opt/airflow/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.9.jar
image: ${AIRFLOW_IMAGE_URI}
labels:
ecs-local.task-definition-input.type: remote
Expand Down
2 changes: 1 addition & 1 deletion infra/aws/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
PYTHONPATH: /opt/airflow/
LIMES_ALIGNMENT_PATH: /opt/airflow/.limes/limes.jar
RML_MAPPER_PATH: /opt/airflow/.rmlmapper/rmlmapper.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.6.jar
XML_PROCESSOR_PATH: /opt/airflow/.saxon/saxon-he-10.9.jar
image: ${AIRFLOW_IMAGE_URI}
# hostname: "worker1"
ports:
Expand Down

0 comments on commit a43cf60

Please sign in to comment.