-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.yml
109 lines (88 loc) · 3.51 KB
/
README.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
- comment: Test that container is working by using
command: http://localhost:8888
- comment: Validate PJNZ
command: |
-X POST -H 'Content-Type: application/json' \
--data @inst/payload/validate_pjnz_payload.json \
http://localhost:8888/validate/baseline-individual
- comment: Validate shape file and return serialised data
command: |
-X POST -H 'Content-Type: application/json' \
--data @inst/payload/validate_shape_payload.json \
http://localhost:8888/validate/baseline-individual
- comment: Validate population data
command: |
-X POST -H 'Content-Type: application/json' \
--data @inst/payload/validate_population_payload.json \
http://localhost:8888/validate/baseline-individual
- comment: Validate baseline data
command: |
-X POST -H 'Content-Type: application/json' \
--data @inst/payload/validate_baseline_payload.json \
http://localhost:8888/validate/baseline-combined
- comment: Validate programme ART data
command: |
-X POST -H 'Content-Type: application/json' \
--data @inst/payload/validate_programme_payload.json \
http://localhost:8888/validate/survey-and-programme
- comment: Validate ANC data
command: |
-X POST -H 'Content-Type: application/json' \
--data @inst/payload/validate_anc_payload.json \
http://localhost:8888/validate/survey-and-programme
- comment: Validate survey data
command: |
-X POST -H 'Content-Type: application/json' \
--data @inst/payload/validate_survey_payload.json \
http://localhost:8888/validate/survey-and-programme
- comment: Get model run options
command: |
-X POST -H 'Content-Type: application/json' \
--data @inst/payload/model_run_options_payload.json \
http://localhost:8888/model/options
- comment: Run a model
command: |
-X POST -H 'Content-Type: application/json' \
http://localhost:8888/model/submit
data: hintr:::setup_payload_submit()
collect:
model_id: ["id"]
- comment: Query status of model run
command: http://localhost:8888/model/status/{model_id}
sleep: 8
- comment: Get the result of a model run
command: http://localhost:8888/model/result/{model_id}
- comment: Calibrate a model
command: |
-X POST -H 'Content-Type: application/json' \
http://localhost:8888/calibrate/submit/{model_id}
data: hintr:::setup_payload_calibrate()
collect:
calibrate_id: ["id"]
- comment: Query status of calibrate run
command: http://localhost:8888/calibrate/status/{calibrate_id}
sleep: 30
- comment: Get the result of a calibrate run
command: http://localhost:8888/calibrate/result/{calibrate_id}
- comment: Initialise download generation, type spectrum, coarse_output, summary or comparison
command: |
-X POST -H 'Content-Type: application/json' \
http://localhost:8888/download/submit/spectrum/{calibrate_id}
data: hintr:::setup_payload_download_request()
collect:
download_id: ["id"]
- comment: Query status of download generation
command: http://localhost:8888/download/status/{download_id}
sleep: 20
- comment: Headers for summary download result
command: -I http://localhost:8888/download/result/{download_id}
format: header
- comment: Get the summary download result
command: http://localhost:8888/download/result/{download_id}
format: bytes
- comment: Get plotting metadata for Malawi
command: http://localhost:8888/meta/plotting/Malawi
- comment: Get information about hintr versions
command: http://localhost:8888/hintr/version
- comment: Get information about hintr's workers
command: http://localhost:8888/hintr/worker/status