libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [2/3] git commit: Add fixture files which I forgot to add previously.
Date Tue, 15 Oct 2013 07:55:07 GMT
Add fixture files which I forgot to add previously.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/727e5233
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/727e5233
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/727e5233

Branch: refs/heads/trunk
Commit: 727e5233624ffb7a3a4b0ac22aa88fced0e94c54
Parents: 25f9b0b
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Tue Oct 15 09:46:40 2013 +0200
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Tue Oct 15 09:46:40 2013 +0200

----------------------------------------------------------------------
 .../openstack/_v2_0__auth_deployment.json       | 134 ++++++++++++++++
 .../test/dns/fixtures/rackspace/auth_2_0.json   | 159 +++++++++++++++++++
 .../fixtures/rackspace/_v2_0__auth.json         | 154 ++++++++++++++++++
 .../fixtures/cloudfiles/_v2_0__auth.json        | 128 +++++++++++++++
 4 files changed, 575 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/727e5233/libcloud/test/compute/fixtures/openstack/_v2_0__auth_deployment.json
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/fixtures/openstack/_v2_0__auth_deployment.json b/libcloud/test/compute/fixtures/openstack/_v2_0__auth_deployment.json
new file mode 100644
index 0000000..49fb180
--- /dev/null
+++ b/libcloud/test/compute/fixtures/openstack/_v2_0__auth_deployment.json
@@ -0,0 +1,134 @@
+{
+    "access": {
+        "token": {
+            "id": "aaaaaaaaaaaa-bbb-cccccccccccccc",
+            "expires": "2011-11-23T21:00:14.000-06:00"
+        },
+        "serviceCatalog": [
+            {
+                "endpoints": [
+                    {
+                        "region": "ORD",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://cdn2.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "version": {
+                            "versionInfo": "https://cdn2.clouddrive.com/v1/",
+                            "versionList": "https://cdn2.clouddrive.com/",
+                            "versionId": "1"
+                        }
+                    }
+                ],
+                "name": "cloudFilesCDN",
+                "type": "object-store"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "ORD",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "internalURL": "https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111"
+                    },
+                    {
+                        "region": "LON",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://storage101.lon1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "internalURL": "https://snet-storage101.lon1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111"
+                    }
+                ],
+                "name": "cloudFiles",
+                "type": "object-store"
+            },
+            {
+                "endpoints": [
+                    {
+                        "tenantId": "slug",
+                        "publicURL": "https://servers.api.rackspacecloud.com/v1.0/slug",
+                        "version": {
+                            "versionInfo": "https://servers.api.rackspacecloud.com/v1.0/",
+                            "versionList": "https://servers.api.rackspacecloud.com/",
+                            "versionId": "1.0"
+                        }
+                    }
+                ],
+                "name": "cloudServers",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "RegionOne",
+                        "tenantId": "slug",
+                        "publicURL": "https://127.0.0.1/v2/slug",
+                        "versionInfo": "https://127.0.0.1/v2/",
+                        "versionList": "https://127.0.0.1/",
+                        "versionId": "2"
+                    }
+                ],
+                "name": "nova",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "DFW",
+                        "tenantId": "613469",
+                        "publicURL": "https://dfw.servers.api.rackspacecloud.com/v2/slug",
+                        "versionInfo": "https://dfw.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://dfw.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    },
+                    {
+                        "region": "ORD",
+                        "tenantId": "613469",
+                        "publicURL": "https://ord.servers.api.rackspacecloud.com/v2/slug",
+                        "versionInfo": "https://ord.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://ord.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    },
+                    {
+                        "region": "IAD",
+                        "tenantId": "613469",
+                        "publicURL": "https://iad.servers.api.rackspacecloud.com/v2/slug",
+                        "versionInfo": "https://iad.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://iad.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    },
+                    {
+                        "region": "SYD",
+                        "tenantId": "613469",
+                        "publicURL": "https://syd.servers.api.rackspacecloud.com/v2/slug",
+                        "versionInfo": "https://syd.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://syd.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    }
+
+                ],
+                "name": "cloudServersOpenStack",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "DFW",
+                        "tenantId": "slug",
+                        "publicURL": "https://preprod.dfw.servers.api.rackspacecloud.com/v2/slug"
+                    }
+                ],
+                "name": "cloudServersPreprod",
+                "type": "compute"
+            }
+        ],
+        "user": {
+            "id": "7",
+            "roles": [
+                {
+                    "id": "identity:default",
+                    "description": "Default Role.",
+                    "name": "identity:default"
+                }
+            ],
+            "name": "testuser"
+        }
+    }
+}

