9617: Reorganized code reusing the invalid_constraint list on both create & update...
[arvados.git] / services / api / test / fixtures / container_requests.yml
1 queued:
2   uuid: zzzzz-xvhdp-cr4queuedcontnr
3   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
4   name: queued
5   state: Committed
6   priority: 1
7   created_at: 2016-01-11 11:11:11.111111111 Z
8   updated_at: 2016-01-11 11:11:11.111111111 Z
9   modified_at: 2016-01-11 11:11:11.111111111 Z
10   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
11   container_image: test
12   cwd: test
13   output_path: test
14   command: ["echo", "hello"]
15   container_uuid: zzzzz-dz642-queuedcontainer
16
17 running:
18   uuid: zzzzz-xvhdp-cr4runningcntnr
19   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
20   name: running
21   state: Committed
22   priority: 1
23   created_at: 2016-01-11 11:11:11.111111111 Z
24   updated_at: 2016-01-11 11:11:11.111111111 Z
25   modified_at: 2016-01-11 11:11:11.111111111 Z
26   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
27   container_image: test
28   cwd: test
29   output_path: test
30   command: ["echo", "hello"]
31   container_uuid: zzzzz-dz642-runningcontainr
32
33 running-older:
34   uuid: zzzzz-xvhdp-cr4runningcntn2
35   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
36   name: running
37   state: Committed
38   priority: 1
39   created_at: 2016-01-11 11:11:11.111111111 Z
40   updated_at: 2016-01-11 11:11:11.111111111 Z
41   modified_at: 2016-01-12 11:11:11.111111111 Z
42   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
43   container_image: test
44   cwd: test
45   output_path: test
46   command: ["echo", "hello"]
47   container_uuid: zzzzz-dz642-runningcontain2
48
49 completed:
50   uuid: zzzzz-xvhdp-cr4completedctr
51   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
52   name: completed container request
53   state: Final
54   priority: 1
55   created_at: <%= 2.minute.ago.to_s(:db) %>
56   updated_at: <%= 1.minute.ago.to_s(:db) %>
57   modified_at: <%= 1.minute.ago.to_s(:db) %>
58   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
59   container_image: test
60   cwd: test
61   output_path: test
62   command: ["echo", "hello"]
63   container_uuid: zzzzz-dz642-compltcontainer
64
65 completed-older:
66   uuid: zzzzz-xvhdp-cr4completedcr2
67   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
68   name: completed
69   state: Final
70   priority: 1
71   created_at: 2016-01-11 11:11:11.111111111 Z
72   updated_at: 2016-01-11 11:11:11.111111111 Z
73   modified_at: 2016-01-11 11:11:11.111111111 Z
74   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
75   container_image: test
76   cwd: test
77   output_path: test
78   command: ["echo", "hello"]
79   container_uuid: zzzzz-dz642-compltcontainr2
80
81 cr_for_requester:
82   uuid: zzzzz-xvhdp-cr4requestercnt
83   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
84   name: requester_cr
85   state: Final
86   priority: 1
87   created_at: 2016-01-11 11:11:11.111111111 Z
88   updated_at: 2016-01-11 11:11:11.111111111 Z
89   modified_at: 2016-01-11 11:11:11.111111111 Z
90   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
91   container_image: test
92   cwd: test
93   output_path: test
94   command: ["echo", "hello"]
95   container_uuid: zzzzz-dz642-requestercntnr1
96   requesting_container_uuid: zzzzz-dz642-requestingcntnr
97
98 cr_for_requester2:
99   uuid: zzzzz-xvhdp-cr4requestercn2
100   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
101   name: requester_cr2
102   state: Final
103   priority: 1
104   created_at: 2016-01-11 11:11:11.111111111 Z
105   updated_at: 2016-01-11 11:11:11.111111111 Z
106   modified_at: 2016-01-11 11:11:11.111111111 Z
107   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
108   container_image: test
109   cwd: test
110   output_path: test
111   command: ["echo", "hello"]
112   requesting_container_uuid: zzzzz-dz642-requestercntnr1
113
114 running_anonymous_accessible:
115   uuid: zzzzz-xvhdp-runninganonaccs
116   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
117   name: running anonymously accessible cr
118   state: Committed
119   priority: 1
120   created_at: 2016-01-11 11:11:11.111111111 Z
121   updated_at: 2016-01-11 11:11:11.111111111 Z
122   modified_at: 2016-01-11 11:11:11.111111111 Z
123   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
124   container_image: test
125   cwd: test
126   output_path: test
127   command: ["echo", "hello"]
128   container_uuid: zzzzz-dz642-runningcontain2
129
130 # Test Helper trims the rest of the file
131
132 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
133
134 # container requests in project_with_2_pipelines_and_60_crs
135 <% for i in 1..60 do %>
136 cr_<%=i%>_of_60:
137   uuid: zzzzz-xvhdp-oneof60crs<%= i.to_s.rjust(5, '0') %>
138   created_at: <%= ((i+5)/5).hour.ago.to_s(:db) %>
139   owner_uuid: zzzzz-j7d0g-nnncrspipelines
140   name: cr-<%= i.to_s %>
141   output_path: test
142   command: ["echo", "hello"]
143 <% end %>
144
145 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper