blob: e9f637a2044fd3913a5d8eb518fbd54ff18b24c2 [file] [log] [blame]
Matteo Scandolo169dc162015-12-17 16:12:15 -08001var autoscalingMock =[
2 {
3 'slice': 'slice1',
4 'service': 'service1',
5 'project_id': 'project1',
6 'resources': {
7 'resource1': {
8 'queue': [
9 {
10 'timestamp': '2015-12-17T22:55:36Z',
11 'counter_volume': 10,
12 },
13 {
14 'timestamp': '2015-12-17T22:55:46Z',
15 'counter_volume': 11,
16 }
17 ],
18 'xos_instance_info': {
19 'instance_name': 'instance1'
20 }
21 }
22 }
23 }
24];
25
26var autoscalingMock2instances =[
27 {
28 'slice': 'slice1',
29 'service': 'service1',
30 'project_id': 'project1',
31 'resources': {
32 'resource2': {
33 'queue': [
34 {
35 'timestamp': '2015-12-17T22:55:36Z',
36 'counter_volume': 20,
37 },
38 {
39 'timestamp': '2015-12-17T22:55:46Z',
40 'counter_volume': 21,
41 }
42 ],
43 'xos_instance_info': {
44 'instance_name': 'instance2'
45 }
46 },
47 'resource1': {
48 'queue': [
49 {
50 'timestamp': '2015-12-17T22:55:36Z',
51 'counter_volume': 10,
52 },
53 {
54 'timestamp': '2015-12-17T22:55:46Z',
55 'counter_volume': 11,
56 }
57 ],
58 'xos_instance_info': {
59 'instance_name': 'instance1'
60 }
61 },
62 }
63 }
64];