libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1180491 - in /libcloud/trunk/test/dns/fixtures/zerigo: ./ create_record.xml create_zone.xml create_zone_validation_error.xml get_record.xml get_zone.xml list_records.xml list_records_no_results.xml list_zones.xml list_zones_no_results.xml
Date Sat, 08 Oct 2011 21:19:38 GMT
Author: tomaz
Date: Sat Oct  8 21:19:37 2011
New Revision: 1180491

URL: http://svn.apache.org/viewvc?rev=1180491&view=rev
Log:
Add zerigo test fixtures.

Added:
    libcloud/trunk/test/dns/fixtures/zerigo/
    libcloud/trunk/test/dns/fixtures/zerigo/create_record.xml
    libcloud/trunk/test/dns/fixtures/zerigo/create_zone.xml
    libcloud/trunk/test/dns/fixtures/zerigo/create_zone_validation_error.xml
    libcloud/trunk/test/dns/fixtures/zerigo/get_record.xml
    libcloud/trunk/test/dns/fixtures/zerigo/get_zone.xml
    libcloud/trunk/test/dns/fixtures/zerigo/list_records.xml
    libcloud/trunk/test/dns/fixtures/zerigo/list_records_no_results.xml
    libcloud/trunk/test/dns/fixtures/zerigo/list_zones.xml
    libcloud/trunk/test/dns/fixtures/zerigo/list_zones_no_results.xml

Added: libcloud/trunk/test/dns/fixtures/zerigo/create_record.xml
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/dns/fixtures/zerigo/create_record.xml?rev=1180491&view=auto
==============================================================================
--- libcloud/trunk/test/dns/fixtures/zerigo/create_record.xml (added)
+++ libcloud/trunk/test/dns/fixtures/zerigo/create_record.xml Sat Oct  8 21:19:37 2011
@@ -0,0 +1,13 @@
+<host>
+  <created-at type="datetime">2008-12-07T02:51:13Z</created-at>
+  <data>127.0.0.1</data>
+  <fqdn>www.example.com</fqdn>
+  <host-type>A</host-type>
+  <hostname>www</hostname>
+  <id type="integer">23456780</id>
+  <notes nil="true"/>
+  <priority type="integer" nil="true"/>
+  <ttl type="integer" nil="true"/>
+  <updated-at type="datetime">2008-12-07T02:51:13Z</updated-at>
+  <zone-id type="integer">12345678</zone-id>
+</host>

Added: libcloud/trunk/test/dns/fixtures/zerigo/create_zone.xml
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/dns/fixtures/zerigo/create_zone.xml?rev=1180491&view=auto
==============================================================================
--- libcloud/trunk/test/dns/fixtures/zerigo/create_zone.xml (added)
+++ libcloud/trunk/test/dns/fixtures/zerigo/create_zone.xml Sat Oct  8 21:19:37 2011
@@ -0,0 +1,18 @@
+<zone>
+  <created-at type="datetime">2008-12-07T02:40:02Z</created-at>
+  <custom-nameservers>ns1.example.com,ns2.example.com</custom-nameservers>
+  <custom-ns type="boolean">true</custom-ns> 
+  <default-ttl type="integer">600</default-ttl>
+  <domain>foo.bar.com</domain>
+  <hostmaster>dnsadmin@example.com</hostmaster> 
+  <id type="integer">12345679</id>
+  <notes nil="true"/>
+  <ns1 nil="true"/>
+  <ns-type>pri_sec</ns-type>
+  <nx-ttl nil="true"></nx-ttl>
+  <slave-nameservers nil="true"/>
+  <tag-list nil="true"/>
+  <updated-at type="datetime">2008-12-07T02:40:02Z</updated-at>
+  <hosts-count>0</hosts-count>
+  <hosts type="array"/>
+</zone>

Added: libcloud/trunk/test/dns/fixtures/zerigo/create_zone_validation_error.xml
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/dns/fixtures/zerigo/create_zone_validation_error.xml?rev=1180491&view=auto
==============================================================================
--- libcloud/trunk/test/dns/fixtures/zerigo/create_zone_validation_error.xml (added)
+++ libcloud/trunk/test/dns/fixtures/zerigo/create_zone_validation_error.xml Sat Oct  8 21:19:37
2011
@@ -0,0 +1,4 @@
+<errors>
+  <error>Ns type is not included in the list</error>
+  <error>Default ttl must be greater than or equal to 60</error>
+</errors>

Added: libcloud/trunk/test/dns/fixtures/zerigo/get_record.xml
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/dns/fixtures/zerigo/get_record.xml?rev=1180491&view=auto
==============================================================================
--- libcloud/trunk/test/dns/fixtures/zerigo/get_record.xml (added)
+++ libcloud/trunk/test/dns/fixtures/zerigo/get_record.xml Sat Oct  8 21:19:37 2011
@@ -0,0 +1,13 @@
+<host>
+  <created-at type="datetime">2008-12-07T02:51:13Z</created-at>
+  <data>172.16.16.1</data>
+  <fqdn>example.com</fqdn>
+  <host-type>A</host-type>
+  <hostname>www</hostname>
+  <id type="integer">23456789</id>
+  <notes nil="true"/>
+  <priority type="integer" nil="true"/>
+  <ttl type="integer" nil="true"/>
+  <updated-at type="datetime">2008-12-07T02:51:13Z</updated-at>
+  <zone-id type="integer">12345678</zone-id>
+</host>

