diff --git a/bruno/OpenData datatourisme/environments/dev.bru b/bruno/OpenData datatourisme/environments/dev.bru index e9ed20c..99d7ecf 100644 --- a/bruno/OpenData datatourisme/environments/dev.bru +++ b/bruno/OpenData datatourisme/environments/dev.bru @@ -1,3 +1,6 @@ +vars { + URL: http://localhost:8080 +} vars:secret [ app_key ] diff --git a/bruno/OpenData datatourisme/environments/prod.bru b/bruno/OpenData datatourisme/environments/prod.bru new file mode 100644 index 0000000..ec08996 --- /dev/null +++ b/bruno/OpenData datatourisme/environments/prod.bru @@ -0,0 +1,3 @@ +vars:secret [ + URL +] diff --git a/bruno/OpenData datatourisme/test pays de la loire.bru b/bruno/OpenData datatourisme/test pays de la loire.bru index b3c36f4..66a3950 100644 --- a/bruno/OpenData datatourisme/test pays de la loire.bru +++ b/bruno/OpenData datatourisme/test pays de la loire.bru @@ -5,11 +5,11 @@ meta { } post { - url: http://localhost:8080 + url: {{URL}} body: graphql auth: none } body:graphql { - {poi() {results{dc_identifier rdfs_label}}} + {poi() {results{dc_identifier, lastUpdate}}} } diff --git a/datatourisme b/datatourisme index fb594bf..af7db7d 160000 --- a/datatourisme +++ b/datatourisme @@ -1 +1 @@ -Subproject commit fb594bfd7c715a891f076750403e3a439b804468 +Subproject commit af7db7d7a5a3b2936306e0d90dddd353c968d7b0 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c138cb0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +services: + + blazegraph: + image: conjecto/blazegraph:2.1.5 + # ports: + # - 9999:9999 + environment: + JAVA_OPTS: "-Xms6G -Xmx6G" + volumes: + - ./datatourisme/dataset:/docker-entrypoint-initdb.d + ulimits: + nofile: + soft: 65536 + hard: 65536 + datatourisme: + image: git.lab-ouest.org/epitech/fork-open-data-tourism:master + # ports: + # - "8080:80" + depends_on: + - blazegraph \ No newline at end of file