5 Commits

Author SHA1 Message Date
be9e7e302b sync bruno test 2024-04-21 15:17:17 +02:00
36319ea002 update bruno file 2024-04-21 13:40:01 +02:00
f7dd45450b add datatourism for prod 2024-04-21 12:49:28 +02:00
db493301c8 fix: add submodule to readme (#4)
Reviewed-on: #4
Co-authored-by: Clement <c.boesmier@aptatio.com>
Co-committed-by: Clement <c.boesmier@aptatio.com>
2024-04-21 11:12:53 +02:00
746c7d493c feat: add open data to dev (#3)
Reviewed-on: #3
Co-authored-by: Clement <c.boesmier@aptatio.com>
Co-committed-by: Clement <c.boesmier@aptatio.com>
2024-04-21 11:08:56 +02:00
10 changed files with 87 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "datatourisme"]
path = datatourisme
url = https://git.lab-ouest.org/Epitech/fork-open-data-tourism

View File

@ -1 +1,4 @@
Original repo : https://git.lab-ouest.org/Epitech/ratrapage_T-WEB
Original repo : https://git.lab-ouest.org/Epitech/ratrapage_T-WEB
Submodule repo : https://git.lab-ouest.org/Epitech/fork-open-data-tourism/

View File

@ -0,0 +1,5 @@
{
"version": "1",
"name": "OpenData datatourisme",
"type": "collection"
}

View File

@ -0,0 +1,6 @@
vars {
URL: http://localhost:8080
}
vars:secret [
app_key
]

View File

@ -0,0 +1,3 @@
vars:secret [
URL
]

View File

@ -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
}

View File

@ -0,0 +1,15 @@
meta {
name: test pays de la loire
type: graphql
seq: 2
}
post {
url: {{URL}}
body: graphql
auth: none
}
body:graphql {
{poi() {results{dc_identifier, lastUpdate}}}
}

1
datatourisme Submodule

Submodule datatourisme added at af7db7d7a5

View File

@ -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

20
docker-compose.yml Normal file
View File

@ -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