Added: libcloud/trunk/test/dns/fixtures/zerigo/get_zone.xml
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/dns/fixtures/zerigo/get_zone.xml?rev=1180491&view=auto
==============================================================================
--- libcloud/trunk/test/dns/fixtures/zerigo/get_zone.xml (added)
+++ libcloud/trunk/test/dns/fixtures/zerigo/get_zone.xml Sat Oct  8 21:19:37 2011
@@ -0,0 +1,32 @@
+<zone>
+  <created-at type="datetime">2008-12-07T02:40:02Z</created-at>
+  <custom-nameservers>ns1.example.com,ns2.example.com</custom-nameservers>
+  <custom-ns type="boolean">true</custom-ns> 
+  <default-ttl type="integer">600</default-ttl>
+  <domain>example.com</domain>
+  <hostmaster>dnsadmin@example.com</hostmaster> 
+  <id type="integer">12345678</id>
+  <notes nil="true"/>
+  <ns1 nil="true"/>
+  <ns-type>pri_sec</ns-type>
+  <nx-ttl nil="true"></nx-ttl>
+  <slave-nameservers nil="true"/>
+  <tag-list>one two</tag-list>
+  <updated-at type="datetime">2008-12-07T02:40:02Z</updated-at>
+  <hosts-count>1</hosts-count>
+  <hosts type="array">
+    <host>
+      <created-at type="datetime">2008-12-07T02:51:13Z</created-at>
+      <data>172.16.16.1</data>
+      <fqdn>example.com</fqdn>
+      <host-type>A</host-type>
+      <hostname nil="true"/>
+      <id type="integer">23456789</id>
+      <notes nil="true"/>
+      <priority type="integer" nil="true"/>
+      <ttl type="integer" nil="true"/>
+      <updated-at type="datetime">2008-12-07T02:51:13Z</updated-at>
+      <zone-id type="integer">12345678</zone-id>
+    </host>
+  </hosts>
+</zone>

Added: libcloud/trunk/test/dns/fixtures/zerigo/list_records.xml
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/dns/fixtures/zerigo/list_records.xml?rev=1180491&view=auto
==============================================================================
--- libcloud/trunk/test/dns/fixtures/zerigo/list_records.xml (added)
+++ libcloud/trunk/test/dns/fixtures/zerigo/list_records.xml Sat Oct  8 21:19:37 2011
@@ -0,0 +1,15 @@
+<hosts type="array">
+  <host>
+    <created-at type="datetime">2008-12-07T02:51:13Z</created-at>
+    <data>172.16.16.1</data>
+    <fqdn>www.example.com</fqdn>
+    <host-type>A</host-type>
+    <hostname>www</hostname>
+    <id type="integer">23456789</id>
+    <notes nil="true"/>
+    <priority type="integer" nil="true"/>
+    <ttl type="integer" nil="true"/>
+    <updated-at type="datetime">2008-12-07T02:51:13Z</updated-at>
+    <zone-id type="integer">12345678</zone-id>
+  </host>
+</hosts>

Added: libcloud/trunk/test/dns/fixtures/zerigo/list_records_no_results.xml
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/dns/fixtures/zerigo/list_records_no_results.xml?rev=1180491&view=auto
==============================================================================
--- libcloud/trunk/test/dns/fixtures/zerigo/list_records_no_results.xml (added)
+++ libcloud/trunk/test/dns/fixtures/zerigo/list_records_no_results.xml Sat Oct  8 21:19:37
2011
@@ -0,0 +1 @@
+<hosts type="array" />

Added: libcloud/trunk/test/dns/fixtures/zerigo/list_zones.xml
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/dns/fixtures/zerigo/list_zones.xml?rev=1180491&view=auto
==============================================================================
--- libcloud/trunk/test/dns/fixtures/zerigo/list_zones.xml (added)
+++ libcloud/trunk/test/dns/fixtures/zerigo/list_zones.xml Sat Oct  8 21:19:37 2011
@@ -0,0 +1,17 @@
+<zones type="array">
+  <zone>
+    <created-at type="datetime">2008-12-07T02:40:02Z</created-at>
+    <custom-nameservers nil="true"/>
+    <custom-ns type="boolean">false</custom-ns>
+    <default-ttl type="integer">600</default-ttl>
+    <domain>example.com</domain>
+    <hostmaster nil="true"/>
+    <id type="integer">12345678</id>
+    <notes>test foo bar</notes>
+    <ns1 nil="true"/>
+    <ns-type>pri_sec</ns-type>
+    <nx-ttl nil="true"/>
+    <slave-nameservers nil="true"/>
+    <updated-at type="datetime">2008-12-07T02:40:02Z</updated-at>
+  </zone>
+</zones>

Added: libcloud/trunk/test/dns/fixtures/zerigo/list_zones_no_results.xml
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/dns/fixtures/zerigo/list_zones_no_results.xml?rev=1180491&view=auto
==============================================================================
--- libcloud/trunk/test/dns/fixtures/zerigo/list_zones_no_results.xml (added)
+++ libcloud/trunk/test/dns/fixtures/zerigo/list_zones_no_results.xml Sat Oct  8 21:19:37
2011
@@ -0,0 +1 @@
+<zones type="array" />



Mime
View raw message