akamai_api 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +13 -0
- data/.yardopts +4 -0
- data/Gemfile +16 -0
- data/README.md +53 -52
- data/Thorfile +7 -1
- data/akamai_api.gemspec +1 -7
- data/bin/akamai_api +2 -1
- data/cassettes/akamai_api_ccu_arl_invalidate/invalid_credentials.yml +1 -1
- data/cassettes/akamai_api_ccu_arl_invalidate/invalid_item.yml +1 -1
- data/cassettes/akamai_api_ccu_arl_invalidate/multiple_items.yml +1 -1
- data/cassettes/akamai_api_ccu_arl_invalidate/single_item.yml +1 -1
- data/cassettes/akamai_api_ccu_arl_remove/invalid_credentials.yml +1 -1
- data/cassettes/akamai_api_ccu_arl_remove/invalid_item.yml +2 -2
- data/cassettes/akamai_api_ccu_arl_remove/multiple_items.yml +1 -1
- data/cassettes/akamai_api_ccu_arl_remove/single_item.yml +1 -1
- data/cassettes/akamai_api_ccu_cpcode_invalidate/invalid_credentials.yml +1 -1
- data/cassettes/akamai_api_ccu_cpcode_invalidate/invalid_item.yml +1 -1
- data/cassettes/akamai_api_ccu_cpcode_invalidate/multiple_items.yml +1 -1
- data/cassettes/akamai_api_ccu_cpcode_invalidate/single_item.yml +1 -1
- data/cassettes/akamai_api_ccu_cpcode_remove/invalid_credentials.yml +1 -1
- data/cassettes/akamai_api_ccu_cpcode_remove/invalid_item.yml +1 -1
- data/cassettes/akamai_api_ccu_cpcode_remove/multiple_items.yml +1 -1
- data/cassettes/akamai_api_ccu_cpcode_remove/single_item.yml +1 -1
- data/cassettes/akamai_api_eccu_all_ids/invalid_credentials.yml +68 -0
- data/cassettes/akamai_api_eccu_all_ids/successful.yml +72 -0
- data/cassettes/akamai_api_eccu_destroy/invalid_credentials.yml +69 -0
- data/cassettes/akamai_api_eccu_destroy/not_found_request.yml +55 -0
- data/cassettes/akamai_api_eccu_destroy/successful.yml +57 -0
- data/cassettes/akamai_api_eccu_find/invalid_credentials.yml +69 -0
- data/cassettes/akamai_api_eccu_find/not_found_request.yml +55 -0
- data/cassettes/akamai_api_eccu_find/successful.yml +70 -0
- data/cassettes/akamai_api_eccu_find/successful_without_content.yml +70 -0
- data/cassettes/akamai_api_eccu_publish/invalid_credentials.yml +5 -5
- data/cassettes/akamai_api_eccu_publish/invalid_domain.yml +7 -7
- data/cassettes/akamai_api_eccu_publish/successful.yml +8 -8
- data/cassettes/akamai_api_eccu_update_email/invalid_credentials.yml +69 -0
- data/cassettes/akamai_api_eccu_update_email/not_found_request.yml +55 -0
- data/cassettes/akamai_api_eccu_update_email/successful.yml +57 -0
- data/cassettes/akamai_api_eccu_update_notes/invalid_credentials.yml +70 -0
- data/cassettes/akamai_api_eccu_update_notes/not_found_request.yml +56 -0
- data/cassettes/akamai_api_eccu_update_notes/successful.yml +58 -0
- data/features/ccu_arl_invalidate.feature +5 -9
- data/features/ccu_arl_remove.feature +5 -9
- data/features/ccu_cpcode_invalidate.feature +2 -6
- data/features/ccu_cpcode_remove.feature +2 -6
- data/features/ccu_purge_status.feature +2 -2
- data/features/eccu_publish.feature +6 -42
- data/features/step_definitions/file_named_with_content_steps.rb +3 -0
- data/features/support/env.rb +12 -3
- data/lib/akamai_api/ccu/base_response.rb +27 -0
- data/lib/akamai_api/ccu/error.rb +38 -0
- data/lib/akamai_api/ccu/purge/request.rb +58 -11
- data/lib/akamai_api/ccu/purge/response.rb +15 -9
- data/lib/akamai_api/ccu/purge.rb +14 -3
- data/lib/akamai_api/ccu/purge_status/not_found.rb +18 -0
- data/lib/akamai_api/ccu/purge_status/request.rb +41 -7
- data/lib/akamai_api/ccu/purge_status/response.rb +49 -3
- data/lib/akamai_api/ccu/purge_status.rb +17 -9
- data/lib/akamai_api/ccu/status/request.rb +20 -7
- data/lib/akamai_api/ccu/status/response.rb +8 -2
- data/lib/akamai_api/ccu/status.rb +13 -2
- data/lib/akamai_api/ccu/unrecognized_option.rb +6 -0
- data/lib/akamai_api/ccu.rb +132 -23
- data/lib/akamai_api/cli/app.rb +15 -13
- data/lib/akamai_api/cli/ccu/arl.rb +10 -4
- data/lib/akamai_api/cli/ccu/base.rb +11 -3
- data/lib/akamai_api/cli/ccu/cp_code.rb +10 -4
- data/lib/akamai_api/cli/ccu/purge_renderer.rb +1 -1
- data/lib/akamai_api/cli/ccu/status_renderer.rb +46 -26
- data/lib/akamai_api/cli/ccu.rb +2 -4
- data/lib/akamai_api/cli/command.rb +60 -25
- data/lib/akamai_api/cli/eccu/base.rb +59 -0
- data/lib/akamai_api/cli/eccu/entry_renderer.rb +5 -3
- data/lib/akamai_api/cli/eccu.rb +2 -56
- data/lib/akamai_api/cli.rb +2 -6
- data/lib/akamai_api/eccu/base_edit_request.rb +51 -0
- data/lib/akamai_api/eccu/base_request.rb +32 -0
- data/lib/akamai_api/eccu/destroy_request.rb +30 -0
- data/lib/akamai_api/eccu/find_request.rb +45 -0
- data/lib/akamai_api/eccu/find_response.rb +110 -0
- data/lib/akamai_api/eccu/invalid_domain.rb +7 -0
- data/lib/akamai_api/eccu/list_request.rb +21 -0
- data/lib/akamai_api/eccu/not_found.rb +6 -0
- data/lib/akamai_api/eccu/publish_request.rb +75 -0
- data/lib/akamai_api/eccu/soap_body.rb +99 -0
- data/lib/akamai_api/eccu/update_attribute_request.rb +62 -0
- data/lib/akamai_api/eccu.rb +19 -0
- data/lib/akamai_api/eccu_request.rb +39 -117
- data/lib/akamai_api/error.rb +5 -0
- data/lib/akamai_api/unauthorized.rb +6 -0
- data/lib/akamai_api/version.rb +1 -1
- data/lib/akamai_api.rb +18 -4
- data/spec/features/ccu/purge_request_spec.rb +10 -12
- data/spec/features/ccu/purge_status_request_spec.rb +5 -5
- data/spec/features/ccu/status_request_spec.rb +3 -3
- data/spec/features/eccu/destroy_spec.rb +28 -0
- data/spec/features/eccu/find_request_spec.rb +34 -0
- data/spec/features/eccu/list_request_spec.rb +22 -0
- data/spec/features/eccu/publish_request_spec.rb +29 -0
- data/spec/features/eccu/update_email_spec.rb +28 -0
- data/spec/features/eccu/update_notes_spec.rb +28 -0
- data/spec/lib/akamai_api/ccu/{response_spec.rb → base_response_spec.rb} +2 -2
- data/spec/lib/akamai_api/ccu/purge/request_spec.rb +26 -20
- data/spec/lib/akamai_api/ccu/purge/response_spec.rb +16 -26
- data/spec/lib/akamai_api/ccu/purge_status/not_found_response_spec.rb +34 -34
- data/spec/lib/akamai_api/ccu/purge_status/request_spec.rb +24 -12
- data/spec/lib/akamai_api/ccu/purge_status/{successful_response_spec.rb → response_spec.rb} +8 -8
- data/spec/lib/akamai_api/ccu/status/request_spec.rb +6 -6
- data/spec/lib/akamai_api/ccu/status/response_spec.rb +2 -2
- data/spec/lib/akamai_api/ccu_spec.rb +7 -7
- data/spec/lib/akamai_api/cli/ccu/status_renderer_spec.rb +5 -17
- data/spec/lib/akamai_api/eccu/destroy_request_spec.rb +75 -0
- data/spec/lib/akamai_api/eccu/find_request_spec.rb +74 -0
- data/spec/lib/akamai_api/eccu/find_response_spec.rb +159 -0
- data/spec/lib/akamai_api/eccu/list_request_spec.rb +43 -0
- data/spec/lib/akamai_api/eccu/publish_request_spec.rb +133 -0
- data/spec/lib/akamai_api/eccu/soap_body_spec.rb +46 -0
- data/spec/lib/akamai_api/eccu/update_attribute_request_spec.rb +86 -0
- data/spec/lib/akamai_api/eccu_request_spec.rb +149 -158
- data/spec/spec_helper.rb +11 -3
- metadata +90 -104
- data/lib/akamai_api/ccu/purge_status/not_found_response.rb +0 -9
- data/lib/akamai_api/ccu/purge_status/successful_response.rb +0 -25
- data/lib/akamai_api/ccu/response.rb +0 -18
- data/lib/akamai_api/soap_body.rb +0 -40
- data/spec/lib/akamai_api/soap_body_spec.rb +0 -48
- data/spec/support/savon_backports.rb +0 -10
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://USERNAME:PASSWORD@control.akamai.com/webservices/services/PublishECCU
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd"
|
11
|
+
xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:getIds></akapubeccudt:getIds></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
Soapaction:
|
14
|
+
- '"getIds"'
|
15
|
+
Content-Type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
Content-Length:
|
18
|
+
- '457'
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- '*/*'
|
23
|
+
User-Agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
27
|
+
code: 200
|
28
|
+
message: OK
|
29
|
+
headers:
|
30
|
+
Server:
|
31
|
+
- Apache
|
32
|
+
Content-Type:
|
33
|
+
- text/xml;charset=utf-8
|
34
|
+
Content-Length:
|
35
|
+
- '2023'
|
36
|
+
Expires:
|
37
|
+
- Mon, 26 May 2014 10:48:27 GMT
|
38
|
+
Cache-Control:
|
39
|
+
- max-age=0, no-cache, no-store
|
40
|
+
Pragma:
|
41
|
+
- no-cache
|
42
|
+
Date:
|
43
|
+
- Mon, 26 May 2014 10:48:27 GMT
|
44
|
+
Connection:
|
45
|
+
- keep-alive
|
46
|
+
X-Frame-Options:
|
47
|
+
- SAMEORIGIN
|
48
|
+
body:
|
49
|
+
encoding: UTF-8
|
50
|
+
string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
51
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:getIdsResponse
|
52
|
+
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="https://control.akamai.com/2003/Sep/PublishECCU.xsd"><fileIds
|
53
|
+
soapenc:arrayType="xsd:int[31]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><fileIds
|
54
|
+
xsi:type="xsd:int">12341</fileIds><fileIds xsi:type="xsd:int">12342</fileIds><fileIds
|
55
|
+
xsi:type="xsd:int">12343</fileIds><fileIds xsi:type="xsd:int">12344</fileIds><fileIds
|
56
|
+
xsi:type="xsd:int">12345</fileIds><fileIds xsi:type="xsd:int">12346</fileIds><fileIds
|
57
|
+
xsi:type="xsd:int">12347</fileIds><fileIds xsi:type="xsd:int">12348</fileIds><fileIds
|
58
|
+
xsi:type="xsd:int">12349</fileIds><fileIds xsi:type="xsd:int">12350</fileIds><fileIds
|
59
|
+
xsi:type="xsd:int">12351</fileIds><fileIds xsi:type="xsd:int">12352</fileIds><fileIds
|
60
|
+
xsi:type="xsd:int">12353</fileIds><fileIds xsi:type="xsd:int">12354</fileIds><fileIds
|
61
|
+
xsi:type="xsd:int">12355</fileIds><fileIds xsi:type="xsd:int">12356</fileIds><fileIds
|
62
|
+
xsi:type="xsd:int">12357</fileIds><fileIds xsi:type="xsd:int">12358</fileIds><fileIds
|
63
|
+
xsi:type="xsd:int">12359</fileIds><fileIds xsi:type="xsd:int">12360</fileIds><fileIds
|
64
|
+
xsi:type="xsd:int">12361</fileIds><fileIds xsi:type="xsd:int">12362</fileIds><fileIds
|
65
|
+
xsi:type="xsd:int">12363</fileIds><fileIds xsi:type="xsd:int">12364</fileIds><fileIds
|
66
|
+
xsi:type="xsd:int">12365</fileIds><fileIds xsi:type="xsd:int">12366</fileIds><fileIds
|
67
|
+
xsi:type="xsd:int">12367</fileIds><fileIds xsi:type="xsd:int">12368</fileIds><fileIds
|
68
|
+
xsi:type="xsd:int">12369</fileIds><fileIds xsi:type="xsd:int">12370</fileIds><fileIds
|
69
|
+
xsi:type="xsd:int">12371</fileIds></fileIds></ns1:getIdsResponse></soapenv:Body></soapenv:Envelope>
|
70
|
+
http_version:
|
71
|
+
recorded_at: Mon, 26 May 2014 10:48:28 GMT
|
72
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,69 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://USERNAME:PASSWORD@control.akamai.com/webservices/services/PublishECCU
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd"
|
11
|
+
xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:delete><fileId
|
12
|
+
xsi:type="xsd:int">1234</fileId></akapubeccudt:delete></env:Body></env:Envelope>
|
13
|
+
headers:
|
14
|
+
Soapaction:
|
15
|
+
- '"delete"'
|
16
|
+
Content-Type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
Content-Length:
|
19
|
+
- '497'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- '*/*'
|
24
|
+
User-Agent:
|
25
|
+
- Ruby
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 401
|
29
|
+
message: Unauthorized
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
Www-Authenticate:
|
34
|
+
- Basic realm="Luna Control Center Web Services (use your Luna username and
|
35
|
+
password)"
|
36
|
+
Content-Length:
|
37
|
+
- '401'
|
38
|
+
Content-Type:
|
39
|
+
- text/html; charset=iso-8859-1
|
40
|
+
Expires:
|
41
|
+
- Thu, 22 May 2014 14:51:28 GMT
|
42
|
+
Cache-Control:
|
43
|
+
- max-age=0, no-cache, no-store
|
44
|
+
Pragma:
|
45
|
+
- no-cache
|
46
|
+
Date:
|
47
|
+
- Thu, 22 May 2014 14:51:28 GMT
|
48
|
+
Connection:
|
49
|
+
- close
|
50
|
+
X-Frame-Options:
|
51
|
+
- SAMEORIGIN
|
52
|
+
body:
|
53
|
+
encoding: UTF-8
|
54
|
+
string: |
|
55
|
+
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
56
|
+
<html><head>
|
57
|
+
<title>401 Authorization Required</title>
|
58
|
+
</head><body>
|
59
|
+
<h1>Authorization Required</h1>
|
60
|
+
<p>This server could not verify that you
|
61
|
+
are authorized to access the document
|
62
|
+
requested. Either you supplied the wrong
|
63
|
+
credentials (e.g., bad password), or your
|
64
|
+
browser doesn't understand how to supply
|
65
|
+
the credentials required.</p>
|
66
|
+
</body></html>
|
67
|
+
http_version:
|
68
|
+
recorded_at: Thu, 22 May 2014 14:51:27 GMT
|
69
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,55 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://USERNAME:PASSWORD@control.akamai.com/webservices/services/PublishECCU
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd"
|
11
|
+
xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:delete><fileId
|
12
|
+
xsi:type="xsd:int">1234</fileId></akapubeccudt:delete></env:Body></env:Envelope>
|
13
|
+
headers:
|
14
|
+
Soapaction:
|
15
|
+
- '"delete"'
|
16
|
+
Content-Type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
Content-Length:
|
19
|
+
- '497'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- '*/*'
|
24
|
+
User-Agent:
|
25
|
+
- Ruby
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 500
|
29
|
+
message: Internal Server Error
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
Content-Type:
|
34
|
+
- text/xml;charset=utf-8
|
35
|
+
Expires:
|
36
|
+
- Thu, 22 May 2014 14:51:42 GMT
|
37
|
+
Cache-Control:
|
38
|
+
- max-age=0, no-cache, no-store
|
39
|
+
Pragma:
|
40
|
+
- no-cache
|
41
|
+
Date:
|
42
|
+
- Thu, 22 May 2014 14:51:42 GMT
|
43
|
+
Connection:
|
44
|
+
- close
|
45
|
+
X-Frame-Options:
|
46
|
+
- SAMEORIGIN
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
50
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode><faultstring>fileId
|
51
|
+
1234 does not exist</faultstring><detail><ns1:exceptionName xmlns:ns1="http://xml.apache.org/axis/">com.akamai.aws.util.AWSFault</ns1:exceptionName><ns2:hostname
|
52
|
+
xmlns:ns2="http://xml.apache.org/axis/">ext-tomapp1.extranet.akamai.com</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
|
53
|
+
http_version:
|
54
|
+
recorded_at: Thu, 22 May 2014 14:51:41 GMT
|
55
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,57 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://USERNAME:PASSWORD@control.akamai.com/webservices/services/PublishECCU
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd"
|
11
|
+
xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:delete><fileId
|
12
|
+
xsi:type="xsd:int">1234</fileId></akapubeccudt:delete></env:Body></env:Envelope>
|
13
|
+
headers:
|
14
|
+
Soapaction:
|
15
|
+
- '"delete"'
|
16
|
+
Content-Type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
Content-Length:
|
19
|
+
- '502'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- '*/*'
|
24
|
+
User-Agent:
|
25
|
+
- Ruby
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 200
|
29
|
+
message: OK
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
Content-Type:
|
34
|
+
- text/xml;charset=utf-8
|
35
|
+
Content-Length:
|
36
|
+
- '478'
|
37
|
+
Expires:
|
38
|
+
- Thu, 22 May 2014 14:53:44 GMT
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0, no-cache, no-store
|
41
|
+
Pragma:
|
42
|
+
- no-cache
|
43
|
+
Date:
|
44
|
+
- Thu, 22 May 2014 14:53:44 GMT
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
52
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:deleteResponse
|
53
|
+
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="https://control.akamai.com/2003/Sep/PublishECCU.xsd"><success
|
54
|
+
xsi:type="xsd:boolean">true</success></ns1:deleteResponse></soapenv:Body></soapenv:Envelope>
|
55
|
+
http_version:
|
56
|
+
recorded_at: Thu, 22 May 2014 14:53:42 GMT
|
57
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,69 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://USERNAME:PASSWORD@control.akamai.com/webservices/services/PublishECCU
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd"
|
11
|
+
xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:getInfo><fileId
|
12
|
+
xsi:type="xsd:int">1234</fileId><retrieveContents xsi:type="xsd:boolean">true</retrieveContents></akapubeccudt:getInfo></env:Body></env:Envelope>
|
13
|
+
headers:
|
14
|
+
Soapaction:
|
15
|
+
- '"getInfo"'
|
16
|
+
Content-Type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
Content-Length:
|
19
|
+
- '563'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- "*/*"
|
24
|
+
User-Agent:
|
25
|
+
- Ruby
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 401
|
29
|
+
message: Unauthorized
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
Www-Authenticate:
|
34
|
+
- Basic realm="Luna Control Center Web Services (use your Luna username and
|
35
|
+
password)"
|
36
|
+
Content-Length:
|
37
|
+
- '401'
|
38
|
+
Content-Type:
|
39
|
+
- text/html; charset=iso-8859-1
|
40
|
+
Expires:
|
41
|
+
- Fri, 23 May 2014 09:00:52 GMT
|
42
|
+
Cache-Control:
|
43
|
+
- max-age=0, no-cache, no-store
|
44
|
+
Pragma:
|
45
|
+
- no-cache
|
46
|
+
Date:
|
47
|
+
- Fri, 23 May 2014 09:00:52 GMT
|
48
|
+
Connection:
|
49
|
+
- close
|
50
|
+
X-Frame-Options:
|
51
|
+
- SAMEORIGIN
|
52
|
+
body:
|
53
|
+
encoding: UTF-8
|
54
|
+
string: |
|
55
|
+
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
56
|
+
<html><head>
|
57
|
+
<title>401 Authorization Required</title>
|
58
|
+
</head><body>
|
59
|
+
<h1>Authorization Required</h1>
|
60
|
+
<p>This server could not verify that you
|
61
|
+
are authorized to access the document
|
62
|
+
requested. Either you supplied the wrong
|
63
|
+
credentials (e.g., bad password), or your
|
64
|
+
browser doesn't understand how to supply
|
65
|
+
the credentials required.</p>
|
66
|
+
</body></html>
|
67
|
+
http_version:
|
68
|
+
recorded_at: Fri, 23 May 2014 09:00:52 GMT
|
69
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,55 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://USERNAME:PASSWORD@control.akamai.com/webservices/services/PublishECCU
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd"
|
11
|
+
xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:getInfo><fileId
|
12
|
+
xsi:type="xsd:int">1234</fileId><retrieveContents xsi:type="xsd:boolean">true</retrieveContents></akapubeccudt:getInfo></env:Body></env:Envelope>
|
13
|
+
headers:
|
14
|
+
Soapaction:
|
15
|
+
- '"getInfo"'
|
16
|
+
Content-Type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
Content-Length:
|
19
|
+
- '563'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- "*/*"
|
24
|
+
User-Agent:
|
25
|
+
- Ruby
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 500
|
29
|
+
message: Internal Server Error
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
Content-Type:
|
34
|
+
- text/xml;charset=utf-8
|
35
|
+
Expires:
|
36
|
+
- Fri, 23 May 2014 09:01:10 GMT
|
37
|
+
Cache-Control:
|
38
|
+
- max-age=0, no-cache, no-store
|
39
|
+
Pragma:
|
40
|
+
- no-cache
|
41
|
+
Date:
|
42
|
+
- Fri, 23 May 2014 09:01:10 GMT
|
43
|
+
Connection:
|
44
|
+
- close
|
45
|
+
X-Frame-Options:
|
46
|
+
- SAMEORIGIN
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
50
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode><faultstring>fileId
|
51
|
+
1234 does not exist</faultstring><detail><ns1:exceptionName xmlns:ns1="http://xml.apache.org/axis/">com.akamai.aws.util.AWSFault</ns1:exceptionName><ns2:hostname
|
52
|
+
xmlns:ns2="http://xml.apache.org/axis/">ext-tomapp2.extranet.akamai.com</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
|
53
|
+
http_version:
|
54
|
+
recorded_at: Fri, 23 May 2014 09:01:10 GMT
|
55
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,70 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://USERNAME:PASSWORD@control.akamai.com/webservices/services/PublishECCU
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd"
|
11
|
+
xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:getInfo><fileId
|
12
|
+
xsi:type="xsd:int">1234</fileId><retrieveContents xsi:type="xsd:boolean">true</retrieveContents></akapubeccudt:getInfo></env:Body></env:Envelope>
|
13
|
+
headers:
|
14
|
+
Soapaction:
|
15
|
+
- '"getInfo"'
|
16
|
+
Content-Type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
Content-Length:
|
19
|
+
- '568'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- "*/*"
|
24
|
+
User-Agent:
|
25
|
+
- Ruby
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 200
|
29
|
+
message: OK
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
Content-Type:
|
34
|
+
- text/xml;charset=utf-8
|
35
|
+
Content-Length:
|
36
|
+
- '1851'
|
37
|
+
Expires:
|
38
|
+
- Fri, 23 May 2014 09:08:45 GMT
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0, no-cache, no-store
|
41
|
+
Pragma:
|
42
|
+
- no-cache
|
43
|
+
Date:
|
44
|
+
- Fri, 23 May 2014 09:08:45 GMT
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
52
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:getInfoResponse
|
53
|
+
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="https://control.akamai.com/2003/Sep/PublishECCU.xsd"><EccuInfo
|
54
|
+
xsi:type="ns2:EccuInfo" xmlns:ns2="https://control.akamai.com/Publish.xsd"><contents
|
55
|
+
xsi:type="xsd:base64Binary">PD94bWwgdmVyc2lvbj0iMS4wIj8+CjwhLS0gU3VibWl0dGVkIGJ5IGd1ZXN0\nIG9uIDUvMjEvMjAxNCB2aWEgdGhlIEFrYW1haUFwaSBnZW0gLS0+CjxlY2N1\nPgogIDxyZXZhbGlkYXRlPm5vdzwvcmV2YWxpZGF0ZT4KPC9lY2N1Pgo=</contents><extendedStatusMessage
|
56
|
+
xsi:type="xsd:string">File successfully deployed to Akamai network (Succeeded)</extendedStatusMessage><fileId
|
57
|
+
xsi:type="xsd:int">1234</fileId><fileSize xsi:type="xsd:int">127</fileSize><filename
|
58
|
+
xsi:type="xsd:string" xsi:nil="true"/><md5Digest xsi:type="xsd:string">8e456fe0bdeba72532f852e4daec184b</md5Digest><notes
|
59
|
+
xsi:type="xsd:string">ECCU Request using EdgeControl</notes><propertyName
|
60
|
+
xsi:type="xsd:string">foo.bar</propertyName><propertyNameExactMatch
|
61
|
+
xsi:type="xsd:boolean">true</propertyNameExactMatch><propertyType xsi:type="xsd:string">hostheader</propertyType><statusChangeEmail
|
62
|
+
xsi:type="xsd:string">guest@mikamai.com</statusChangeEmail><statusCode
|
63
|
+
xsi:type="xsd:int">4000</statusCode><statusMessage xsi:type="xsd:string">File
|
64
|
+
successfully deployed to Akamai's network</statusMessage><statusUpdateDate
|
65
|
+
xsi:type="xsd:dateTime">2014-05-21T09:07:11.136Z</statusUpdateDate><uploadDate
|
66
|
+
xsi:type="xsd:dateTime">2014-05-21T08:41:55.136Z</uploadDate><uploadedBy xsi:type="xsd:string">test1</uploadedBy><versionString
|
67
|
+
xsi:type="xsd:string" xsi:nil="true"/></EccuInfo></ns1:getInfoResponse></soapenv:Body></soapenv:Envelope>
|
68
|
+
http_version:
|
69
|
+
recorded_at: Fri, 23 May 2014 09:08:45 GMT
|
70
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,70 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://USERNAME:PASSWORD@control.akamai.com/webservices/services/PublishECCU
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd"
|
11
|
+
xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:getInfo><fileId
|
12
|
+
xsi:type="xsd:int">1234</fileId><retrieveContents xsi:type="xsd:boolean">false</retrieveContents></akapubeccudt:getInfo></env:Body></env:Envelope>
|
13
|
+
headers:
|
14
|
+
Soapaction:
|
15
|
+
- '"getInfo"'
|
16
|
+
Content-Type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
Content-Length:
|
19
|
+
- '569'
|
20
|
+
Accept-Encoding:
|
21
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
22
|
+
Accept:
|
23
|
+
- "*/*"
|
24
|
+
User-Agent:
|
25
|
+
- Ruby
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 200
|
29
|
+
message: OK
|
30
|
+
headers:
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
Content-Type:
|
34
|
+
- text/xml;charset=utf-8
|
35
|
+
Content-Length:
|
36
|
+
- '1684'
|
37
|
+
Expires:
|
38
|
+
- Fri, 23 May 2014 09:10:03 GMT
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0, no-cache, no-store
|
41
|
+
Pragma:
|
42
|
+
- no-cache
|
43
|
+
Date:
|
44
|
+
- Fri, 23 May 2014 09:10:03 GMT
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
52
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:getInfoResponse
|
53
|
+
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="https://control.akamai.com/2003/Sep/PublishECCU.xsd"><EccuInfo
|
54
|
+
xsi:type="ns2:EccuInfo" xmlns:ns2="https://control.akamai.com/Publish.xsd"><contents
|
55
|
+
xsi:type="xsd:base64Binary" xsi:nil="true"/><extendedStatusMessage xsi:type="xsd:string">File
|
56
|
+
successfully deployed to Akamai network (Succeeded)</extendedStatusMessage><fileId
|
57
|
+
xsi:type="xsd:int">1234</fileId><fileSize xsi:type="xsd:int">127</fileSize><filename
|
58
|
+
xsi:type="xsd:string" xsi:nil="true"/><md5Digest xsi:type="xsd:string">8e456fe0bdeba72532f852e4daec184b</md5Digest><notes
|
59
|
+
xsi:type="xsd:string">ECCU Request using EdgeControl</notes><propertyName
|
60
|
+
xsi:type="xsd:string">foo.bar</propertyName><propertyNameExactMatch
|
61
|
+
xsi:type="xsd:boolean">true</propertyNameExactMatch><propertyType xsi:type="xsd:string">hostheader</propertyType><statusChangeEmail
|
62
|
+
xsi:type="xsd:string">guest@mikamai.com</statusChangeEmail><statusCode
|
63
|
+
xsi:type="xsd:int">4000</statusCode><statusMessage xsi:type="xsd:string">File
|
64
|
+
successfully deployed to Akamai's network</statusMessage><statusUpdateDate
|
65
|
+
xsi:type="xsd:dateTime">2014-05-21T09:07:11.279Z</statusUpdateDate><uploadDate
|
66
|
+
xsi:type="xsd:dateTime">2014-05-21T08:41:55.279Z</uploadDate><uploadedBy xsi:type="xsd:string">test1</uploadedBy><versionString
|
67
|
+
xsi:type="xsd:string" xsi:nil="true"/></EccuInfo></ns1:getInfoResponse></soapenv:Body></soapenv:Envelope>
|
68
|
+
http_version:
|
69
|
+
recorded_at: Fri, 23 May 2014 09:10:03 GMT
|
70
|
+
recorded_with: VCR 2.9.0
|
@@ -13,14 +13,14 @@ http_interactions:
|
|
13
13
|
dmFsaWRhdGU+CiAgICAgIDwvbWF0Y2g6cmVjdXJzaXZlLWRpcnM+CiAgICA8
|
14
14
|
L21hdGNoOnJlY3Vyc2l2ZS1kaXJzPgogIDwvbWF0Y2g6cmVjdXJzaXZlLWRp
|
15
15
|
cnM+CjwvZWNjdT4=
|
16
|
-
</contents><notes xsi:type="xsd:string">ECCU Request using AkamaiApi
|
16
|
+
</contents><notes xsi:type="xsd:string">ECCU Request using AkamaiApi VERSION</notes><versionString xsi:type="xsd:string"></versionString><propertyName xsi:type="xsd:string">foo.com</propertyName><propertyType xsi:type="xsd:string">hostheader</propertyType><propertyNameExactMatch xsi:type="xsd:boolean">true</propertyNameExactMatch></akapubeccudt:upload></env:Body></env:Envelope>
|
17
17
|
headers:
|
18
18
|
Soapaction:
|
19
19
|
- '"upload"'
|
20
20
|
Content-Type:
|
21
21
|
- text/xml;charset=UTF-8
|
22
22
|
Content-Length:
|
23
|
-
- '
|
23
|
+
- '1205'
|
24
24
|
Accept-Encoding:
|
25
25
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
26
26
|
Accept:
|
@@ -42,13 +42,13 @@ http_interactions:
|
|
42
42
|
Content-Type:
|
43
43
|
- text/html; charset=iso-8859-1
|
44
44
|
Expires:
|
45
|
-
-
|
45
|
+
- Mon, 26 May 2014 08:05:03 GMT
|
46
46
|
Cache-Control:
|
47
47
|
- max-age=0, no-cache, no-store
|
48
48
|
Pragma:
|
49
49
|
- no-cache
|
50
50
|
Date:
|
51
|
-
-
|
51
|
+
- Mon, 26 May 2014 08:05:03 GMT
|
52
52
|
Connection:
|
53
53
|
- close
|
54
54
|
X-Frame-Options:
|
@@ -69,5 +69,5 @@ http_interactions:
|
|
69
69
|
the credentials required.</p>
|
70
70
|
</body></html>
|
71
71
|
http_version:
|
72
|
-
recorded_at:
|
72
|
+
recorded_at: Mon, 26 May 2014 08:05:03 GMT
|
73
73
|
recorded_with: VCR 2.9.0
|
@@ -13,14 +13,14 @@ http_interactions:
|
|
13
13
|
dmFsaWRhdGU+CiAgICAgIDwvbWF0Y2g6cmVjdXJzaXZlLWRpcnM+CiAgICA8
|
14
14
|
L21hdGNoOnJlY3Vyc2l2ZS1kaXJzPgogIDwvbWF0Y2g6cmVjdXJzaXZlLWRp
|
15
15
|
cnM+CjwvZWNjdT4=
|
16
|
-
</contents><notes xsi:type="xsd:string">ECCU Request using AkamaiApi
|
16
|
+
</contents><notes xsi:type="xsd:string">ECCU Request using AkamaiApi VERSION</notes><versionString xsi:type="xsd:string"></versionString><propertyName xsi:type="xsd:string">foobarbaz.com</propertyName><propertyType xsi:type="xsd:string">hostheader</propertyType><propertyNameExactMatch xsi:type="xsd:boolean">true</propertyNameExactMatch></akapubeccudt:upload></env:Body></env:Envelope>
|
17
17
|
headers:
|
18
18
|
Soapaction:
|
19
19
|
- '"upload"'
|
20
20
|
Content-Type:
|
21
21
|
- text/xml;charset=UTF-8
|
22
22
|
Content-Length:
|
23
|
-
- '
|
23
|
+
- '1198'
|
24
24
|
Accept-Encoding:
|
25
25
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
26
26
|
Accept:
|
@@ -37,13 +37,13 @@ http_interactions:
|
|
37
37
|
Content-Type:
|
38
38
|
- text/xml;charset=utf-8
|
39
39
|
Expires:
|
40
|
-
-
|
40
|
+
- Mon, 26 May 2014 08:05:51 GMT
|
41
41
|
Cache-Control:
|
42
42
|
- max-age=0, no-cache, no-store
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
Date:
|
46
|
-
-
|
46
|
+
- Mon, 26 May 2014 08:05:51 GMT
|
47
47
|
Connection:
|
48
48
|
- close
|
49
49
|
X-Frame-Options:
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode><faultstring>ECCU
|
55
55
|
validation failed: You are not authorized to specify this digital property</faultstring><detail><ns1:exceptionName
|
56
56
|
xmlns:ns1="http://xml.apache.org/axis/">com.akamai.aws.util.AWSFault</ns1:exceptionName><ns2:hostname
|
57
|
-
xmlns:ns2="http://xml.apache.org/axis/">
|
58
|
-
http_version:
|
59
|
-
recorded_at:
|
57
|
+
xmlns:ns2="http://xml.apache.org/axis/">p1-tomapp08.extranet.akamai.com</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>'
|
58
|
+
http_version:
|
59
|
+
recorded_at: Mon, 26 May 2014 08:05:51 GMT
|
60
60
|
recorded_with: VCR 2.9.0
|
@@ -6,14 +6,14 @@ http_interactions:
|
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: |-
|
9
|
-
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd" xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:upload><filename xsi:type="xsd:string">./publish.xml</filename><contents xsi:type="xsd:base64Binary">PD94bWwgdmVyc2lvbj0iMS4wIj8+
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
</contents><notes xsi:type="xsd:string">ECCU Request using AkamaiApi
|
9
|
+
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:akapubeccudt="https://control.akamai.com/2003/Sep/PublishECCU.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="https://control.akamai.com/AWS.xsd" xmlns:ins1="https://control.akamai.com/Publish.xsd"><env:Body><akapubeccudt:upload><filename xsi:type="xsd:string">./publish.xml</filename><contents xsi:type="xsd:base64Binary">PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxlY2N1PgogIDxtYXRjaDpyZWN1cnNp
|
10
|
+
dmUtZGlycyB2YWx1ZT0iZm9vIiA+CiAgICA8bWF0Y2g6cmVjdXJzaXZlLWRp
|
11
|
+
cnMgdmFsdWU9ImJhciIgPgogICAgICA8bWF0Y2g6cmVjdXJzaXZlLWRpcnMg
|
12
|
+
dmFsdWU9ImJhei5qcGciID4KICAgICAgICA8cmV2YWxpZGF0ZT5ub3c8L3Jl
|
13
|
+
dmFsaWRhdGU+CiAgICAgIDwvbWF0Y2g6cmVjdXJzaXZlLWRpcnM+CiAgICA8
|
14
|
+
L21hdGNoOnJlY3Vyc2l2ZS1kaXJzPgogIDwvbWF0Y2g6cmVjdXJzaXZlLWRp
|
15
|
+
cnM+CjwvZWNjdT4=
|
16
|
+
</contents><notes xsi:type="xsd:string">ECCU Request using AkamaiApi VERSION</notes><versionString xsi:type="xsd:string"></versionString><propertyName xsi:type="xsd:string">foo.com</propertyName><propertyType xsi:type="xsd:string">hostheader</propertyType><propertyNameExactMatch xsi:type="xsd:boolean">true</propertyNameExactMatch></akapubeccudt:upload></env:Body></env:Envelope>
|
17
17
|
headers:
|
18
18
|
Soapaction:
|
19
19
|
- '"upload"'
|