Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<name>Rackspace Compute Extensions</name>
<version>1.0.0-SNAPSHOT</version>
<properties>
<doctools.version>1.0.8</doctools.version>
<doctools.version>1.0.12-SNAPSHOT</doctools.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -173,9 +173,6 @@
<fileset dir="target/docbkx/pdf/rax-rgn">
<include name="**/*.pdf"/>
</fileset>
<fileset dir="src/docbkx/rax-rgn/samples/">
<include name="ext_query.xml"/>
</fileset>
</copy>
</postProcess>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion src/docbkx/rax-bak/rax-bak.wadl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<!--*******************************************************-->
<!DOCTYPE application [
<!ENTITY % common
SYSTEM "https://raw.github.com/openstack/compute-api/master/openstack-compute-api-1.1/src/common.ent">
SYSTEM "https://raw.github.com/openstack/compute-api/master/openstack-compute-api-2/src/common.ent">

%common;
]>
Expand Down
139 changes: 25 additions & 114 deletions src/docbkx/rax-rgn/rax-rgn.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:m="http://www.w3.org/1998/Math/MathML"
xmlns:html="http://www.w3.org/1999/xhtml"
xml:id="rax-rgn"
version="5.0">
<title>OpenStack Compute Region Extension</title>
<titleabbrev>&ALIAS;</titleabbrev>
Expand All @@ -53,6 +54,28 @@
<remark>Copyright details are filled in by the template.</remark>
</annotation>
</legalnotice>
<othercredit>
<personname>
<firstname>Gabe</firstname>
<surname>Westmaas</surname>
</personname>
<email>gabe.westmaas@rackspace.com</email>
</othercredit>
<extensions xmlns="http://docs.openstack.org/common/api/v1.0"
xmlns:atom="http://www.w3.org/2005/Atom">
<extension name="Region Extension"
namespace="http://docs.rackspacecloud.com/servers/api/ext/region/v1.0"
alias="RAX-RGN" updated="2011-10-20T00:00:00">
<description>
Adds an attribute to the server that is used to
provide a hint as to the geographical region of server.
</description>
<atom:link rel="describedby" type="application/pdf"
href="http://docs.rackspacecloud.com/servers/api/ext/rax-rgn.pdf"/>
<atom:link rel="describedby" type="application/xml"
href="http://docs.rackspacecloud.com/servers/api/ext/rax-rgn/api.xsd"/>
</extension>
</extensions>
<abstract>
<para>
This document is intended for software developers interested
Expand All @@ -75,118 +98,6 @@
</revision>
</revhistory>
</info>
<chapter>
<title>About This Extension</title>
<variablelist spacing="compact">
<varlistentry>
<term>Name</term>
<listitem>
<para>Region Extension</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Namespace</term>
<listitem>
<para>&NAMESPACE;</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Alias</term>
<listitem>
<para>&ALIAS;</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Contact</term>
<listitem>
<para>
<personname>
<firstname>Gabe</firstname>
<surname>Westmaas</surname>
</personname>
<email>gabe.westmaas@rackspace.com</email>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Status</term>
<listitem>
<para>ALPHA</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Last Update</term>
<listitem>
<para>&PUB_DATE;</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Dependencies</term>
<listitem>
<para>OpenStack Compute API v1.1 (2011-09-08)</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Doc Link (PDF)</term>
<listitem>
<para>
<link xlink:href="http://docs.rackspacecloud.com/servers/api/ext/rax-rgn.pdf">
http://docs.rackspacecloud.com/servers/api/ext/rax-rgn.pdf
</link>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Doc Link (WADL)</term>
<listitem>
<para>
None, the extension makes no modification to the API WADL.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Doc Link (XSD)</term>
<listitem>
<para>
<link xlink:href="http://docs.rackspacecloud.com/servers/api/ext/rax-rgn/api.xsd">
http://docs.rackspacecloud.com/servers/api/ext/rax-rgn/api.xsd
</link>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Short Description</term>
<listitem>
<para>
Adds an attribute to the server that is used to
provide a hint as to the geographical region of server.
</para>
</listitem>
</varlistentry>
</variablelist>
<?hard-pagebreak?>
<example>
<title>Extension Query Response: XML</title>
<programlisting language="xml">
<?db-font-size 95% ?><xi:include href="samples/ext_query.xml" parse="text"/>
</programlisting>
</example>
<?hard-pagebreak?>
<example>
<title>Extension Query Response: JSON</title>
<programlisting language="javascript">
<?db-font-size 95% ?><xi:include href="samples/ext_query.json" parse="text"/>
</programlisting>
</example>
<section>
<title>Document Change History</title>
<para>
The most recent changes to this document are desrcibed
below.
</para>
<?rax revhistory?>
</section>
</chapter>
<chapter>
<title>Summary of Changes</title>
<para>
Expand Down Expand Up @@ -234,12 +145,12 @@
<?hard-pagebreak?>
<example xml:id="xmlserver">
<title>Server Detail Response: XML</title>
<programlisting language="xml"><?db-font-size 95% ?><xi:include href="samples/rgn-server.xml" parse="text"/></programlisting>
<literallayout language="xml"><?db-font-size 95% ?><xi:include href="samples/rgn-server.xml" parse="text"/></literallayout>
</example>
<?hard-pagebreak?>
<example xml:id="jsonserver">
<title>Server Detail Response: JSON</title>
<programlisting language="javascript"><?db-font-size 90%?><xi:include href="samples/rgn-server.json" parse="text"/></programlisting>
<literallayout language="javascript"><?db-font-size 90%?><xi:include href="samples/rgn-server.json" parse="text"/></literallayout>
</example>
</section>
</section>
Expand Down
23 changes: 0 additions & 23 deletions src/docbkx/rax-rgn/samples/ext_query.json

This file was deleted.

17 changes: 0 additions & 17 deletions src/docbkx/rax-rgn/samples/ext_query.xml

This file was deleted.