http://git-wip-us.apache.org/repos/asf/libcloud/blob/727e5233/libcloud/test/dns/fixtures/rackspace/auth_2_0.json
----------------------------------------------------------------------
diff --git a/libcloud/test/dns/fixtures/rackspace/auth_2_0.json b/libcloud/test/dns/fixtures/rackspace/auth_2_0.json
new file mode 100644
index 0000000..c2943f2
--- /dev/null
+++ b/libcloud/test/dns/fixtures/rackspace/auth_2_0.json
@@ -0,0 +1,159 @@
+{
+    "access": {
+        "token": {
+            "id": "aaaaaaaaaaaa-bbb-cccccccccccccc",
+            "expires": "2011-11-23T21:00:14.000-06:00"
+        },
+        "serviceCatalog": [
+            {
+                "endpoints": [
+                    {
+                        "region": "ORD",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://cdn.clouddrive.com/v1/MossoCloudFS",
+                        "version": {
+                            "versionInfo": "https://cdn2.clouddrive.com/v1/",
+                            "versionList": "https://cdn2.clouddrive.com/",
+                            "versionId": "1"
+                        }
+                    },
+                    {
+                        "region": "LON",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://cdn.clouddrive.com/v1/MossoCloudFS",
+                        "version": {
+                            "versionInfo": "https://cdn2.clouddrive.com/v1/",
+                            "versionList": "https://cdn2.clouddrive.com/",
+                            "versionId": "1"
+                        }
+                    }
+
+                ],
+                "name": "cloudFilesCDN",
+                "type": "object-store"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "ORD",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://storage4.ord1.clouddrive.com/v1/MossoCloudFS",
+                        "internalURL": "https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111"
+                    },
+                    {
+                        "region": "LON",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://storage4.lon1.clouddrive.com/v1/MossoCloudFS",
+                        "internalURL": "https://snet-storage101.lon1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111"
+                    }
+                ],
+                "name": "cloudFiles",
+                "type": "object-store"
+            },
+            {
+                "endpoints": [
+                    {
+                        "tenantId": "1337",
+                        "publicURL": "https://servers.api.rackspacecloud.com/v1.0/1337",
+                        "version": {
+                            "versionInfo": "https://servers.api.rackspacecloud.com/v1.0/",
+                            "versionList": "https://servers.api.rackspacecloud.com/",
+                            "versionId": "1.0"
+                        }
+                    }
+                ],
+                "name": "cloudServers",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "RegionOne",
+                        "tenantId": "1337",
+                        "publicURL": "https://127.0.0.1/v2/1337",
+                        "versionInfo": "https://127.0.0.1/v2/",
+                        "versionList": "https://127.0.0.1/",
+                        "versionId": "2"
+                    }
+                ],
+                "name": "nova",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "DFW",
+                        "tenantId": "613469",
+                        "publicURL": "https://dfw.servers.api.rackspacecloud.com/v2/1337",
+                        "versionInfo": "https://dfw.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://dfw.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    },
+                    {
+                        "region": "ORD",
+                        "tenantId": "613469",
+                        "publicURL": "https://ord.servers.api.rackspacecloud.com/v2/1337",
+                        "versionInfo": "https://ord.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://ord.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    }
+                ],
+                "name": "cloudServersOpenStack",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "DFW",
+                        "tenantId": "1337",
+                        "publicURL": "https://preprod.dfw.servers.api.rackspacecloud.com/v2/1337"
+                    }
+                ],
+                "name": "cloudServersPreprod",
+                "type": "compute"
+            },
+            {
+                "name": "cloudDNS",
+                "endpoints": [
+                    {
+                        "tenantId": "11111",
+                        "publicURL": "https://dns.api.rackspacecloud.com/v1.0/11111"
+                    }
+                ],
+                "type": "rax:dns"
+            },
+            {
+                "name": "cloudLoadBalancers",
+                "endpoints": [
+                    {
+                        "region": "SYD",
+                        "tenantId": "11111",
+                        "publicURL": "https://syd.loadbalancers.api.rackspacecloud.com/v1.0/11111"
+                    },
+                    {
+                        "region": "DFW",
+                        "tenantId": "11111",
+                        "publicURL": "https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/11111"
+                    },
+                    {
+                        "region": "ORD",
+                        "tenantId": "11111",
+                        "publicURL": "https://ord.loadbalancers.api.rackspacecloud.com/v1.0/11111"
+                    }
+                ],
+                "type": "rax:load-balancer"
+            }
+        ],
+        "user": {
+            "id": "7",
+            "roles": [
+                {
+                    "id": "identity:default",
+                    "description": "Default Role.",
+                    "name": "identity:default"
+                }
+            ],
+            "name": "testuser"
+        }
+    }
+}

