Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
b39641de
Commit
b39641de
authored
Nov 21, 2016
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some more info about doors (TODO finalize later)
parent
f9d04de4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
2 deletions
+46
-2
doors_testserver_config.md
doc/doors_testserver_config.md
+46
-2
No files found.
doc/doors_testserver_config.md
View file @
b39641de
#### Why and what?
After comex-reg setup, one may want to run a doors server to interact with.
Doors is served by a jetty server so we need to do a few things
1) To do that we need to install doors
2) Doors is served by a jetty server so we need to do a few things
## Doors installation
First you'll need to install sbt (for scala builds): see http://www.scala-sbt.org/
```bash
# any installation dir is ok...
cd /~
git clone https://github.com/ISCPIF/doors.git
cd doors/application
sbt
```
Then we build and run the scala app in sbt command line
```
sbt
project lab
run
```
## Server conf
### If nginx
see more info in the
[
nginx doc for a jetty
](
https://www.nginx.com/resources/wiki/start/topics/examples/javaservers
)
####
####
gist
```
proxy_pass http://localhost:8080; # <== jetty app referenced by nginx
```
...
...
@@ -27,4 +53,22 @@ sudo a2enmod proxy_ajp # <= needed for proxy relay
```
TODO
## Doors status protocol
**TODO**
DOORS callDoors
// need to handle the various return formats
// then send one of 2 * 2 possibilities (+ unknown exceptions)
// action | response
// login login ok
// login can't login
// register register ok
// register can't register
// register login exists // ML remark : this is redundant
// TODO verif protocole de statuts
```
Write
Preview
Markdown
is supported
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