Blame view

src/misc/fixtures/initial_fixture.json 11.5 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
        "idcam_readout_mode": null,
        "name": "Cagire",
        "desc": "",
cd0149f5   Etienne Pallier   progress made for...
32
33
        "created": "2016-05-13 11:49:49",
        "updated": "2016-05-13 11:49:49",
abfb02e2   Jeremy   Device Model is n...
34
35
        "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": "",
cd0149f5   Etienne Pallier   progress made for...
58
59
        "created": "2016-05-13 11:50:17",
        "updated": "2016-05-13 11:50:17",
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
    "model": "common.plc",
    "pk": 1,
    "fields": {
	"last_update_status": null,
        "name": "Plc",
        "desc": "",
cd0149f5   Etienne Pallier   progress made for...
72
73
        "created": "2016-05-13 11:50:14",
        "updated": "2016-05-13 11:50:14",
6c2793c2   jeremy   Update
74
75
76
77
78
        "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
        "name": "First infrared filter",
        "desc": "",
cd0149f5   Etienne Pallier   progress made for...
87
88
        "created": "2016-05-13 11:49:56",
        "updated": "2016-05-13 11:49:56",
c08615f7   haribo   Debug routine MGR...
89
90
91
        "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
        "name": "Second infrared filter",
        "desc": "",
cd0149f5   Etienne Pallier   progress made for...
103
104
        "created": "2016-05-13 11:50:07",
        "updated": "2016-05-13 11:50:07",
c08615f7   haribo   Debug routine MGR...
105
106
107
        "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": "",
cd0149f5   Etienne Pallier   progress made for...
119
120
        "created": "2016-05-13 11:50:02",
        "updated": "2016-05-13 11:50:02",
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": "",
cd0149f5   Etienne Pallier   progress made for...
135
136
        "created": "2016-05-13 11:50:11",
        "updated": "2016-05-13 11:50:11",
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
        "name": "Cagire FW",
        "desc": "",
cd0149f5   Etienne Pallier   progress made for...
149
150
        "created": "2016-06-28 13:28:28",
        "updated": "2016-06-28 13:28:28",
c08615f7   haribo   Debug routine MGR...
151
152
153
        "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
        "name": "Visible Camera FW",
        "desc": "",
cd0149f5   Etienne Pallier   progress made for...
163
164
        "created": "2016-06-28 13:28:46",
        "updated": "2016-06-28 13:28:46",
c08615f7   haribo   Debug routine MGR...
165
166
167
        "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
        "mpc_code": "",
        "name": "Telescope",
        "desc": "",
cd0149f5   Etienne Pallier   progress made for...
239
240
        "created": "2016-05-13 11:50:14",
        "updated": "2016-05-13 11:50:14",
abfb02e2   Jeremy   Device Model is n...
241
242
        "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
    "model": "common.dome",
    "pk": 1,
    "fields": {
        "name": "Dome",
        "desc": "dome",
cd0149f5   Etienne Pallier   progress made for...
251
252
        "created": "2016-05-13 11:50:14",
        "updated": "2016-05-13 11:50:14",
ce470283   Jeremy   Plc simulator fin...
253
254
255
256
257
258
259
        "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",
cd0149f5   Etienne Pallier   progress made for...
275
276
        "created": "2016-06-23 14:04:48",
        "updated": "2016-06-23 14:04:48"
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",
cd0149f5   Etienne Pallier   progress made for...
285
286
        "created": "2016-06-23 14:04:48",
        "updated": "2016-06-23 14:04:48"
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",
cd0149f5   Etienne Pallier   progress made for...
295
296
        "created": "2016-06-23 14:04:48",
        "updated": "2016-06-23 14:04:48"
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",
cd0149f5   Etienne Pallier   progress made for...
305
306
        "created": "2016-06-23 14:04:48",
        "updated": "2016-06-23 14:04:48"
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",
cd0149f5   Etienne Pallier   progress made for...
315
316
        "created": "2016-06-23 14:04:48",
        "updated": "2016-06-23 14:04:48"
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",
cd0149f5   Etienne Pallier   progress made for...
325
326
        "created": "2016-06-23 14:04:48",
        "updated": "2016-06-23 14:04:48"
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",
cd0149f5   Etienne Pallier   progress made for...
335
336
        "created": "2016-06-23 14:04:48",
        "updated": "2016-06-23 14:04:48"
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",
cd0149f5   Etienne Pallier   progress made for...
345
346
        "created": "2016-06-23 14:04:48",
        "updated": "2016-06-23 14:04:48"
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",
cd0149f5   Etienne Pallier   progress made for...
355
356
        "created": "2016-06-23 14:04:48",
        "updated": "2016-06-23 14:04:48"
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",
cd0149f5   Etienne Pallier   progress made for...
365
366
        "created": "2016-06-28 10:50:32",
        "updated": "2016-06-28 10:50:32"
d84050e6   haribo   Date: 20/07/2016
367
368
369
    }
},
{
ddf59dd4   haribo   Remaniement :
370
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
371
372
373
374
    "pk": 11,
    "fields": {
        "module_name": "Majordome",
        "version": "0.1.4",
cd0149f5   Etienne Pallier   progress made for...
375
376
        "created": "2016-07-20 13:44:29",
        "updated": "2016-07-20 13:44:29"
d84050e6   haribo   Date: 20/07/2016
377
378
379
    }
},
{
ddf59dd4   haribo   Remaniement :
380
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
381
382
383
384
    "pk": 12,
    "fields": {
        "module_name": "Alert Manager",
        "version": "0.2.3",
cd0149f5   Etienne Pallier   progress made for...
385
386
        "created": "2016-07-20 13:44:29",
        "updated": "2016-07-20 13:44:29"
d84050e6   haribo   Date: 20/07/2016
387
388
389
    }
},
{
ddf59dd4   haribo   Remaniement :
390
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
391
392
393
394
    "pk": 13,
    "fields": {
        "module_name": "Dashboard",
        "version": "0.1.1",
cd0149f5   Etienne Pallier   progress made for...
395
396
        "created": "2016-07-20 13:44:29",
        "updated": "2016-07-20 13:44:29"
d84050e6   haribo   Date: 20/07/2016
397
398
399
    }
},
{
ddf59dd4   haribo   Remaniement :
400
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
401
402
403
404
    "pk": 14,
    "fields": {
        "module_name": "Observation Manager",
        "version": "0.1.3",
cd0149f5   Etienne Pallier   progress made for...
405
406
        "created": "2016-07-20 13:44:29",
        "updated": "2016-07-20 13:44:29"
d84050e6   haribo   Date: 20/07/2016
407
408
409
    }
},
{
ddf59dd4   haribo   Remaniement :
410
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
411
412
413
414
    "pk": 15,
    "fields": {
        "module_name": "Routine Manager",
        "version": "0.1.2",
cd0149f5   Etienne Pallier   progress made for...
415
416
        "created": "2016-07-20 13:44:29",
        "updated": "2016-07-20 13:44:29"
d84050e6   haribo   Date: 20/07/2016
417
418
419
    }
},
{
ddf59dd4   haribo   Remaniement :
420
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
421
422
423
424
    "pk": 16,
    "fields": {
        "module_name": "Monitoring",
        "version": "0.1.3",
cd0149f5   Etienne Pallier   progress made for...
425
426
        "created": "2016-07-20 13:44:29",
        "updated": "2016-07-20 13:44:29"
d84050e6   haribo   Date: 20/07/2016
427
428
429
    }
},
{
ddf59dd4   haribo   Remaniement :
430
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
431
432
433
434
    "pk": 17,
    "fields": {
        "module_name": "Scheduler",
        "version": "0.1.2",
cd0149f5   Etienne Pallier   progress made for...
435
436
        "created": "2016-07-20 13:44:29",
        "updated": "2016-07-20 13:44:29"
d84050e6   haribo   Date: 20/07/2016
437
438
439
    }
},
{
ddf59dd4   haribo   Remaniement :
440
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
441
442
443
444
    "pk": 18,
    "fields": {
        "module_name": "User Manager",
        "version": "0.1.1",
cd0149f5   Etienne Pallier   progress made for...
445
446
        "created": "2016-07-20 13:44:29",
        "updated": "2016-07-20 13:44:29"
d84050e6   haribo   Date: 20/07/2016
447
448
449
    }
},
{
ddf59dd4   haribo   Remaniement :
450
    "model": "common.version",
d84050e6   haribo   Date: 20/07/2016
451
452
453
454
    "pk": 19,
    "fields": {
        "module_name": "Analyzer",
        "version": "0.1.2",
cd0149f5   Etienne Pallier   progress made for...
455
456
        "created": "2016-07-20 13:44:29",
        "updated": "2016-07-20 13:44:29"
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
        "password": "pbkdf2_sha256$24000$HRial3QUfrlz$bVuEzQaXthOd9GZVXd2449LDEF8EMQure69nA/Hu7qQ=",
cd0149f5   Etienne Pallier   progress made for...
464
        "last_login": "2016-08-10 15:16:42.327",
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,
cd0149f5   Etienne Pallier   progress made for...
472
        "date_joined": "2016-08-10 15:15:58.481",
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": "",
cd0149f5   Etienne Pallier   progress made for...
478
479
        "created": "2016-08-11 07:54:05.627",
        "updated": "2016-08-11 07:54:05.627",
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
        "dir_level": null,
        "can_del_void_req": false
    }
7bea9828   theophile.puhl@epitech.eu   Fix Database
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
},
{
    "model": "common.config",
    "pk": 1,
    "fields": {
        "id": 1,
        "latitude": 1,
        "local_time_zone": 1,
        "longitude": 1,
        "altitude": 1,
        "horizon_line": 1,
        "row_data_save_frequency": 300,
        "request_frequency": 300,
        "analysed_data_save": 300,
        "telescope_ip_address": "127.0.0.1",
        "camera_ip_address": "127.0.0.1",
        "plc_ip_address": "127.0.0.1",
        "global_mode": true
    }
ad85da7c   haribo   Date: 28/06/2016
515
516
}
]