Blame view

src/misc/fixtures/initial_fixture.json 11.1 KB
ad85da7c   haribo   Date: 28/06/2016
1
2
[
{
c08615f7   haribo   Debug routine MGR...
3
4
    "model": "common.country",
    "pk": 1,
ad85da7c   haribo   Date: 28/06/2016
5
    "fields": {
c08615f7   haribo   Debug routine MGR...
6
7
8
        "name": "France",
        "desc": "",
        "quota": null
ad85da7c   haribo   Date: 28/06/2016
9
10
11
    }
},
{
c08615f7   haribo   Debug routine MGR...
12
13
    "model": "common.detector",
    "pk": 1,
ad85da7c   haribo   Date: 28/06/2016
14
    "fields": {
c08615f7   haribo   Debug routine MGR...
15
16
17
18
19
20
21
22
23
24
25
26
27
28
        "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,
abfb02e2   Jeremy   Device Model is n...
29
30
31
32
33
34
35
        "idcam_readout_mode": null,
        "name": "Cagire",
        "desc": "",
        "created": "2016-05-13T11:49:49Z",
        "updated": "2016-05-13T11:49:49Z",
        "is_online": false,
        "maintenance_date": null
ad85da7c   haribo   Date: 28/06/2016
36
37
38
    }
},
{
c08615f7   haribo   Debug routine MGR...
39
40
    "model": "common.detector",
    "pk": 2,
ad85da7c   haribo   Date: 28/06/2016
41
    "fields": {
c08615f7   haribo   Debug routine MGR...
42
        "telescope": 1,
c08615f7   haribo   Debug routine MGR...
43
44
45
46
47
48
49
50
51
52
53
54
        "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,
abfb02e2   Jeremy   Device Model is n...
55
56
        "idcam_readout_mode": null,
        "name": "Visible camera",
c08615f7   haribo   Debug routine MGR...
57
        "desc": "",
abfb02e2   Jeremy   Device Model is n...
58
59
        "created": "2016-05-13T11:50:17Z",
        "updated": "2016-05-13T11:50:17Z",
c08615f7   haribo   Debug routine MGR...
60
61
62
        "is_online": false,
        "status": "",
        "maintenance_date": null
ad85da7c   haribo   Date: 28/06/2016
63
64
65
    }
},
{
6c2793c2   jeremy   Update
66
67
68
69
70
71
72
73
74
75
76
77
78
    "model": "common.plc",
    "pk": 1,
    "fields": {
	"last_update_status": null,
        "name": "Plc",
        "desc": "",
        "created": "2016-05-13T11:50:14Z",
        "updated": "2016-05-13T11:50:14Z",
        "is_online": false,
        "maintenance_date": null
    }
},
{
abfb02e2   Jeremy   Device Model is n...
79
80
    "model": "common.filter",
    "pk": 1,
ad85da7c   haribo   Date: 28/06/2016
81
    "fields": {
abfb02e2   Jeremy   Device Model is n...
82
83
84
        "filter_wheel": 2,
        "category": "",
        "transmission_curve_doc": "",
c08615f7   haribo   Debug routine MGR...
85
86
87
88
89
90
91
        "name": "First infrared filter",
        "desc": "",
        "created": "2016-05-13T11:49:56Z",
        "updated": "2016-05-13T11:49:56Z",
        "is_online": false,
        "status": "",
        "maintenance_date": null
ad85da7c   haribo   Date: 28/06/2016
92
93
94
    }
},
{
abfb02e2   Jeremy   Device Model is n...
95
96
    "model": "common.filter",
    "pk": 2,
ad85da7c   haribo   Date: 28/06/2016
97
    "fields": {
abfb02e2   Jeremy   Device Model is n...
98
99
100
        "filter_wheel": 2,
        "category": "",
        "transmission_curve_doc": "",
c08615f7   haribo   Debug routine MGR...
101
102
103
104
105
106
107
        "name": "Second infrared filter",
        "desc": "",
        "created": "2016-05-13T11:50:07Z",
        "updated": "2016-05-13T11:50:07Z",
        "is_online": false,
        "status": "",
        "maintenance_date": null
ad85da7c   haribo   Date: 28/06/2016
108
109
110
    }
},
{
abfb02e2   Jeremy   Device Model is n...
111
112
    "model": "common.filter",
    "pk": 3,
ad85da7c   haribo   Date: 28/06/2016
113
    "fields": {
abfb02e2   Jeremy   Device Model is n...
114
115
116
117
        "filter_wheel": 2,
        "category": "",
        "transmission_curve_doc": "",
        "name": "First visible filter",
c08615f7   haribo   Debug routine MGR...
118
        "desc": "",
abfb02e2   Jeremy   Device Model is n...
119
120
        "created": "2016-05-13T11:50:02Z",
        "updated": "2016-05-13T11:50:02Z",
c08615f7   haribo   Debug routine MGR...
121
122
123
        "is_online": false,
        "status": "",
        "maintenance_date": null
ad85da7c   haribo   Date: 28/06/2016
124
125
126
    }
},
{
abfb02e2   Jeremy   Device Model is n...
127
128
    "model": "common.filter",
    "pk": 4,
ad85da7c   haribo   Date: 28/06/2016
129
    "fields": {
abfb02e2   Jeremy   Device Model is n...
130
131
132
133
        "filter_wheel": 2,
        "category": "",
        "transmission_curve_doc": "",
        "name": "Second visible filter",
c08615f7   haribo   Debug routine MGR...
134
        "desc": "",
abfb02e2   Jeremy   Device Model is n...
135
136
        "created": "2016-05-13T11:50:11Z",
        "updated": "2016-05-13T11:50:11Z",
c08615f7   haribo   Debug routine MGR...
137
138
139
        "is_online": false,
        "status": "",
        "maintenance_date": null
ad85da7c   haribo   Date: 28/06/2016
140
141
142
    }
},
{
abfb02e2   Jeremy   Device Model is n...
143
144
    "model": "common.filterwheel",
    "pk": 1,
ad85da7c   haribo   Date: 28/06/2016
145
    "fields": {
abfb02e2   Jeremy   Device Model is n...
146
        "detector": 1,
c08615f7   haribo   Debug routine MGR...
147
148
149
150
151
152
153
        "name": "Cagire FW",
        "desc": "",
        "created": "2016-06-28T13:28:28Z",
        "updated": "2016-06-28T13:28:28Z",
        "is_online": false,
        "status": "",
        "maintenance_date": null
ad85da7c   haribo   Date: 28/06/2016
154
155
156
    }
},
{
abfb02e2   Jeremy   Device Model is n...
157
158
    "model": "common.filterwheel",
    "pk": 2,
ad85da7c   haribo   Date: 28/06/2016
159
    "fields": {
abfb02e2   Jeremy   Device Model is n...
160
        "detector": 2,
c08615f7   haribo   Debug routine MGR...
161
162
163
164
165
166
167
        "name": "Visible Camera FW",
        "desc": "",
        "created": "2016-06-28T13:28:46Z",
        "updated": "2016-06-28T13:28:46Z",
        "is_online": false,
        "status": "",
        "maintenance_date": null
ad85da7c   haribo   Date: 28/06/2016
168
169
170
    }
},
{
c08615f7   haribo   Debug routine MGR...
171
172
    "model": "common.scientificprogram",
    "pk": 1,
ad85da7c   haribo   Date: 28/06/2016
173
    "fields": {
c08615f7   haribo   Debug routine MGR...
174
175
176
177
178
179
180
        "name": "GRB",
        "desc": "",
        "quota": 9999.0,
        "priority": 0,
        "pyros_users": [
            5
        ]
ad85da7c   haribo   Date: 28/06/2016
181
182
183
    }
},
{
ddf59dd4   haribo   Remaniement :
184
    "model": "common.strategyobs",
ad85da7c   haribo   Date: 28/06/2016
185
186
187
188
    "pk": 1,
    "fields": {
        "name": "strat1",
        "desc": "",
d84050e6   haribo   Date: 20/07/2016
189
190
        "xml_file": "strat1.xml",
        "is_default": false
ad85da7c   haribo   Date: 28/06/2016
191
192
193
    }
},
{
ddf59dd4   haribo   Remaniement :
194
    "model": "common.strategyobs",
ad85da7c   haribo   Date: 28/06/2016
195
196
197
198
    "pk": 2,
    "fields": {
        "name": "strat2",
        "desc": "",
d84050e6   haribo   Date: 20/07/2016
199
200
201
202
203
        "xml_file": "strat2.xml",
        "is_default": false
    }
},
{
ddf59dd4   haribo   Remaniement :
204
    "model": "common.strategyobs",
d84050e6   haribo   Date: 20/07/2016
205
206
207
208
209
    "pk": 3,
    "fields": {
        "name": "strat_unittest",
        "desc": "",
        "xml_file": "strat_unittest.xml",
1cac39f8   haribo   Celery tests are ...
210
        "is_default": true
ad85da7c   haribo   Date: 28/06/2016
211
212
213
    }
},
{
ddf59dd4   haribo   Remaniement :
214
    "model": "common.telescope",
ad85da7c   haribo   Date: 28/06/2016
215
216
    "pk": 1,
    "fields": {
ad85da7c   haribo   Date: 28/06/2016
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
        "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,
abfb02e2   Jeremy   Device Model is n...
236
237
238
239
240
241
242
        "mpc_code": "",
        "name": "Telescope",
        "desc": "",
        "created": "2016-05-13T11:50:14Z",
        "updated": "2016-05-13T11:50:14Z",
        "is_online": false,
        "maintenance_date": null
ad85da7c   haribo   Date: 28/06/2016
243
244
245
    }
},
{
ce470283   Jeremy   Plc simulator fin...
246
247
248
249
250
251
252
253
254
255
256
257
258
259
    "model": "common.dome",
    "pk": 1,
    "fields": {
        "name": "Dome",
        "desc": "dome",
        "created": "2016-05-13T11:50:14Z",
        "updated": "2016-05-13T11:50:14Z",
        "is_online": false,
        "status": "",
        "maintenance_date": null,
        "open": false
    }
},
{
ddf59dd4   haribo   Remaniement :
260
    "model": "common.userlevel",
ad85da7c   haribo   Date: 28/06/2016
261
262
263
264
265
266
267
268
269
    "pk": 1,
    "fields": {
        "name": "Developer",
        "desc": "",
        "priority": 0,
        "quota": 9999.0
    }
},
{
ddf59dd4   haribo   Remaniement :
270
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
271
272
273
274
    "pk": 1,
    "fields": {
        "module_name": "Scheduler",
        "version": "0.1",
d84050e6   haribo   Date: 20/07/2016
275
276
        "created": "2016-06-23T14:04:48Z",
        "updated": "2016-06-23T14:04:48Z"
ad85da7c   haribo   Date: 28/06/2016
277
278
279
    }
},
{
ddf59dd4   haribo   Remaniement :
280
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
281
282
283
284
    "pk": 2,
    "fields": {
        "module_name": "Dashboard",
        "version": "0.1",
d84050e6   haribo   Date: 20/07/2016
285
286
        "created": "2016-06-23T14:04:48Z",
        "updated": "2016-06-23T14:04:48Z"
ad85da7c   haribo   Date: 28/06/2016
287
288
289
    }
},
{
ddf59dd4   haribo   Remaniement :
290
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
291
292
293
294
    "pk": 3,
    "fields": {
        "module_name": "Observation Manager",
        "version": "0.1",
d84050e6   haribo   Date: 20/07/2016
295
296
        "created": "2016-06-23T14:04:48Z",
        "updated": "2016-06-23T14:04:48Z"
ad85da7c   haribo   Date: 28/06/2016
297
298
299
    }
},
{
ddf59dd4   haribo   Remaniement :
300
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
301
302
303
304
    "pk": 4,
    "fields": {
        "module_name": "Routine Manager",
        "version": "0.1",
d84050e6   haribo   Date: 20/07/2016
305
306
        "created": "2016-06-23T14:04:48Z",
        "updated": "2016-06-23T14:04:48Z"
ad85da7c   haribo   Date: 28/06/2016
307
308
309
    }
},
{
ddf59dd4   haribo   Remaniement :
310
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
311
312
313
314
    "pk": 5,
    "fields": {
        "module_name": "Alert Manager",
        "version": "0.1",
d84050e6   haribo   Date: 20/07/2016
315
316
        "created": "2016-06-23T14:04:48Z",
        "updated": "2016-06-23T14:04:48Z"
ad85da7c   haribo   Date: 28/06/2016
317
318
319
    }
},
{
ddf59dd4   haribo   Remaniement :
320
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
321
322
323
324
    "pk": 6,
    "fields": {
        "module_name": "Monitoring",
        "version": "0.1",
d84050e6   haribo   Date: 20/07/2016
325
326
        "created": "2016-06-23T14:04:48Z",
        "updated": "2016-06-23T14:04:48Z"
ad85da7c   haribo   Date: 28/06/2016
327
328
329
    }
},
{
ddf59dd4   haribo   Remaniement :
330
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
331
332
333
334
    "pk": 7,
    "fields": {
        "module_name": "User Manager",
        "version": "0.1",
d84050e6   haribo   Date: 20/07/2016
335
336
        "created": "2016-06-23T14:04:48Z",
        "updated": "2016-06-23T14:04:48Z"
ad85da7c   haribo   Date: 28/06/2016
337
338
339
    }
},
{
ddf59dd4   haribo   Remaniement :
340
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
341
342
343
344
    "pk": 8,
    "fields": {
        "module_name": "Analyzer",
        "version": "0.1",
d84050e6   haribo   Date: 20/07/2016
345
346
        "created": "2016-06-23T14:04:48Z",
        "updated": "2016-06-23T14:04:48Z"
ad85da7c   haribo   Date: 28/06/2016
347
348
349
    }
},
{
ddf59dd4   haribo   Remaniement :
350
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
351
352
353
354
    "pk": 9,
    "fields": {
        "module_name": "Majordome",
        "version": "0.1",
d84050e6   haribo   Date: 20/07/2016
355
356
        "created": "2016-06-23T14:04:48Z",
        "updated": "2016-06-23T14:04:48Z"
ad85da7c   haribo   Date: 28/06/2016
357
358
359
    }
},
{
ddf59dd4   haribo   Remaniement :
360
    "model": "common.version",
ad85da7c   haribo   Date: 28/06/2016
361
362
363
364
    "pk": 10,
    "fields": {
        "module_name": "Majordome",
        "version": "0.2",
d84050e6   haribo   Date: 20/07/2016
365
366
367
368
369
        "created": "2016-06-28T10:50:32Z",
        "updated": "2016-06-28T10:50:32Z"
    }
},
{
ddf59dd4   haribo   Remaniement :
370
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
371
372
373
374
375
376
377
378
379
    "pk": 11,
    "fields": {
        "module_name": "Majordome",
        "version": "0.1.4",
        "created": "2016-07-20T13:44:29Z",
        "updated": "2016-07-20T13:44:29Z"
    }
},
{
ddf59dd4   haribo   Remaniement :
380
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
381
382
383
384
385
386
387
388
389
    "pk": 12,
    "fields": {
        "module_name": "Alert Manager",
        "version": "0.2.3",
        "created": "2016-07-20T13:44:29Z",
        "updated": "2016-07-20T13:44:29Z"
    }
},
{
ddf59dd4   haribo   Remaniement :
390
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
391
392
393
394
395
396
397
398
399
    "pk": 13,
    "fields": {
        "module_name": "Dashboard",
        "version": "0.1.1",
        "created": "2016-07-20T13:44:29Z",
        "updated": "2016-07-20T13:44:29Z"
    }
},
{
ddf59dd4   haribo   Remaniement :
400
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
401
402
403
404
405
406
407
408
409
    "pk": 14,
    "fields": {
        "module_name": "Observation Manager",
        "version": "0.1.3",
        "created": "2016-07-20T13:44:29Z",
        "updated": "2016-07-20T13:44:29Z"
    }
},
{
ddf59dd4   haribo   Remaniement :
410
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
411
412
413
414
415
416
417
418
419
    "pk": 15,
    "fields": {
        "module_name": "Routine Manager",
        "version": "0.1.2",
        "created": "2016-07-20T13:44:29Z",
        "updated": "2016-07-20T13:44:29Z"
    }
},
{
ddf59dd4   haribo   Remaniement :
420
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
421
422
423
424
425
426
427
428
429
    "pk": 16,
    "fields": {
        "module_name": "Monitoring",
        "version": "0.1.3",
        "created": "2016-07-20T13:44:29Z",
        "updated": "2016-07-20T13:44:29Z"
    }
},
{
ddf59dd4   haribo   Remaniement :
430
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
431
432
433
434
435
436
437
438
439
    "pk": 17,
    "fields": {
        "module_name": "Scheduler",
        "version": "0.1.2",
        "created": "2016-07-20T13:44:29Z",
        "updated": "2016-07-20T13:44:29Z"
    }
},
{
ddf59dd4   haribo   Remaniement :
440
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
441
442
443
444
445
446
447
448
449
    "pk": 18,
    "fields": {
        "module_name": "User Manager",
        "version": "0.1.1",
        "created": "2016-07-20T13:44:29Z",
        "updated": "2016-07-20T13:44:29Z"
    }
},
{
ddf59dd4   haribo   Remaniement :
450
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
451
452
453
454
455
456
    "pk": 19,
    "fields": {
        "module_name": "Analyzer",
        "version": "0.1.2",
        "created": "2016-07-20T13:44:29Z",
        "updated": "2016-07-20T13:44:29Z"
ad85da7c   haribo   Date: 28/06/2016
457
458
459
    }
},
{
53787d30   Jeremy   Alert now inherit...
460
461
    "model": "common.pyrosuser",
    "pk": 5,
ad85da7c   haribo   Date: 28/06/2016
462
    "fields": {
c08615f7   haribo   Debug routine MGR...
463
464
        "password": "pbkdf2_sha256$24000$HRial3QUfrlz$bVuEzQaXthOd9GZVXd2449LDEF8EMQure69nA/Hu7qQ=",
        "last_login": "2016-08-10T15:16:42.327Z",
ad85da7c   haribo   Date: 28/06/2016
465
466
467
468
469
470
471
        "is_superuser": true,
        "username": "pyros",
        "first_name": "",
        "last_name": "",
        "email": "admin@example.com",
        "is_staff": true,
        "is_active": true,
c08615f7   haribo   Debug routine MGR...
472
        "date_joined": "2016-08-10T15:15:58.481Z",
ad85da7c   haribo   Date: 28/06/2016
473
        "groups": [],
53787d30   Jeremy   Alert now inherit...
474
        "user_permissions": [],
ad85da7c   haribo   Date: 28/06/2016
475
476
477
        "country": 1,
        "user_level": 1,
        "desc": "",
c08615f7   haribo   Debug routine MGR...
478
479
        "created": "2016-08-11T07:54:05.627Z",
        "updated": "2016-08-11T07:54:05.627Z",
ad85da7c   haribo   Date: 28/06/2016
480
481
        "tel": "",
        "address": "",
c08615f7   haribo   Debug routine MGR...
482
        "laboratory": "IRAP",
ad85da7c   haribo   Date: 28/06/2016
483
484
485
486
487
488
        "last_connect": null,
        "cur_connect": null,
        "putvalid_beg": null,
        "putvalid_end": null,
        "acqvalid_beg": "",
        "acqvalid_end": "",
c08615f7   haribo   Debug routine MGR...
489
        "quota": 1000.0,
ad85da7c   haribo   Date: 28/06/2016
490
        "quota_rea": null,
c08615f7   haribo   Debug routine MGR...
491
492
        "u_priority": 1,
        "p_priority": 1,
ad85da7c   haribo   Date: 28/06/2016
493
494
495
496
497
        "dir_level": null,
        "can_del_void_req": false
    }
}
]