Blame view

src/misc/fixtures/tests/alert_mgr_test.json 7.19 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": {
fd99569d   haribo   Date: 22/06/2016
15
        "telescope": 1,
fd99569d   haribo   Date: 22/06/2016
16
17
18
19
20
21
22
23
24
25
26
27
        "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...
28
29
30
        "idcam_readout_mode": null,
        "name": "Cagire",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
31
32
        "created": "2016-05-13 11:49:49.663",
        "updated": "2016-05-13 11:49:49.664",
abfb02e2   Jeremy   Device Model is n...
33
34
35
        "is_online": false,
        "status": "",
        "maintenance_date": null
fd99569d   haribo   Date: 22/06/2016
36
37
38
    }
},
{
ddf59dd4   haribo   Remaniement :
39
    "model": "common.detector",
fd99569d   haribo   Date: 22/06/2016
40
41
    "pk": 2,
    "fields": {
fd99569d   haribo   Date: 22/06/2016
42
        "telescope": 1,
fd99569d   haribo   Date: 22/06/2016
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
        "idcam_readout_mode": null,
fd99569d   haribo   Date: 22/06/2016
56
57
        "name": "Visible camera",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
58
59
        "created": "2016-05-13 11:50:17.644",
        "updated": "2016-05-13 11:50:17.644",
fd99569d   haribo   Date: 22/06/2016
60
61
62
        "is_online": false,
        "status": "",
        "maintenance_date": null
abfb02e2   Jeremy   Device Model is n...
63
   }
fd99569d   haribo   Date: 22/06/2016
64
65
},
{
abfb02e2   Jeremy   Device Model is n...
66
67
    "model": "common.filterwheel",
    "pk": 1,
ad85da7c   haribo   Date: 28/06/2016
68
    "fields": {
abfb02e2   Jeremy   Device Model is n...
69
        "detector": 1,
ad85da7c   haribo   Date: 28/06/2016
70
71
        "name": "Cagire FW",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
72
73
        "created": "2016-06-28 13:28:28.298",
        "updated": "2016-06-28 13:28:28.298",
ad85da7c   haribo   Date: 28/06/2016
74
75
76
77
78
79
        "is_online": false,
        "status": "",
        "maintenance_date": null
    }
},
{
abfb02e2   Jeremy   Device Model is n...
80
81
    "model": "common.filterwheel",
    "pk": 2,
ad85da7c   haribo   Date: 28/06/2016
82
    "fields": {
abfb02e2   Jeremy   Device Model is n...
83
        "detector": 2,
ad85da7c   haribo   Date: 28/06/2016
84
85
        "name": "Visible Camera FW",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
86
87
        "created": "2016-06-28 13:28:46.887",
        "updated": "2016-06-28 13:28:46.887",
ad85da7c   haribo   Date: 28/06/2016
88
89
90
91
92
93
        "is_online": false,
        "status": "",
        "maintenance_date": null
    }
},
{
ddf59dd4   haribo   Remaniement :
94
    "model": "common.filter",
fd99569d   haribo   Date: 22/06/2016
95
96
    "pk": 1,
    "fields": {
ad85da7c   haribo   Date: 28/06/2016
97
        "filter_wheel": 1,
fd99569d   haribo   Date: 22/06/2016
98
        "category": "",
abfb02e2   Jeremy   Device Model is n...
99
100
101
        "transmission_curve_doc": "",
        "name": "First infrared filter",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
102
103
        "created": "2016-05-13 11:49:56.579",
        "updated": "2016-05-13 11:49:56.579",
abfb02e2   Jeremy   Device Model is n...
104
105
106
        "is_online": false,
        "status": "",
        "maintenance_date": null
fd99569d   haribo   Date: 22/06/2016
107
108
109
    }
},
{
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
        "transmission_curve_doc": "",
        "name": "Second infrared filter",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
118
119
        "created": "2016-05-13 11:50:07.592",
        "updated": "2016-05-13 11:50:07.592",
abfb02e2   Jeremy   Device Model is n...
120
121
122
        "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
        "transmission_curve_doc": "",
        "name": "First visible filter",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
134
135
        "created": "2016-05-13 11:50:02.012",
        "updated": "2016-05-13 11:50:02.013",
abfb02e2   Jeremy   Device Model is n...
136
137
138
        "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
        "transmission_curve_doc": "",
        "name": "Second visible filter",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
150
151
        "created": "2016-05-13 11:50:11.226",
        "updated": "2016-05-13 11:50:11.226",
abfb02e2   Jeremy   Device Model is n...
152
153
154
        "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": {
fd99569d   haribo   Date: 22/06/2016
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
        "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...
211
212
213
        "mpc_code": "",
        "name": "Telescope",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
214
215
        "created": "2016-05-13 11:50:14.326",
        "updated": "2016-05-13 11:50:14.326",
abfb02e2   Jeremy   Device Model is n...
216
217
        "is_online": false,
        "maintenance_date": null
fd99569d   haribo   Date: 22/06/2016
218
219
220
    }
},
{
ddf59dd4   haribo   Remaniement :
221
    "model": "common.userlevel",
fd99569d   haribo   Date: 22/06/2016
222
223
224
225
226
227
228
229
230
    "pk": 1,
    "fields": {
        "name": "Developer",
        "desc": "",
        "priority": 0,
        "quota": 9999.0
    }
},
{
ddf59dd4   haribo   Remaniement :
231
    "model": "common.pyrosuser",
fd99569d   haribo   Date: 22/06/2016
232
233
    "pk": 3,
    "fields": {
fd99569d   haribo   Date: 22/06/2016
234
235
236
        "country": 1,
        "user_level": 1,
        "desc": null,
9ff21b88   Etienne Pallier   bugfix datetime (...
237
238
        "created": "2016-06-21 13:07:19.911",
        "updated": "2016-06-21 13:07:19.911",
fd99569d   haribo   Date: 22/06/2016
239
240
241
242
243
244
245
246
247
        "tel": "test",
        "address": "test",
        "laboratory": "test",
        "last_connect": null,
        "cur_connect": null,
        "putvalid_beg": null,
        "putvalid_end": null,
        "acqvalid_beg": null,
        "acqvalid_end": null,
e573c1f1   Etienne Pallier   All unit tests no...
248
        "quota": 100,
fd99569d   haribo   Date: 22/06/2016
249
250
251
252
        "quota_rea": null,
        "u_priority": null,
        "p_priority": null,
        "dir_level": null,
53787d30   Jeremy   Alert now inherit...
253
254
        "can_del_void_req": false,
        "password": "pbkdf2_sha256$24000$bKJO902RCk0w$zxUz9uiSYG85ymuvl5rNLLqT/LZwrLwpVj5WfwwSyKE=",
9ff21b88   Etienne Pallier   bugfix datetime (...
255
        "last_login": "2016-06-21 13:07:34.383",
53787d30   Jeremy   Alert now inherit...
256
257
258
259
260
261
262
        "is_superuser": false,
        "username": "test@test.test",
        "first_name": "test",
        "last_name": "test",
        "email": "test@test.test",
        "is_staff": false,
        "is_active": true,
9ff21b88   Etienne Pallier   bugfix datetime (...
263
        "date_joined": "2016-06-21 13:07:19.609",
53787d30   Jeremy   Alert now inherit...
264
265
        "groups": [],
        "user_permissions": []
fd99569d   haribo   Date: 22/06/2016
266
    }
e573c1f1   Etienne Pallier   All unit tests no...
267
268
269
},

{
ddf59dd4   haribo   Remaniement :
270
    "model": "common.alert",
fd99569d   haribo   Date: 22/06/2016
271
272
273
274
    "pk": 8,
    "fields": {
        "request": 65,
        "strategyobs": 1,
3fbab223   haribo   Fixture & scripts
275
276
        "voevent_file": null,
        "author": null,
fd99569d   haribo   Date: 22/06/2016
277
278
279
        "burst_jd": null,
        "burst_ra": null,
        "burst_dec": null,
3fbab223   haribo   Fixture & scripts
280
        "astro_coord_system": null,
fd99569d   haribo   Date: 22/06/2016
281
282
        "jd_send": null,
        "jd_received": null,
e573c1f1   Etienne Pallier   All unit tests no...
283
        "trig_id": 5,
3fbab223   haribo   Fixture & scripts
284
285
        "error_radius": null,
        "defly_not_grb": false,
ddf59dd4   haribo   Remaniement :
286
        "editor": null
fd99569d   haribo   Date: 22/06/2016
287
    }
e573c1f1   Etienne Pallier   All unit tests no...
288
289
290
291
},


{
ddf59dd4   haribo   Remaniement :
292
    "model": "common.request",
fd99569d   haribo   Date: 22/06/2016
293
294
295
296
297
298
    "pk": 65,
    "fields": {
        "pyros_user": 3,
        "scientific_program": 1,
        "name": "Simulation_request",
        "desc": null,
9ff21b88   Etienne Pallier   bugfix datetime (...
299
300
        "created": "2016-06-21 12:51:24.293",
        "updated": "2016-06-21 12:51:24.293",
fd99569d   haribo   Date: 22/06/2016
301
302
303
304
305
306
307
308
309
310
311
        "is_alert": true,
        "target_type": null,
        "status": null,
        "autodeposit": false,
        "checkpoint": null,
        "flag": null,
        "complete": true,
        "submitted": true
    }
}
]