|
1 | 1 | # serializer version: 1 |
2 | | -# name: test_storage_creation[payload0-201-s3] |
3 | | - dict({ |
4 | | - 'sensitive_fields': list([ |
5 | | - ]), |
6 | | - 'storage': dict({ |
7 | | - 'configuration': dict({ |
8 | | - 'provider': 'AWS', |
9 | | - 'region': 'us-east-1', |
10 | | - 'type': 's3', |
11 | | - }), |
12 | | - 'name': 'mystorage', |
13 | | - 'project_id': '123456', |
14 | | - 'readonly': True, |
15 | | - 'source_path': 'bucket/myfolder', |
16 | | - 'storage_type': 's3', |
17 | | - 'target_path': 'my/target', |
18 | | - }), |
19 | | - }) |
20 | | -# --- |
21 | | -# name: test_storage_creation[payload1-201-s3] |
22 | | - dict({ |
23 | | - 'sensitive_fields': list([ |
24 | | - ]), |
25 | | - 'storage': dict({ |
26 | | - 'configuration': dict({ |
27 | | - 'provider': 'AWS', |
28 | | - 'region': 'us-east-1', |
29 | | - 'type': 's3', |
30 | | - }), |
31 | | - 'name': 'mystorage', |
32 | | - 'project_id': '123456', |
33 | | - 'readonly': True, |
34 | | - 'source_path': 'bucket/myfolder', |
35 | | - 'storage_type': 's3', |
36 | | - 'target_path': 'my/target', |
37 | | - }), |
38 | | - }) |
39 | | -# --- |
40 | | -# name: test_storage_creation[payload10-201-s3] |
41 | | - dict({ |
42 | | - 'sensitive_fields': list([ |
43 | | - dict({ |
44 | | - 'advanced': False, |
45 | | - 'default': '', |
46 | | - 'default_str': '', |
47 | | - 'exclusive': False, |
48 | | - 'help': ''' |
49 | | - AWS Secret Access Key (password). |
50 | | - |
51 | | - Leave blank for anonymous access or runtime credentials. |
52 | | - ''', |
53 | | - 'ispassword': False, |
54 | | - 'name': 'secret_access_key', |
55 | | - 'required': False, |
56 | | - 'sensitive': True, |
57 | | - 'type': 'string', |
58 | | - }), |
59 | | - ]), |
60 | | - 'storage': dict({ |
61 | | - 'configuration': dict({ |
62 | | - 'provider': 'AWS', |
63 | | - 'secret_access_key': '<sensitive>', |
64 | | - 'type': 's3', |
65 | | - }), |
66 | | - 'name': 'mystorage', |
67 | | - 'project_id': '123456', |
68 | | - 'readonly': True, |
69 | | - 'source_path': 'bucket/myfolder', |
70 | | - 'storage_type': 's3', |
71 | | - 'target_path': 'my/target', |
72 | | - }), |
73 | | - }) |
74 | | -# --- |
75 | | -# name: test_storage_creation[payload2-201-s3] |
76 | | - dict({ |
77 | | - 'sensitive_fields': list([ |
78 | | - ]), |
79 | | - 'storage': dict({ |
80 | | - 'configuration': dict({ |
81 | | - 'provider': 'AWS', |
82 | | - 'region': 'us-east-2', |
83 | | - 'type': 's3', |
84 | | - }), |
85 | | - 'name': 'mystorage', |
86 | | - 'project_id': '123456', |
87 | | - 'readonly': True, |
88 | | - 'source_path': 'mybucket/myfolder', |
89 | | - 'storage_type': 's3', |
90 | | - 'target_path': 'my/target', |
91 | | - }), |
92 | | - }) |
93 | | -# --- |
94 | | -# name: test_storage_creation[payload3-201-s3] |
95 | | - dict({ |
96 | | - 'sensitive_fields': list([ |
97 | | - ]), |
98 | | - 'storage': dict({ |
99 | | - 'configuration': dict({ |
100 | | - 'provider': 'AWS', |
101 | | - 'type': 's3', |
102 | | - }), |
103 | | - 'name': 'mystorage', |
104 | | - 'project_id': '123456', |
105 | | - 'readonly': True, |
106 | | - 'source_path': 'giab', |
107 | | - 'storage_type': 's3', |
108 | | - 'target_path': 'my/target', |
109 | | - }), |
110 | | - }) |
111 | | -# --- |
112 | | -# name: test_storage_creation[payload4-201-s3] |
113 | | - dict({ |
114 | | - 'sensitive_fields': list([ |
115 | | - ]), |
116 | | - 'storage': dict({ |
117 | | - 'configuration': dict({ |
118 | | - 'provider': 'AWS', |
119 | | - 'region': 'us-east-2', |
120 | | - 'type': 's3', |
121 | | - }), |
122 | | - 'name': 'mystorage', |
123 | | - 'project_id': '123456', |
124 | | - 'readonly': False, |
125 | | - 'source_path': 'mybucket/myfolder', |
126 | | - 'storage_type': 's3', |
127 | | - 'target_path': 'my/target', |
128 | | - }), |
129 | | - }) |
130 | | -# --- |
131 | | -# name: test_storage_creation[payload5-201-s3] |
132 | | - dict({ |
133 | | - 'sensitive_fields': list([ |
134 | | - ]), |
135 | | - 'storage': dict({ |
136 | | - 'configuration': dict({ |
137 | | - 'endpoint': 'my.provider.com', |
138 | | - 'type': 's3', |
139 | | - }), |
140 | | - 'name': 'mystorage', |
141 | | - 'project_id': '123456', |
142 | | - 'readonly': True, |
143 | | - 'source_path': 'mybucket/myfolder', |
144 | | - 'storage_type': 's3', |
145 | | - 'target_path': 'my/target', |
146 | | - }), |
147 | | - }) |
148 | | -# --- |
149 | | -# name: test_storage_creation[payload6-201-azureblob] |
150 | | - dict({ |
151 | | - 'sensitive_fields': list([ |
152 | | - ]), |
153 | | - 'storage': dict({ |
154 | | - 'configuration': dict({ |
155 | | - 'type': 'azureblob', |
156 | | - }), |
157 | | - 'name': 'mystorage', |
158 | | - 'project_id': '123456', |
159 | | - 'readonly': True, |
160 | | - 'source_path': 'mycontainer/myfolder', |
161 | | - 'storage_type': 'azureblob', |
162 | | - 'target_path': 'my/target', |
163 | | - }), |
164 | | - }) |
165 | | -# --- |
166 | | -# name: test_storage_creation[payload7-201-azureblob] |
167 | | - dict({ |
168 | | - 'sensitive_fields': list([ |
169 | | - ]), |
170 | | - 'storage': dict({ |
171 | | - 'configuration': dict({ |
172 | | - 'account': 'myaccount', |
173 | | - 'type': 'azureblob', |
174 | | - }), |
175 | | - 'name': 'mystorage', |
176 | | - 'project_id': '123456', |
177 | | - 'readonly': True, |
178 | | - 'source_path': 'myfolder', |
179 | | - 'storage_type': 'azureblob', |
180 | | - 'target_path': 'my/target', |
181 | | - }), |
182 | | - }) |
183 | | -# --- |
184 | | -# name: test_storage_creation[payload8-201-azureblob] |
185 | | - dict({ |
186 | | - 'sensitive_fields': list([ |
187 | | - ]), |
188 | | - 'storage': dict({ |
189 | | - 'configuration': dict({ |
190 | | - 'account': 'myaccount', |
191 | | - 'type': 'azureblob', |
192 | | - }), |
193 | | - 'name': 'mystorage', |
194 | | - 'project_id': '123456', |
195 | | - 'readonly': True, |
196 | | - 'source_path': 'myfolder', |
197 | | - 'storage_type': 'azureblob', |
198 | | - 'target_path': 'my/target', |
199 | | - }), |
200 | | - }) |
201 | | -# --- |
202 | | -# name: test_storage_creation[payload9-201-s3] |
203 | | - dict({ |
204 | | - 'sensitive_fields': list([ |
205 | | - dict({ |
206 | | - 'advanced': False, |
207 | | - 'default': '', |
208 | | - 'default_str': '', |
209 | | - 'exclusive': False, |
210 | | - 'help': ''' |
211 | | - AWS Secret Access Key (password). |
212 | | - |
213 | | - Leave blank for anonymous access or runtime credentials. |
214 | | - ''', |
215 | | - 'ispassword': False, |
216 | | - 'name': 'secret_access_key', |
217 | | - 'required': False, |
218 | | - 'sensitive': True, |
219 | | - 'type': 'string', |
220 | | - }), |
221 | | - ]), |
222 | | - 'storage': dict({ |
223 | | - 'configuration': dict({ |
224 | | - 'provider': 'AWS', |
225 | | - 'secret_access_key': '<sensitive>', |
226 | | - 'type': 's3', |
227 | | - }), |
228 | | - 'name': 'mystorage', |
229 | | - 'project_id': '123456', |
230 | | - 'readonly': True, |
231 | | - 'source_path': 'bucket/myfolder', |
232 | | - 'storage_type': 's3', |
233 | | - 'target_path': 'my/target', |
234 | | - }), |
235 | | - }) |
236 | | -# --- |
237 | 2 | # name: test_storage_schema_patches |
238 | 3 | list([ |
239 | 4 | dict({ |
|
0 commit comments