http://git-wip-us.apache.org/repos/asf/libcloud/blob/727e5233/libcloud/test/loadbalancer/fixtures/rackspace/_v2_0__auth.json
----------------------------------------------------------------------
diff --git a/libcloud/test/loadbalancer/fixtures/rackspace/_v2_0__auth.json b/libcloud/test/loadbalancer/fixtures/rackspace/_v2_0__auth.json
new file mode 100644
index 0000000..9fc3835
--- /dev/null
+++ b/libcloud/test/loadbalancer/fixtures/rackspace/_v2_0__auth.json
@@ -0,0 +1,154 @@
+{
+    "access": {
+        "token": {
+            "id": "aaaaaaaaaaaa-bbb-cccccccccccccc",
+            "expires": "2011-11-23T21:00:14.000-06:00"
+        },
+        "serviceCatalog": [
+            {
+                "endpoints": [
+                    {
+                        "region": "ORD",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://cdn.clouddrive.com/v1/MossoCloudFS",
+                        "version": {
+                            "versionInfo": "https://cdn2.clouddrive.com/v1/",
+                            "versionList": "https://cdn2.clouddrive.com/",
+                            "versionId": "1"
+                        }
+                    },
+                    {
+                        "region": "LON",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://cdn.clouddrive.com/v1/MossoCloudFS",
+                        "version": {
+                            "versionInfo": "https://cdn2.clouddrive.com/v1/",
+                            "versionList": "https://cdn2.clouddrive.com/",
+                            "versionId": "1"
+                        }
+                    }
+
+                ],
+                "name": "cloudFilesCDN",
+                "type": "object-store"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "ORD",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://storage4.ord1.clouddrive.com/v1/MossoCloudFS",
+                        "internalURL": "https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111"
+                    },
+                    {
+                        "region": "LON",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://storage4.lon1.clouddrive.com/v1/MossoCloudFS",
+                        "internalURL": "https://snet-storage101.lon1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111"
+                    }
+                ],
+                "name": "cloudFiles",
+                "type": "object-store"
+            },
+            {
+                "endpoints": [
+                    {
+                        "tenantId": "1337",
+                        "publicURL": "https://servers.api.rackspacecloud.com/v1.0/1337",
+                        "version": {
+                            "versionInfo": "https://servers.api.rackspacecloud.com/v1.0/",
+                            "versionList": "https://servers.api.rackspacecloud.com/",
+                            "versionId": "1.0"
+                        }
+                    }
+                ],
+                "name": "cloudServers",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "RegionOne",
+                        "tenantId": "1337",
+                        "publicURL": "https://127.0.0.1/v2/1337",
+                        "versionInfo": "https://127.0.0.1/v2/",
+                        "versionList": "https://127.0.0.1/",
+                        "versionId": "2"
+                    }
+                ],
+                "name": "nova",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "DFW",
+                        "tenantId": "613469",
+                        "publicURL": "https://dfw.servers.api.rackspacecloud.com/v2/1337",
+                        "versionInfo": "https://dfw.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://dfw.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    },
+                    {
+                        "region": "ORD",
+                        "tenantId": "613469",
+                        "publicURL": "https://ord.servers.api.rackspacecloud.com/v2/1337",
+                        "versionInfo": "https://ord.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://ord.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    }
+                ],
+                "name": "cloudServersOpenStack",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "DFW",
+                        "tenantId": "1337",
+                        "publicURL": "https://preprod.dfw.servers.api.rackspacecloud.com/v2/1337"
+                    }
+                ],
+                "name": "cloudServersPreprod",
+                "type": "compute"
+            },
+            {
+                "name": "cloudLoadBalancers",
+                "endpoints": [
+                    {
+                        "region": "SYD",
+                        "tenantId": "11111",
+                        "publicURL": "https://syd.loadbalancers.api.rackspacecloud.com/v1.0/11111"
+                    },
+                    {
+                        "region": "DFW",
+                        "tenantId": "11111",
+                        "publicURL": "https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/11111"
+                    },
+                    {
+                        "region": "ORD",
+                        "tenantId": "11111",
+                        "publicURL": "https://ord.loadbalancers.api.rackspacecloud.com/v1.0/11111"
+                    },
+                    {
+                        "region": "LON",
+                        "tenantId": "11111",
+                        "publicURL": "https://lon.loadbalancers.api.rackspacecloud.com/v1.0/11111"
+                    }
+                ],
+                "type": "rax:load-balancer"
+            }
+        ],
+        "user": {
+            "id": "7",
+            "roles": [
+                {
+                    "id": "identity:default",
+                    "description": "Default Role.",
+                    "name": "identity:default"
+                }
+            ],
+            "name": "testuser"
+        }
+    }
+}

