rundeck 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/DEVELOPMENT.md +35 -0
- data/lib/rundeck/client/execution.rb +7 -1
- data/lib/rundeck/version.rb +1 -1
- data/spec/cassettes/12/key/contents_direct.yml +67 -0
- data/spec/cassettes/12/key/contents_multiple.yml +38 -0
- data/spec/cassettes/12/{key_contents_private.yml → key/contents_private.yml} +5 -5
- data/spec/cassettes/12/{create_private_key.yml → key/create_private.yml} +5 -5
- data/spec/cassettes/12/{create_public_key.yml → key/create_public.yml} +5 -5
- data/spec/cassettes/12/{delete_key_invalid.yml → key/delete_error.yml} +3 -3
- data/spec/cassettes/12/{delete_key_private.yml → key/delete_private.yml} +3 -3
- data/spec/cassettes/12/{delete_key_public.yml → key/delete_public.yml} +3 -3
- data/spec/cassettes/12/{keys_direct.yml → key/key_direct.yml} +5 -5
- data/spec/cassettes/12/{keys_none.yml → key/key_error.yml} +4 -4
- data/spec/cassettes/12/key/key_multiple.yml +38 -0
- data/spec/cassettes/12/{key_metadata_direct.yml → key/metadata_direct.yml} +5 -5
- data/spec/cassettes/12/key/metadata_multiple.yml +38 -0
- data/spec/cassettes/12/{update_private_key.yml → key/update_private.yml} +10 -10
- data/spec/cassettes/12/{update_public_key.yml → key/update_public.yml} +10 -10
- data/spec/cassettes/12/{create_project_invalid.yml → project/create_error.yml} +3 -3
- data/spec/cassettes/12/{create_project_json.yml → project/create_json.yml} +3 -3
- data/spec/cassettes/12/{create_project_xml.yml → project/create_xml.yml} +3 -3
- data/spec/cassettes/12/{delete_token.yml → project/delete.yml} +4 -4
- data/spec/cassettes/12/project/delete_error.yml +41 -0
- data/spec/cassettes/12/{project_valid.yml → project/project.yml} +3 -5
- data/spec/cassettes/12/{project_invalid.yml → project/project_error.yml} +3 -3
- data/spec/cassettes/12/{projects.yml → project/projects.yml} +3 -3
- data/spec/cassettes/12/{delete_token_invalid.yml → token/delete_error.yml} +3 -3
- data/spec/cassettes/12/{token.yml → token/token.yml} +5 -5
- data/spec/cassettes/12/{create_token.yml → token/token_create.yml} +5 -5
- data/spec/cassettes/12/token/token_delete.yml +32 -0
- data/spec/cassettes/12/{token_invalid.yml → token/token_error.yml} +3 -3
- data/spec/cassettes/12/{tokens_multiple.yml → token/tokens_multiple.yml} +6 -6
- data/spec/cassettes/12/{tokens_single.yml → token/tokens_single.yml} +5 -5
- data/spec/cassettes/12/{tokens_user.yml → token/tokens_user.yml} +7 -6
- data/spec/rundeck/client/key_spec.rb +25 -23
- data/spec/rundeck/client/project_spec.rb +12 -9
- data/spec/rundeck/client/token_spec.rb +28 -18
- data/spec/spec_helper.rb +5 -4
- data/spec/support/helpers.rb +29 -0
- metadata +65 -60
- data/spec/cassettes/12/key_contents_direct.yml +0 -67
- data/spec/cassettes/12/key_contents_multiple.yml +0 -38
- data/spec/cassettes/12/key_metadata_multiple.yml +0 -38
- data/spec/cassettes/12/keys_multiple.yml +0 -38
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://192.168.50.2:4440/api/12/storage/keys/path/to
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Rundeck-Auth-Token:
|
11
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
12
|
+
Accept:
|
13
|
+
- application/xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Set-Cookie:
|
20
|
+
- JSESSIONID=mhg53ptqnyzp13nszmnsmsjbb;Path=/
|
21
|
+
Expires:
|
22
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
|
+
Content-Type:
|
24
|
+
- text/html;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Server:
|
28
|
+
- Jetty(7.6.0.v20120127)
|
29
|
+
body:
|
30
|
+
encoding: UTF-8
|
31
|
+
string: "<resource path='keys/path/to' type='directory' url='http://192.168.50.2:4440/api/12/storage/keys/path/to'><contents
|
32
|
+
count='2'><resource path='keys/path/to/private_key' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/private_key'
|
33
|
+
name='private_key'><resource-meta><Rundeck-content-type>application/octet-stream</Rundeck-content-type><Rundeck-content-creation-time>2015-01-17T21:46:16Z</Rundeck-content-creation-time><Rundeck-content-modify-time>2015-01-17T21:46:16Z</Rundeck-content-modify-time><Rundeck-auth-created-username>admin</Rundeck-auth-created-username><Rundeck-auth-modified-username>admin</Rundeck-auth-modified-username><Rundeck-key-type>private</Rundeck-key-type><Rundeck-content-mask>content</Rundeck-content-mask></resource-meta></resource><resource
|
34
|
+
path='keys/path/to/key' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/key'
|
35
|
+
name='key'><resource-meta><Rundeck-content-type>application/pgp-key</Rundeck-content-type><Rundeck-content-size>396</Rundeck-content-size><Rundeck-content-creation-time>2015-01-17T21:46:16Z</Rundeck-content-creation-time><Rundeck-content-modify-time>2015-01-17T21:46:16Z</Rundeck-content-modify-time><Rundeck-auth-created-username>admin</Rundeck-auth-created-username><Rundeck-auth-modified-username>admin</Rundeck-auth-modified-username></resource-meta></resource></contents></resource>"
|
36
|
+
http_version:
|
37
|
+
recorded_at: Sat, 17 Jan 2015 21:46:17 GMT
|
38
|
+
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Rundeck-Auth-Token:
|
11
|
-
-
|
11
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
12
12
|
Accept:
|
13
13
|
- application/xml
|
14
14
|
response:
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
19
|
Set-Cookie:
|
20
|
-
- JSESSIONID=
|
20
|
+
- JSESSIONID=tej1uvlisea0hvkvp48ymqpe;Path=/
|
21
21
|
Expires:
|
22
22
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
23
|
Content-Type:
|
@@ -28,10 +28,10 @@ http_interactions:
|
|
28
28
|
- Jetty(7.6.0.v20120127)
|
29
29
|
body:
|
30
30
|
encoding: UTF-8
|
31
|
-
string: <resource path='keys/path/to/private_key2' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/private_key2'
|
32
|
-
name='private_key2'><resource-meta><Rundeck-content-type>application/octet-stream</Rundeck-content-type><Rundeck-content-
|
31
|
+
string: "<resource path='keys/path/to/private_key2' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/private_key2'
|
32
|
+
name='private_key2'><resource-meta><Rundeck-content-type>application/octet-stream</Rundeck-content-type><Rundeck-content-creation-time>2015-01-17T21:46:18Z</Rundeck-content-creation-time><Rundeck-content-modify-time>2015-01-17T21:46:18Z</Rundeck-content-modify-time><Rundeck-auth-created-username>admin</Rundeck-auth-created-username><Rundeck-auth-modified-username>admin</Rundeck-auth-modified-username><Rundeck-key-type>private</Rundeck-key-type><Rundeck-content-mask>content</Rundeck-content-mask></resource-meta></resource>"
|
33
33
|
http_version:
|
34
|
-
recorded_at: Sat,
|
34
|
+
recorded_at: Sat, 17 Jan 2015 21:46:18 GMT
|
35
35
|
- request:
|
36
36
|
method: put
|
37
37
|
uri: http://192.168.50.2:4440/api/12/storage/keys/path/to/private_key2
|
@@ -69,7 +69,7 @@ http_interactions:
|
|
69
69
|
Content-Type:
|
70
70
|
- application/octet-stream
|
71
71
|
X-Rundeck-Auth-Token:
|
72
|
-
-
|
72
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
73
73
|
Accept:
|
74
74
|
- application/xml
|
75
75
|
response:
|
@@ -78,7 +78,7 @@ http_interactions:
|
|
78
78
|
message: OK
|
79
79
|
headers:
|
80
80
|
Set-Cookie:
|
81
|
-
- JSESSIONID=
|
81
|
+
- JSESSIONID=1pceimezkovvl3qs1ek8eom9w;Path=/
|
82
82
|
Expires:
|
83
83
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
84
84
|
Content-Type:
|
@@ -89,8 +89,8 @@ http_interactions:
|
|
89
89
|
- Jetty(7.6.0.v20120127)
|
90
90
|
body:
|
91
91
|
encoding: UTF-8
|
92
|
-
string: <resource path='keys/path/to/private_key2' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/private_key2'
|
93
|
-
name='private_key2'><resource-meta><Rundeck-content-type>application/octet-stream</Rundeck-content-type><Rundeck-content-
|
92
|
+
string: "<resource path='keys/path/to/private_key2' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/private_key2'
|
93
|
+
name='private_key2'><resource-meta><Rundeck-content-type>application/octet-stream</Rundeck-content-type><Rundeck-content-creation-time>2015-01-17T21:46:18Z</Rundeck-content-creation-time><Rundeck-content-modify-time>2015-01-17T21:46:18Z</Rundeck-content-modify-time><Rundeck-auth-created-username>admin</Rundeck-auth-created-username><Rundeck-auth-modified-username>admin</Rundeck-auth-modified-username><Rundeck-key-type>private</Rundeck-key-type><Rundeck-content-mask>content</Rundeck-content-mask></resource-meta></resource>"
|
94
94
|
http_version:
|
95
|
-
recorded_at: Sat,
|
95
|
+
recorded_at: Sat, 17 Jan 2015 21:46:18 GMT
|
96
96
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Rundeck-Auth-Token:
|
11
|
-
-
|
11
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
12
12
|
Accept:
|
13
13
|
- application/xml
|
14
14
|
response:
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
19
|
Set-Cookie:
|
20
|
-
- JSESSIONID=
|
20
|
+
- JSESSIONID=l9isk3deaisx145yaofbbky2n;Path=/
|
21
21
|
Expires:
|
22
22
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
23
|
Content-Type:
|
@@ -28,10 +28,10 @@ http_interactions:
|
|
28
28
|
- Jetty(7.6.0.v20120127)
|
29
29
|
body:
|
30
30
|
encoding: UTF-8
|
31
|
-
string: <resource path='keys/path/to/public_key2' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/public_key2'
|
32
|
-
name='public_key2'><resource-meta><Rundeck-content-type>application/pgp-key</Rundeck-content-type><Rundeck-content-size>396</Rundeck-content-size></resource-meta></resource>
|
31
|
+
string: "<resource path='keys/path/to/public_key2' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/public_key2'
|
32
|
+
name='public_key2'><resource-meta><Rundeck-content-type>application/pgp-key</Rundeck-content-type><Rundeck-content-size>396</Rundeck-content-size><Rundeck-content-creation-time>2015-01-17T21:46:18Z</Rundeck-content-creation-time><Rundeck-content-modify-time>2015-01-17T21:46:18Z</Rundeck-content-modify-time><Rundeck-auth-created-username>admin</Rundeck-auth-created-username><Rundeck-auth-modified-username>admin</Rundeck-auth-modified-username></resource-meta></resource>"
|
33
33
|
http_version:
|
34
|
-
recorded_at: Sat,
|
34
|
+
recorded_at: Sat, 17 Jan 2015 21:46:18 GMT
|
35
35
|
- request:
|
36
36
|
method: put
|
37
37
|
uri: http://192.168.50.2:4440/api/12/storage/keys/path/to/public_key2
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
Content-Type:
|
44
44
|
- application/pgp-key
|
45
45
|
X-Rundeck-Auth-Token:
|
46
|
-
-
|
46
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
47
47
|
Accept:
|
48
48
|
- application/xml
|
49
49
|
response:
|
@@ -52,7 +52,7 @@ http_interactions:
|
|
52
52
|
message: OK
|
53
53
|
headers:
|
54
54
|
Set-Cookie:
|
55
|
-
- JSESSIONID=
|
55
|
+
- JSESSIONID=bvam8er82hqehgyznk4inzz4;Path=/
|
56
56
|
Expires:
|
57
57
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
58
58
|
Content-Type:
|
@@ -63,8 +63,8 @@ http_interactions:
|
|
63
63
|
- Jetty(7.6.0.v20120127)
|
64
64
|
body:
|
65
65
|
encoding: UTF-8
|
66
|
-
string: <resource path='keys/path/to/public_key2' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/public_key2'
|
67
|
-
name='public_key2'><resource-meta><Rundeck-content-type>application/pgp-key</Rundeck-content-type><Rundeck-content-size>396</Rundeck-content-size></resource-meta></resource>
|
66
|
+
string: "<resource path='keys/path/to/public_key2' type='file' url='http://192.168.50.2:4440/api/12/storage/keys/path/to/public_key2'
|
67
|
+
name='public_key2'><resource-meta><Rundeck-content-type>application/pgp-key</Rundeck-content-type><Rundeck-content-size>396</Rundeck-content-size><Rundeck-content-creation-time>2015-01-17T21:46:18Z</Rundeck-content-creation-time><Rundeck-content-modify-time>2015-01-17T21:46:18Z</Rundeck-content-modify-time><Rundeck-auth-created-username>admin</Rundeck-auth-created-username><Rundeck-auth-modified-username>admin</Rundeck-auth-modified-username></resource-meta></resource>"
|
68
68
|
http_version:
|
69
|
-
recorded_at: Sat,
|
69
|
+
recorded_at: Sat, 17 Jan 2015 21:46:18 GMT
|
70
70
|
recorded_with: VCR 2.9.3
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
Content-Type:
|
11
11
|
- application/json
|
12
12
|
X-Rundeck-Auth-Token:
|
13
|
-
-
|
13
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
14
14
|
Accept:
|
15
15
|
- application/xml
|
16
16
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
message: Conflict
|
20
20
|
headers:
|
21
21
|
Set-Cookie:
|
22
|
-
- JSESSIONID=
|
22
|
+
- JSESSIONID=1cbwk5yz3uw4j19dqszudy8ave;Path=/
|
23
23
|
Expires:
|
24
24
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
25
25
|
Content-Type:
|
@@ -39,5 +39,5 @@ http_interactions:
|
|
39
39
|
</error>
|
40
40
|
</result>
|
41
41
|
http_version:
|
42
|
-
recorded_at:
|
42
|
+
recorded_at: Sat, 17 Jan 2015 20:55:45 GMT
|
43
43
|
recorded_with: VCR 2.9.3
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
Content-Type:
|
11
11
|
- application/json
|
12
12
|
X-Rundeck-Auth-Token:
|
13
|
-
-
|
13
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
14
14
|
Accept:
|
15
15
|
- application/xml
|
16
16
|
response:
|
@@ -19,7 +19,7 @@ http_interactions:
|
|
19
19
|
message: Created
|
20
20
|
headers:
|
21
21
|
Set-Cookie:
|
22
|
-
- JSESSIONID=
|
22
|
+
- JSESSIONID=2457ydn34dno1j620kro5gkhj;Path=/
|
23
23
|
Expires:
|
24
24
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
25
25
|
X-Rundeck-Api-Xml-Response-Wrapper:
|
@@ -51,5 +51,5 @@ http_interactions:
|
|
51
51
|
</config>
|
52
52
|
</project>
|
53
53
|
http_version:
|
54
|
-
recorded_at:
|
54
|
+
recorded_at: Sat, 17 Jan 2015 20:55:45 GMT
|
55
55
|
recorded_with: VCR 2.9.3
|
@@ -13,7 +13,7 @@ http_interactions:
|
|
13
13
|
Content-Type:
|
14
14
|
- application/xml
|
15
15
|
X-Rundeck-Auth-Token:
|
16
|
-
-
|
16
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
17
17
|
Accept:
|
18
18
|
- application/xml
|
19
19
|
response:
|
@@ -22,7 +22,7 @@ http_interactions:
|
|
22
22
|
message: Created
|
23
23
|
headers:
|
24
24
|
Set-Cookie:
|
25
|
-
- JSESSIONID=
|
25
|
+
- JSESSIONID=qoqg580wq1i4159q83dg8ydcr;Path=/
|
26
26
|
Expires:
|
27
27
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
28
28
|
X-Rundeck-Api-Xml-Response-Wrapper:
|
@@ -54,5 +54,5 @@ http_interactions:
|
|
54
54
|
</config>
|
55
55
|
</project>
|
56
56
|
http_version:
|
57
|
-
recorded_at:
|
57
|
+
recorded_at: Sat, 17 Jan 2015 20:55:45 GMT
|
58
58
|
recorded_with: VCR 2.9.3
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: delete
|
5
|
-
uri: http://192.168.50.2:4440/api/12/
|
5
|
+
uri: http://192.168.50.2:4440/api/12/project/anvils
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Rundeck-Auth-Token:
|
11
|
-
-
|
11
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
12
12
|
Accept:
|
13
13
|
- application/xml
|
14
14
|
response:
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
message: No Content
|
18
18
|
headers:
|
19
19
|
Set-Cookie:
|
20
|
-
- JSESSIONID=
|
20
|
+
- JSESSIONID=1im8pjogz9jrg1rc8lyqq8eoti;Path=/
|
21
21
|
Expires:
|
22
22
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
23
|
Content-Type:
|
@@ -28,5 +28,5 @@ http_interactions:
|
|
28
28
|
encoding: UTF-8
|
29
29
|
string: ''
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Sat, 17 Jan 2015 20:55:46 GMT
|
32
32
|
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: http://192.168.50.2:4440/api/12/project/nonexistent
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Rundeck-Auth-Token:
|
11
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
12
|
+
Accept:
|
13
|
+
- application/xml
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 404
|
17
|
+
message: Not Found
|
18
|
+
headers:
|
19
|
+
Set-Cookie:
|
20
|
+
- JSESSIONID=8cunlfebem7noivz6y9lw5b8;Path=/
|
21
|
+
Expires:
|
22
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
|
+
Content-Type:
|
24
|
+
- text/xml;charset=UTF-8
|
25
|
+
X-Rundeck-Api-Version:
|
26
|
+
- '12'
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Server:
|
30
|
+
- Jetty(7.6.0.v20120127)
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: |-
|
34
|
+
<result error='true' apiversion='12'>
|
35
|
+
<error code='api.error.item.doesnotexist'>
|
36
|
+
<message>Project does not exist: nonexistent</message>
|
37
|
+
</error>
|
38
|
+
</result>
|
39
|
+
http_version:
|
40
|
+
recorded_at: Sat, 17 Jan 2015 20:55:46 GMT
|
41
|
+
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Rundeck-Auth-Token:
|
11
|
-
-
|
11
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
12
12
|
Accept:
|
13
13
|
- application/xml
|
14
14
|
response:
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
19
|
Set-Cookie:
|
20
|
-
- JSESSIONID=
|
20
|
+
- JSESSIONID=1jy3ft091jv3sli5b0lh1sphz;Path=/
|
21
21
|
Expires:
|
22
22
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
23
|
X-Rundeck-Api-Xml-Response-Wrapper:
|
@@ -39,8 +39,6 @@ http_interactions:
|
|
39
39
|
<config>
|
40
40
|
<property key='project.name' value='anvils' />
|
41
41
|
<property key='project.ssh-authentication' value='privateKey' />
|
42
|
-
<property key='resources.source.2.config.directory' value='/var/rundeck/projects/anvils/etc/resources.d' />
|
43
|
-
<property key='resources.source.2.type' value='directory' />
|
44
42
|
<property key='service.NodeExecutor.default.provider' value='jsch-ssh' />
|
45
43
|
<property key='resources.source.1.config.includeServerNode' value='true' />
|
46
44
|
<property key='resources.source.1.config.generateFileAutomatically' value='true' />
|
@@ -51,5 +49,5 @@ http_interactions:
|
|
51
49
|
</config>
|
52
50
|
</project>
|
53
51
|
http_version:
|
54
|
-
recorded_at:
|
52
|
+
recorded_at: Sat, 17 Jan 2015 20:55:45 GMT
|
55
53
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Rundeck-Auth-Token:
|
11
|
-
-
|
11
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
12
12
|
Accept:
|
13
13
|
- application/xml
|
14
14
|
response:
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
message: Not Found
|
18
18
|
headers:
|
19
19
|
Set-Cookie:
|
20
|
-
- JSESSIONID=
|
20
|
+
- JSESSIONID=1sfauv1hu7faw1f10zd40wrmys;Path=/
|
21
21
|
Expires:
|
22
22
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
23
|
Content-Type:
|
@@ -37,5 +37,5 @@ http_interactions:
|
|
37
37
|
</error>
|
38
38
|
</result>
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Sat, 17 Jan 2015 20:55:45 GMT
|
41
41
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Rundeck-Auth-Token:
|
11
|
-
-
|
11
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
12
12
|
Accept:
|
13
13
|
- application/xml
|
14
14
|
response:
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
19
|
Set-Cookie:
|
20
|
-
- JSESSIONID=
|
20
|
+
- JSESSIONID=o31rte11b1hk1pwfo7pehllih;Path=/
|
21
21
|
Expires:
|
22
22
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
23
|
X-Rundeck-Api-Xml-Response-Wrapper:
|
@@ -40,5 +40,5 @@ http_interactions:
|
|
40
40
|
</project>
|
41
41
|
</projects>
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Sat, 17 Jan 2015 20:55:45 GMT
|
44
44
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Rundeck-Auth-Token:
|
11
|
-
-
|
11
|
+
- vDCT9dP6evCJYHtWoivruQtymkLTGJXq
|
12
12
|
Accept:
|
13
13
|
- application/xml
|
14
14
|
response:
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
message: Not Found
|
18
18
|
headers:
|
19
19
|
Set-Cookie:
|
20
|
-
- JSESSIONID=
|
20
|
+
- JSESSIONID=7p6bvanzslqd1ilf3u6seyo77;Path=/
|
21
21
|
Expires:
|
22
22
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
23
|
Content-Type:
|
@@ -37,5 +37,5 @@ http_interactions:
|
|
37
37
|
</error>
|
38
38
|
</result>
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Sat, 17 Jan 2015 22:11:44 GMT
|
41
41
|
recorded_with: VCR 2.9.3
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://192.168.50.2:4440/api/12/token/
|
5
|
+
uri: http://192.168.50.2:4440/api/12/token/OPIfQ6MOnevhlFThG1af4GAcbPdAgh0B
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Rundeck-Auth-Token:
|
11
|
-
-
|
11
|
+
- OPIfQ6MOnevhlFThG1af4GAcbPdAgh0B
|
12
12
|
Accept:
|
13
13
|
- application/xml
|
14
14
|
response:
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
19
|
Set-Cookie:
|
20
|
-
- JSESSIONID=
|
20
|
+
- JSESSIONID=15bjtvg73eu2t1t5w695nsrv1s;Path=/
|
21
21
|
Expires:
|
22
22
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
23
23
|
X-Rundeck-Api-Xml-Response-Wrapper:
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
- Jetty(7.6.0.v20120127)
|
33
33
|
body:
|
34
34
|
encoding: UTF-8
|
35
|
-
string: <token id='
|
35
|
+
string: "<token id='OPIfQ6MOnevhlFThG1af4GAcbPdAgh0B' user='admin' />"
|
36
36
|
http_version:
|
37
|
-
recorded_at: Sun,
|
37
|
+
recorded_at: Sun, 18 Jan 2015 00:33:34 GMT
|
38
38
|
recorded_with: VCR 2.9.3
|