diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..b525b3d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "datatourisme"] + path = datatourisme + url = https://git.lab-ouest.org/Epitech/fork-open-data-tourism diff --git a/bruno/OpenData datatourisme/bruno.json b/bruno/OpenData datatourisme/bruno.json new file mode 100644 index 0000000..077709e --- /dev/null +++ b/bruno/OpenData datatourisme/bruno.json @@ -0,0 +1,5 @@ +{ + "version": "1", + "name": "OpenData datatourisme", + "type": "collection" +} \ No newline at end of file diff --git a/bruno/OpenData datatourisme/environments/dev.bru b/bruno/OpenData datatourisme/environments/dev.bru new file mode 100644 index 0000000..e9ed20c --- /dev/null +++ b/bruno/OpenData datatourisme/environments/dev.bru @@ -0,0 +1,3 @@ +vars:secret [ + app_key +] diff --git a/bruno/OpenData datatourisme/test opendata.bru b/bruno/OpenData datatourisme/test opendata.bru new file mode 100644 index 0000000..15d74a4 --- /dev/null +++ b/bruno/OpenData datatourisme/test opendata.bru @@ -0,0 +1,11 @@ +meta { + name: test opendata + type: http + seq: 1 +} + +get { + url: https://diffuseur.datatourisme.fr/webservice/adb00e7893763e3196afe9a3da1c9e41/{{app_key}} + body: none + auth: none +} diff --git a/bruno/OpenData datatourisme/test pays de la loire.bru b/bruno/OpenData datatourisme/test pays de la loire.bru new file mode 100644 index 0000000..b3c36f4 --- /dev/null +++ b/bruno/OpenData datatourisme/test pays de la loire.bru @@ -0,0 +1,15 @@ +meta { + name: test pays de la loire + type: graphql + seq: 2 +} + +post { + url: http://localhost:8080 + body: graphql + auth: none +} + +body:graphql { + {poi() {results{dc_identifier rdfs_label}}} +} diff --git a/datatourisme b/datatourisme new file mode 160000 index 0000000..fb594bf --- /dev/null +++ b/datatourisme @@ -0,0 +1 @@ +Subproject commit fb594bfd7c715a891f076750403e3a439b804468 diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index c3fcbde..3a9a9bf 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -8,3 +8,22 @@ services: - ./.pb/pocketbase-hooks:/app/pb_hooks ports: - 3001:8080 + + 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: + build: datatourisme/docker + ports: + - "8080:80" + depends_on: + - blazegraph