Commit c8ee9df
authored
Clouds: add rotation parameters for auto rotate (#127)
Path_Clouds: add rotation parameters for future auto rotate root implementation
Path clouds is updated with additional parameters for auto rotate root with periodicfunc.
Acceptance tests
vault-plugin-secrets-openstack % make functional
Running acceptance tests...
=== RUN TestPlugin
=== RUN TestPlugin/TestCloudLifecycle
=== RUN TestPlugin/TestCloudLifecycle/WriteCloud
=== RUN TestPlugin/TestCloudLifecycle/ReadCloud
=== RUN TestPlugin/TestCloudLifecycle/ListClouds
=== RUN TestPlugin/TestCloudLifecycle/ListClouds/method-LIST
=== PAUSE TestPlugin/TestCloudLifecycle/ListClouds/method-LIST
=== RUN TestPlugin/TestCloudLifecycle/ListClouds/method-GET
=== PAUSE TestPlugin/TestCloudLifecycle/ListClouds/method-GET
=== CONT TestPlugin/TestCloudLifecycle/ListClouds/method-LIST
=== CONT TestPlugin/TestCloudLifecycle/ListClouds/method-GET
=== RUN TestPlugin/TestCloudLifecycle/DeleteCloud
=== RUN TestPlugin/TestCredsLifecycle
=== RUN TestPlugin/TestCredsLifecycle/user_domain_id_token
=== RUN TestPlugin/TestCredsLifecycle/root_token
=== RUN TestPlugin/TestCredsLifecycle/user_token
=== RUN TestPlugin/TestCredsLifecycle/user_password
=== RUN TestPlugin/TestInfo
info_test.go:42:
Error Trace: info_test.go:42
Error: Should NOT be empty, but was &{ }
Test: TestPlugin/TestInfo
=== RUN TestPlugin/TestRoleLifecycle
=== RUN TestPlugin/TestRoleLifecycle/WriteRole
=== RUN TestPlugin/TestRoleLifecycle/ReadRole
=== RUN TestPlugin/TestRoleLifecycle/ListRoles
=== RUN TestPlugin/TestRoleLifecycle/ListRoles/method-LIST
=== PAUSE TestPlugin/TestRoleLifecycle/ListRoles/method-LIST
=== RUN TestPlugin/TestRoleLifecycle/ListRoles/method-GET
=== PAUSE TestPlugin/TestRoleLifecycle/ListRoles/method-GET
=== CONT TestPlugin/TestRoleLifecycle/ListRoles/method-LIST
=== CONT TestPlugin/TestRoleLifecycle/ListRoles/method-GET
=== RUN TestPlugin/TestRoleLifecycle/DeleteRole
=== RUN TestPlugin/TestRootRotate
rotate_test.go:65: Cloud with name default1 was created
rotate_test.go:68: Cloud with name ixqy was created
plugin_test.go:337: Cloud with name ixqy has been removed
plugin_test.go:337: Cloud with name default1 has been removed
=== RUN TestPlugin/TestStaticCredsLifecycle
=== RUN TestPlugin/TestStaticCredsLifecycle/user_password
=== RUN TestPlugin/TestStaticCredsLifecycle/user_token_project_id
=== RUN TestPlugin/TestStaticCredsLifecycle/user_token_project_name
=== RUN TestPlugin/TestStaticCredsLifecycle/user_domain_id_token
=== RUN TestPlugin/TestStaticRoleLifecycle
=== RUN TestPlugin/TestStaticRoleLifecycle/WriteRole
=== RUN TestPlugin/TestStaticRoleLifecycle/ReadRole
=== RUN TestPlugin/TestStaticRoleLifecycle/ListRoles
=== RUN TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST
=== PAUSE TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST
=== RUN TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET
=== PAUSE TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET
=== CONT TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST
=== CONT TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET
=== RUN TestPlugin/TestStaticRoleLifecycle/DeleteRole
--- FAIL: TestPlugin (32.04s)
--- PASS: TestPlugin/TestCloudLifecycle (0.05s)
--- PASS: TestPlugin/TestCloudLifecycle/WriteCloud (0.05s)
--- PASS: TestPlugin/TestCloudLifecycle/ReadCloud (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/ListClouds (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/ListClouds/method-LIST (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/ListClouds/method-GET (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/DeleteCloud (0.00s)
--- PASS: TestPlugin/TestCredsLifecycle (8.18s)
--- PASS: TestPlugin/TestCredsLifecycle/user_domain_id_token (3.05s)
--- PASS: TestPlugin/TestCredsLifecycle/root_token (0.83s)
--- PASS: TestPlugin/TestCredsLifecycle/user_token (2.44s)
--- PASS: TestPlugin/TestCredsLifecycle/user_password (1.03s)
--- FAIL: TestPlugin/TestInfo (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle (0.61s)
--- PASS: TestPlugin/TestRoleLifecycle/WriteRole (0.60s)
--- PASS: TestPlugin/TestRoleLifecycle/ReadRole (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ListRoles (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ListRoles/method-LIST (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ListRoles/method-GET (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/DeleteRole (0.00s)
--- PASS: TestPlugin/TestRootRotate (4.69s)
--- PASS: TestPlugin/TestStaticCredsLifecycle (15.61s)
--- PASS: TestPlugin/TestStaticCredsLifecycle/user_password (3.26s)
--- PASS: TestPlugin/TestStaticCredsLifecycle/user_token_project_id (3.83s)
--- PASS: TestPlugin/TestStaticCredsLifecycle/user_token_project_name (3.76s)
--- PASS: TestPlugin/TestStaticCredsLifecycle/user_domain_id_token (3.70s)
--- PASS: TestPlugin/TestStaticRoleLifecycle (2.78s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/WriteRole (1.03s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ReadRole (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ListRoles (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/DeleteRole (0.00s)
FAIL
FAIL github.com/opentelekomcloud/vault-plugin-secrets-openstack/acceptance 32.382s
FAIL
make: *** [functional] Error 1
Reviewed-by: Aloento1 parent 8f63890 commit c8ee9df
File tree
4 files changed
+127
-18
lines changed- doc/source
- openstack
4 files changed
+127
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
33 | 47 | | |
34 | 48 | | |
35 | 49 | | |
| |||
95 | 109 | | |
96 | 110 | | |
97 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
98 | 118 | | |
99 | 119 | | |
100 | 120 | | |
| |||
176 | 196 | | |
177 | 197 | | |
178 | 198 | | |
179 | | - | |
| 199 | + | |
180 | 200 | | |
181 | 201 | | |
182 | 202 | | |
183 | 203 | | |
184 | 204 | | |
185 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
186 | 214 | | |
187 | 215 | | |
188 | 216 | | |
| |||
212 | 240 | | |
213 | 241 | | |
214 | 242 | | |
| 243 | + | |
| 244 | + | |
215 | 245 | | |
216 | 246 | | |
217 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 5 | | |
11 | 6 | | |
12 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | | - | |
| 26 | + | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
199 | 197 | | |
200 | 198 | | |
201 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
0 commit comments