This PR adds the support for the iOS Streaming URI feature to the Cloud Files 
API.

Changes:
- added iOS URI field to CDNContainerContainerMetadata
- removed legacy "referrer_acl" and "useragent_acl" fields 
and accessor methods
- updated toString() method
- changed ttl from long to int
- updated parsing of the CDN container name, instead of just using the path:
/v1/MossoCloudFS_187f55c5-8312-48a4-9d85-a18e69bbe9dc/someContainer -> 
someContainer

To run live tests, go to the "jclouds/apis/cloudfiles" directory and 
run the following command:

mvn -Plive clean install 
"-Dtest.cloudfiles.identity=<username>" 
"-Dtest.cloudfiles.credential=<apiKey>" 
"-Dtest.cloudfiles.endpoint=https://identity.api.rackspacecloud.com/"

This will also need to be backported to the 1.7.x branch.
You can merge this Pull Request by running:

  git pull https://github.com/rackspace/jclouds cdn-ios

Or you can view, comment on it, or merge it online at:

  https://github.com/jclouds/jclouds/pull/309

-- Commit Summary --

  * JCLOUDS-489 - Adds support to Cloud Files for the iOS Streaming URI

-- File Changes --

    M 
apis/cloudfiles/src/main/java/org/jclouds/cloudfiles/domain/ContainerCDNMetadata.java
 (74)
    M 
apis/cloudfiles/src/main/java/org/jclouds/cloudfiles/functions/ParseContainerCDNMetadataFromHeaders.java
 (33)
    M 
apis/cloudfiles/src/main/java/org/jclouds/cloudfiles/reference/CloudFilesHeaders.java
 (3)
    M 
apis/cloudfiles/src/test/java/org/jclouds/cloudfiles/CloudFilesClientExpectTest.java
 (23)
    M 
apis/cloudfiles/src/test/java/org/jclouds/cloudfiles/CloudFilesClientLiveTest.java
 (7)
    M 
apis/cloudfiles/src/test/java/org/jclouds/cloudfiles/functions/ParseContainerCDNMetadataListFromJsonResponseTest.java
 (10)
    M apis/cloudfiles/src/test/resources/test_list_cdn.json (11)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/309.patch
https://github.com/jclouds/jclouds/pull/309.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/309

Reply via email to