http://git-wip-us.apache.org/repos/asf/libcloud/blob/727e5233/libcloud/test/storage/fixtures/cloudfiles/_v2_0__auth.json
----------------------------------------------------------------------
diff --git a/libcloud/test/storage/fixtures/cloudfiles/_v2_0__auth.json b/libcloud/test/storage/fixtures/cloudfiles/_v2_0__auth.json
new file mode 100644
index 0000000..b9cbb9d
--- /dev/null
+++ b/libcloud/test/storage/fixtures/cloudfiles/_v2_0__auth.json
@@ -0,0 +1,128 @@
+{
+    "access": {
+        "token": {
+            "id": "aaaaaaaaaaaa-bbb-cccccccccccccc",
+            "expires": "2011-11-23T21:00:14.000-06:00"
+        },
+        "serviceCatalog": [
+            {
+                "endpoints": [
+                    {
+                        "region": "ORD",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://cdn.clouddrive.com/v1/MossoCloudFS",
+                        "version": {
+                            "versionInfo": "https://cdn2.clouddrive.com/v1/",
+                            "versionList": "https://cdn2.clouddrive.com/",
+                            "versionId": "1"
+                        }
+                    },
+                    {
+                        "region": "LON",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://cdn.clouddrive.com/v1/MossoCloudFS",
+                        "version": {
+                            "versionInfo": "https://cdn2.clouddrive.com/v1/",
+                            "versionList": "https://cdn2.clouddrive.com/",
+                            "versionId": "1"
+                        }
+                    }
+
+                ],
+                "name": "cloudFilesCDN",
+                "type": "object-store"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "ORD",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://storage4.ord1.clouddrive.com/v1/MossoCloudFS",
+                        "internalURL": "https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111"
+                    },
+                    {
+                        "region": "LON",
+                        "tenantId": "MossoCloudFS_11111-111111111-1111111111-1111111",
+                        "publicURL": "https://storage4.lon1.clouddrive.com/v1/MossoCloudFS",
+                        "internalURL": "https://snet-storage101.lon1.clouddrive.com/v1/MossoCloudFS_11111-111111111-1111111111-1111111"
+                    }
+                ],
+                "name": "cloudFiles",
+                "type": "object-store"
+            },
+            {
+                "endpoints": [
+                    {
+                        "tenantId": "1337",
+                        "publicURL": "https://servers.api.rackspacecloud.com/v1.0/1337",
+                        "version": {
+                            "versionInfo": "https://servers.api.rackspacecloud.com/v1.0/",
+                            "versionList": "https://servers.api.rackspacecloud.com/",
+                            "versionId": "1.0"
+                        }
+                    }
+                ],
+                "name": "cloudServers",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "RegionOne",
+                        "tenantId": "1337",
+                        "publicURL": "https://127.0.0.1/v2/1337",
+                        "versionInfo": "https://127.0.0.1/v2/",
+                        "versionList": "https://127.0.0.1/",
+                        "versionId": "2"
+                    }
+                ],
+                "name": "nova",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "DFW",
+                        "tenantId": "613469",
+                        "publicURL": "https://dfw.servers.api.rackspacecloud.com/v2/1337",
+                        "versionInfo": "https://dfw.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://dfw.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    },
+                    {
+                        "region": "ORD",
+                        "tenantId": "613469",
+                        "publicURL": "https://ord.servers.api.rackspacecloud.com/v2/1337",
+                        "versionInfo": "https://ord.servers.api.rackspacecloud.com/v2/",
+                        "versionList": "https://ord.servers.api.rackspacecloud.com/",
+                        "versionId": "2"
+                    }
+                ],
+                "name": "cloudServersOpenStack",
+                "type": "compute"
+            },
+            {
+                "endpoints": [
+                    {
+                        "region": "DFW",
+                        "tenantId": "1337",
+                        "publicURL": "https://preprod.dfw.servers.api.rackspacecloud.com/v2/1337"
+                    }
+                ],
+                "name": "cloudServersPreprod",
+                "type": "compute"
+            }
+        ],
+        "user": {
+            "id": "7",
+            "roles": [
+                {
+                    "id": "identity:default",
+                    "description": "Default Role.",
+                    "name": "identity:default"
+                }
+            ],
+            "name": "testuser"
+        }
+    }
+}


Mime
View raw message