Blame view

src/misc/fixtures/tests/routine_mgr_test.json 8.41 KB
fd99569d   haribo   Date: 22/06/2016
1
2
[
{
ddf59dd4   haribo   Remaniement :
3
    "model": "common.country",
fd99569d   haribo   Date: 22/06/2016
4
5
6
7
8
9
10
11
    "pk": 1,
    "fields": {
        "name": "France",
        "desc": "",
        "quota": null
    }
},
{
ddf59dd4   haribo   Remaniement :
12
    "model": "common.detector",
fd99569d   haribo   Date: 22/06/2016
13
14
    "pk": 1,
    "fields": {
abfb02e2   Jeremy   Device Model is n...
15
16
17
18
19
20
        "name": "Cagire",
        "desc": "",
        "created": "2016-05-13T11:49:49.663Z",
        "updated": "2016-05-13T11:49:49.664Z",
        "is_online": false,
        "maintenance_date": null,
fd99569d   haribo   Date: 22/06/2016
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
        "telescope": 1,
        "status": "",
        "nb_photo_x": null,
        "nb_photo_y": null,
        "photo_size_x": null,
        "photo_size_y": null,
        "has_shutter": false,
        "equivalent_foc_len": "",
        "acq_start": null,
        "acq_stop": null,
        "check_temp": null,
        "gain": null,
        "readout_noise": null,
        "readout_time": null,
        "idcam_readout_mode": null
    }
},
{
ddf59dd4   haribo   Remaniement :
39
    "model": "common.detector",
fd99569d   haribo   Date: 22/06/2016
40
41
    "pk": 2,
    "fields": {
abfb02e2   Jeremy   Device Model is n...
42
43
44
45
46
47
        "name": "Visible camera",
        "desc": "",
        "created": "2016-05-13T11:50:17.644Z",
        "updated": "2016-05-13T11:50:17.644Z",
        "is_online": false,
        "maintenance_date": null,
fd99569d   haribo   Date: 22/06/2016
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
        "telescope": 1,
        "status": "",
        "nb_photo_x": null,
        "nb_photo_y": null,
        "photo_size_x": null,
        "photo_size_y": null,
        "has_shutter": false,
        "equivalent_foc_len": "",
        "acq_start": null,
        "acq_stop": null,
        "check_temp": null,
        "gain": null,
        "readout_noise": null,
        "readout_time": null,
        "idcam_readout_mode": null
    }
},
{
abfb02e2   Jeremy   Device Model is n...
66
    "model": "common.filterwheel",
fd99569d   haribo   Date: 22/06/2016
67
68
    "pk": 1,
    "fields": {
ad85da7c   haribo   Date: 28/06/2016
69
70
71
72
73
74
        "name": "Cagire FW",
        "desc": "",
        "created": "2016-06-28T13:28:28.298Z",
        "updated": "2016-06-28T13:28:28.298Z",
        "is_online": false,
        "status": "",
abfb02e2   Jeremy   Device Model is n...
75
76
        "maintenance_date": null,
        "detector": 1
ad85da7c   haribo   Date: 28/06/2016
77
78
79
    }
},
{
abfb02e2   Jeremy   Device Model is n...
80
81
    "model": "common.filterwheel",
    "pk": 2,
ad85da7c   haribo   Date: 28/06/2016
82
83
84
85
86
87
88
    "fields": {
        "name": "Visible Camera FW",
        "desc": "",
        "created": "2016-06-28T13:28:46.887Z",
        "updated": "2016-06-28T13:28:46.887Z",
        "is_online": false,
        "status": "",
abfb02e2   Jeremy   Device Model is n...
89
        "maintenance_date": null,
ad85da7c   haribo   Date: 28/06/2016
90
91
92
93
        "detector": 2
    }
},
{
ddf59dd4   haribo   Remaniement :
94
    "model": "common.filter",
fd99569d   haribo   Date: 22/06/2016
95
96
    "pk": 1,
    "fields": {
abfb02e2   Jeremy   Device Model is n...
97
98
99
100
101
102
103
        "name": "First infrared filter",
        "desc": "",
        "created": "2016-05-13T11:49:56.579Z",
        "updated": "2016-05-13T11:49:56.579Z",
        "is_online": false,
        "status": "",
        "maintenance_date": null,
ad85da7c   haribo   Date: 28/06/2016
104
        "filter_wheel": 1,
fd99569d   haribo   Date: 22/06/2016
105
106
107
108
109
        "category": "",
        "transmission_curve_doc": ""
    }
},
{
ddf59dd4   haribo   Remaniement :
110
    "model": "common.filter",
fd99569d   haribo   Date: 22/06/2016
111
112
    "pk": 2,
    "fields": {
ad85da7c   haribo   Date: 28/06/2016
113
        "filter_wheel": 1,
fd99569d   haribo   Date: 22/06/2016
114
        "category": "",
abfb02e2   Jeremy   Device Model is n...
115
116
117
118
119
120
121
122
        "transmission_curve_doc": "",
        "name": "Second infrared filter",
        "desc": "",
        "created": "2016-05-13T11:50:07.592Z",
        "updated": "2016-05-13T11:50:07.592Z",
        "is_online": false,
        "status": "",
        "maintenance_date": null
fd99569d   haribo   Date: 22/06/2016
123
124
125
    }
},
{
ddf59dd4   haribo   Remaniement :
126
    "model": "common.filter",
fd99569d   haribo   Date: 22/06/2016
127
128
    "pk": 3,
    "fields": {
ad85da7c   haribo   Date: 28/06/2016
129
        "filter_wheel": 2,
fd99569d   haribo   Date: 22/06/2016
130
        "category": "",
abfb02e2   Jeremy   Device Model is n...
131
132
133
134
135
136
137
138
        "transmission_curve_doc": "",
        "name": "First visible filter",
        "desc": "",
        "created": "2016-05-13T11:50:02.012Z",
        "updated": "2016-05-13T11:50:02.013Z",
        "is_online": false,
        "status": "",
        "maintenance_date": null
fd99569d   haribo   Date: 22/06/2016
139
140
141
    }
},
{
ddf59dd4   haribo   Remaniement :
142
    "model": "common.filter",
fd99569d   haribo   Date: 22/06/2016
143
144
    "pk": 4,
    "fields": {
ad85da7c   haribo   Date: 28/06/2016
145
        "filter_wheel": 2,
fd99569d   haribo   Date: 22/06/2016
146
        "category": "",
abfb02e2   Jeremy   Device Model is n...
147
148
149
150
151
152
153
154
        "transmission_curve_doc": "",
        "name": "Second visible filter",
        "desc": "",
        "created": "2016-05-13T11:50:11.226Z",
        "updated": "2016-05-13T11:50:11.226Z",
        "is_online": false,
        "status": "",
        "maintenance_date": null
fd99569d   haribo   Date: 22/06/2016
155
156
157
    }
},
{
ddf59dd4   haribo   Remaniement :
158
    "model": "common.scientificprogram",
fd99569d   haribo   Date: 22/06/2016
159
160
161
162
163
164
165
166
167
168
169
170
    "pk": 1,
    "fields": {
        "name": "GRB",
        "desc": "",
        "quota": 9999.0,
        "priority": 0,
        "pyros_users": [
            1
        ]
    }
},
{
ddf59dd4   haribo   Remaniement :
171
    "model": "common.strategyobs",
fd99569d   haribo   Date: 22/06/2016
172
173
174
175
176
177
178
179
    "pk": 1,
    "fields": {
        "name": "strat1",
        "desc": "",
        "xml_file": "strat1.xml"
    }
},
{
ddf59dd4   haribo   Remaniement :
180
    "model": "common.strategyobs",
fd99569d   haribo   Date: 22/06/2016
181
182
183
184
185
186
187
188
    "pk": 2,
    "fields": {
        "name": "strat2",
        "desc": "",
        "xml_file": "strat2.xml"
    }
},
{
ddf59dd4   haribo   Remaniement :
189
    "model": "common.telescope",
fd99569d   haribo   Date: 22/06/2016
190
191
    "pk": 1,
    "fields": {
abfb02e2   Jeremy   Device Model is n...
192
193
194
195
196
197
        "name": "Telescope",
        "desc": "",
        "created": "2016-05-13T11:50:14.326Z",
        "updated": "2016-05-13T11:50:14.326Z",
        "is_online": false,
        "maintenance_date": null,
fd99569d   haribo   Date: 22/06/2016
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
        "mount_type": "",
        "diameter": null,
        "status": "",
        "latitude": null,
        "longitude": null,
        "sens": "",
        "altitude": null,
        "readout_time": null,
        "slew_time": null,
        "slew_dead": null,
        "slew_rate_max": null,
        "horizon_type": "",
        "horizon_def": null,
        "lim_dec_max": null,
        "lim_dec_min": null,
        "lim_ha_rise": null,
        "lim_ha_set": null,
        "address": "",
        "night_elev_sun": null,
        "mpc_code": ""
    }
},
{
ddf59dd4   haribo   Remaniement :
221
    "model": "common.userlevel",
fd99569d   haribo   Date: 22/06/2016
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
    "pk": 1,
    "fields": {
        "name": "Developer",
        "desc": "",
        "priority": 0,
        "quota": 9999.0
    }
},
{
    "model": "auth.user",
    "pk": 8,
    "fields": {
        "password": "pbkdf2_sha256$24000$bKJO902RCk0w$zxUz9uiSYG85ymuvl5rNLLqT/LZwrLwpVj5WfwwSyKE=",
        "last_login": "2016-06-21T13:07:34.383Z",
        "is_superuser": false,
        "username": "test@test.test",
        "first_name": "test",
        "last_name": "test",
        "email": "test@test.test",
        "is_staff": false,
        "is_active": true,
        "date_joined": "2016-06-21T13:07:19.609Z",
        "groups": [],
        "user_permissions": []
    }
},
{
ddf59dd4   haribo   Remaniement :
249
    "model": "common.pyrosuser",
fd99569d   haribo   Date: 22/06/2016
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
    "pk": 3,
    "fields": {
        "user": 8,
        "country": 1,
        "user_level": 1,
        "desc": null,
        "created": "2016-06-21T13:07:19.911Z",
        "updated": "2016-06-21T13:07:19.911Z",
        "tel": "test",
        "address": "test",
        "laboratory": "test",
        "last_connect": null,
        "cur_connect": null,
        "putvalid_beg": null,
        "putvalid_end": null,
        "acqvalid_beg": null,
        "acqvalid_end": null,
        "quota": null,
        "quota_rea": null,
        "u_priority": null,
        "p_priority": null,
        "dir_level": null,
        "can_del_void_req": false
    }
},{
ddf59dd4   haribo   Remaniement :
275
    "model": "common.request",
fd99569d   haribo   Date: 22/06/2016
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
    "pk": 66,
    "fields": {
        "pyros_user": 3,
        "scientific_program": 1,
        "name": "Simulation_request_strat2",
        "desc": null,
        "created": "2016-06-21T13:42:04.493Z",
        "updated": "2016-06-22T12:34:09.401Z",
        "is_alert": true,
        "target_type": "dqsd",
        "status": null,
        "autodeposit": false,
        "checkpoint": null,
        "flag": null,
        "complete": true,
        "submitted": false
    }
},
{
ddf59dd4   haribo   Remaniement :
295
    "model": "common.sequence",
fd99569d   haribo   Date: 22/06/2016
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
    "pk": 53,
    "fields": {
        "request": 66,
        "name": "Simulation_request_strat2_0",
        "desc": null,
        "created": "2016-06-21T13:42:04.587Z",
        "updated": "2016-06-22T12:32:16.892Z",
        "is_alert": false,
        "status": "CPL",
        "target_coords": "sdfghj",
        "with_drift": false,
        "priority": 0,
        "analysis_method": null,
        "moon_min": null,
        "alt_min": null,
        "type": null,
        "img_current": null,
        "img_total": null,
        "not_obs": false,
        "obsolete": false,
        "processing": false,
        "flag": null,
        "jd1": "0E-8",
        "jd2": "9000000.00000000",
        "t_prefered": "-1.00000000",
        "duration": "0.00023148",
        "overhead": "0E-8"
    }
},
{
ddf59dd4   haribo   Remaniement :
326
    "model": "common.album",
fd99569d   haribo   Date: 22/06/2016
327
328
329
330
331
332
333
334
335
336
337
338
    "pk": 55,
    "fields": {
        "sequence": 53,
        "detector": 2,
        "name": "Simulation_request_strat2_01",
        "desc": null,
        "created": "2016-06-21T13:42:04.874Z",
        "updated": "2016-06-22T12:32:16.787Z",
        "complete": true
    }
},
{
ddf59dd4   haribo   Remaniement :
339
    "model": "common.plan",
fd99569d   haribo   Date: 22/06/2016
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
    "pk": 58,
    "fields": {
        "album": 55,
        "filter": 3,
        "name": "Simulation_request_strat2_010",
        "desc": null,
        "created": "2016-06-21T13:42:05.309Z",
        "updated": "2016-06-22T12:32:16.690Z",
        "duration": 0.0002314814814814815,
        "position": null,
        "exposure_time": null,
        "nb_images": 1,
        "dithering": false,
        "complete": true
    }
}
]