Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin committed Sep 29, 2017
1 parent 27a743e commit f87e2ee
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 19 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
55 changes: 54 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,56 @@
######################### Common configuration #########################
### Dev template
*.log
node_modules/*
platforms/*
plugins/*

### JetBrains template
.idea/

### Linux template
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*

### Windows template
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk

/.idea/
### OSX template
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
Binary file modified images/feedback_workflow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
36 changes: 18 additions & 18 deletions reports.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Quand un nouveau rapport est généré à partir d'une observation, il possède

Le schéma ci-dessous montre l'évolution du statut d'un rapport en fonction des actions qui sont effectuées sur ce rapport.

.. image:: images/report_workflow_0.png
.. image:: images/report_workflow.png

Un endpoint unique permet de changer le statut du rapport :

Expand All @@ -39,11 +39,11 @@ Par exemple, pour passer du statut NEW au statut ACCEPTED, l'administrateur de l
.. code-block:: json
[
{
"op":"replace",
"path":"/transition",
"value":"accept"
}
{
"op":"replace",
"path":"/transition",
"value":"accept"
}
]
Un rapport ne peut être clôturé (statut CLOSED) que si :
Expand Down Expand Up @@ -109,11 +109,11 @@ body :
.. code-block:: json
[
{
"op":"replace",
"path":"/description",
"value":"Nouvelle description"
}
{
"op":"replace",
"path":"/description",
"value":"Nouvelle description"
}
]
**Assignation**
Expand Down Expand Up @@ -143,11 +143,11 @@ Une fois assignée, l'opération peut être acceptée ou refusée, soit par la p
.. code-block:: json
[
{
"op":"replace",
"path":"/transition",
"value":"accept"
}
{
"op":"replace",
"path":"/transition",
"value":"accept"
}
]
**Opération en cours et clôture**
Expand Down Expand Up @@ -208,8 +208,8 @@ Exemple :
.. code-block:: json
{
"report":"cb7118b5-a821-4cf2-9475-0c0d0efdb8d0",
"organization":"a31d9ab7-9476-45f2-8cc7-033bf40bbcfa"
"report":"cb7118b5-a821-4cf2-9475-0c0d0efdb8d0",
"organization":"a31d9ab7-9476-45f2-8cc7-033bf40bbcfa"
}
où a31d9ab7-9476-45f2-8cc7-033bf40bbcfa est l'identifiant de l'organisation à laquelle le rapport est délégué.
Expand Down

0 comments on commit f87e2ee

Please sign in to comment.