Wiki » History » Version 8
Kurt Gerber, 10 Aug 2015 11:40
1 | 1 | Lukas Vonlanthen | h1. Wiki |
---|---|---|---|
2 | |||
3 | 4 | Lukas Vonlanthen | h2. Technologies and Approaches |
4 | |||
5 | !schema_core_links.PNG! |
||
6 | |||
7 | A decision was taken to keep Technologies (QT) and Approaches (QM) separate with the possibility to create links between them. This prevents data redundancy when for example several Technologies share the same Approach. This linkage was already available in the old WOCAT database, but links need to be cleaned up. |
||
8 | |||
9 | Both Approaches and Technologies have a core part (QT core, respectively QA core) containing a basic set of questions. An additional part (QT plus / QA plus) can be used to display the full set of questions. Further links to other modules will be possible. |
||
10 | |||
11 | h3. Sample user story |
||
12 | |||
13 | * User Alice wants to add a new Technology, so she logs in to QCAT |
||
14 | * She enters the form of the Questionnaire on Technologies and sees the Core questions by default. |
||
15 | * She also has the option to fill out the Plus questionnaire where she sees all the questions. |
||
16 | * She fills out every section with the values automatically being filled in the output format of the Questionnaire. |
||
17 | * At the end of the form, she has the possibility to link other Questionnaires. |
||
18 | |||
19 | * She can add an existing Approach by searching and selecting it. |
||
20 | * [It is possible that for the time being, only existing questionnaires can be linked so if she wants to link an Approach which does not exist yet, she would have to go to the Approach form and create an Approach. After that, she can go back to the Technology form and link it.] |
||
21 | |||
22 | 5 | Lukas Vonlanthen | h2. Review workflow |
23 | |||
24 | The workflow when submitting a new Questionnaire or editing an existing one is as follows: |
||
25 | |||
26 | * A logged in User A can create a new Questionnaire or start editing an existing one. |
||
27 | |||
28 | 6 | Lukas Vonlanthen | * When he does *[save]* his changes, it creates a new version (with the existing code if available) with status *@draft@*. |
29 | 5 | Lukas Vonlanthen | * The user can add other users (editors) which can make edits to the draft. While a user is working on the draft, the version is locked for other editors to prevent conflicting edits. |
30 | |||
31 | 6 | Lukas Vonlanthen | * The original user (User A) can *[submit]* the version which receives status *@pending@*. |
32 | 5 | Lukas Vonlanthen | |
33 | * No more edits can be made to the version. |
||
34 | * The moderators are notified that there is a new pending version. |
||
35 | * A moderator reviews the version and decides what to do next: |
||
36 | |||
37 | 7 | Lukas Vonlanthen | * Review decision *[publish]*: The changes are ok, the version receives status *@approved@*. |
38 | 5 | Lukas Vonlanthen | |
39 | * The approved version is inserted in Elasticsearch (replacing older ones). |
||
40 | * Any old version receives status *@inactive@*. |
||
41 | * All editors are notified. |
||
42 | |||
43 | 6 | Lukas Vonlanthen | * Review decision *[reject]*: The changes are very wrong, the version receives status *@rejected@*. |
44 | 5 | Lukas Vonlanthen | |
45 | * All editors are notified. |
||
46 | |||
47 | 6 | Lukas Vonlanthen | * Review decision *[revise]*: Corrections need to be made, the status of the version is set back to *@draft@*. |
48 | 5 | Lukas Vonlanthen | |
49 | * All editors are notified. |
||
50 | * The users can make changes to the questionnaire again (review procedure starts again) |
||
51 | |||
52 | *Missing*: "revise" decisions need to be logged somehow. It should be possible to pass messages from user to user (eg. users submitting comment for the reviewer or reviewer submitting comment for the editors when "revise"). |
||
53 | |||
54 | 4 | Lukas Vonlanthen | |
55 | 2 | Kurt Gerber | h2. Concept |
56 | |||
57 | 8 | Kurt Gerber | * [[Technologies, Approaches and Modules]] |
58 | |||
59 | |||
60 | 1 | Lukas Vonlanthen | h2. Versioning and Review |
61 | |||
62 | 8 | Kurt Gerber | * [[Review process]] |
63 | * Versioning in the database see: document#2 |
||
64 | 2 | Kurt Gerber | |
65 | 3 | Kurt Gerber | |
66 | 2 | Kurt Gerber | h2. Elasticsearch |
67 | 3 | Kurt Gerber | |
68 | * [[Elasticsearch and QCAT]] |