Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sygal-import-ws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
sygal-import-ws
Commits
e262d9b3
Commit
e262d9b3
authored
Jul 11, 2018
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Correction README: on oublie les exemples en https
parent
156f4bc5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+14
-19
14 additions, 19 deletions
README.md
with
14 additions
and
19 deletions
README.md
+
14
−
19
View file @
e262d9b3
...
...
@@ -116,32 +116,27 @@ $ docker ps
```
Le port sur lequel écoute le ws est indiqué dans la colonne
`PORTS`
.
Par exemple,
`0.0.0.0:8
080->8080
/tcp`
indique que le ws est accessible sur la machine hôte
à l'adresse
`localhost:8
080
`
.
Par exemple,
`0.0.0.0:8
443->8443
/tcp`
indique que le ws est accessible sur la machine hôte
à l'adresse
`
https://
localhost:8
443
`
.
## Les services fournis
Chaque vue en base de données peut être interrogée via un service dédié :
*
Acteur : localhost:8
080
/acteur
*
Doctorant : localhost:8
080
/doctorant
*
Individu : localhost:8
080
/individu
*
Role : localhost:8
080
/role
*
Source : localhost:8
080
/source
*
These : localhost:8
080
/these
*
Variable : localhost:8
080
/variable
*
Structure : localhost:8
080
/structure
*
Etablissement : localhost:8
080
/etablissement
*
Ecole doctorale : localhost:8
080
/ecole-doctorale
*
Unite de recherche : localhost:8
080
/unite-recherche
*
Acteur :
https://
localhost:8
443
/acteur
*
Doctorant :
https://
localhost:8
443
/doctorant
*
Individu :
https://
localhost:8
443
/individu
*
Role :
https://
localhost:8
443
/role
*
Source :
https://
localhost:8
443
/source
*
These :
https://
localhost:8
443
/these
*
Variable :
https://
localhost:8
443
/variable
*
Structure :
https://
localhost:8
443
/structure
*
Etablissement :
https://
localhost:8
443
/etablissement
*
Ecole doctorale :
https://
localhost:8
443
/ecole-doctorale
*
Unite de recherche :
https://
localhost:8
443
/unite-recherche
Exemple :
```
bash
$
curl
--header
"Accept: application/json"
--header
"Authorization: Basic xxxx"
localhost:8080/variable
```
Ou en https :
```
bash
$
curl
--insecure
--header
"Accept: application/json"
--header
"Authorization: Basic xxxx"
https://localhost:8443/variable
```
...
...
@@ -154,7 +149,7 @@ $ echo -n 'sygal-app:motdepasse' | base64
L'interrogation directe de ces adresses va retourner l'intégralité des données du BDD.
Afin d'obtenir les informations spécifiques à une donnée, il est possible d'ajouter son identifiant, exemple :
```
bash
$
curl
--header
"Accept: application/json"
--header
"Authorization: Basic xxxx"
localhost:8
080
/variable/ETB_LIB_NOM_RESP
$
curl
--insecure
--header
"Accept: application/json"
--header
"Authorization: Basic xxxx"
https://
localhost:8
443
/variable/ETB_LIB_NOM_RESP
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment