Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ISRIC
wsm.rest
Commits
c78558d9
Commit
c78558d9
authored
Jul 08, 2021
by
Jorge S. Mendes de Jesus
Browse files
Updated .dockerignore, README.md with test links
parent
feb506a5
Pipeline
#25333
passed with stage
in 1 minute and 11 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.dockerignore
View file @
c78558d9
monoliths
tools
.git
...
...
@@ -6,4 +5,14 @@ tools
.project
.pydevproject
*/*.pyc
__pycache__
\ No newline at end of file
__pycache__
#VSCode and Eclipse
.vscode
*.code-workspace
# Local History for Visual Studio Code
.history/
# Local envs
.env
.gitignore
View file @
c78558d9
...
...
@@ -20,3 +20,6 @@ logs
# Python
__pycache__
# CI/CL
.gitlab-ci.yml
\ No newline at end of file
README.md
View file @
c78558d9
...
...
@@ -17,6 +17,33 @@ This app was build before the openapi standard and generic request and informati
-
GET content filter (WRB classes, country)
-
GET limit number of requested pictures
## REST testing
REST is has two environments:
-
[
https://rest-wsm.containers.wurnet.nl
](
https://rest-wsm.containers.wurnet.nl
)
(
dev
)
-
[
https://rest-wsm.isric.org
](
https://rest-wsm.containers.wurnet.nl
)
(
prod
)
**NOTE:**
The dev env only has a limit number of available images, to prevent to much data on dev. To test the REST image and DB acccess we can use the following links:
Testing links for development:
```
bash
-
[
https://rest-wsm.containers.wurnet.nl/monoliths/]
(
https://rest-wsm.containers.wurnet.nl/monoliths/
)
-
[
https://rest-wsm.containers.wurnet.nl/monoliths/original/tif/TH-008-def.tif]
(
https://rest-wsm.containers.wurnet.nl/monoliths/original/tif/TH-008-def.tif
)
-
[
https://rest-wsm.containers.wurnet.nl/monoliths/original/tif?country
=
TH]
(
https://rest-wsm.containers.wurnet.nl/monoliths/original/tif?country
=
TH
)
-
[
https://rest-wsm.containers.wurnet.nl/monoliths/monoliths/1per/tif?classification
=
andosols&extra&limit
=
10&country
=
NZ,FR]
(
https://rest-wsm.containers.wurnet.nl/monoliths/monoliths/1per/tif?classification
=
andosols&extra&limit
=
10&country
=
NZ,FR
)
```
Testing links for production:
```
bash
https://rest-wsm.isric.org/monoliths/
https://rest-wsm.isric.org/monoliths/original/tif/TAU-022-def.tif
https://rest-wsm.isric.org/monoliths/original/tif?country
=
PT
https://rest-wsm.isric.org/monoliths/monoliths/1per/tif?classification
=
andosols&extra&limit
=
10&country
=
NZ,FR
```
## Database
App accesses ISRIC database on
`scomp1270.wurnet.nl`
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment