Skip to content

Commit

Permalink
Bug #891451:
Browse files Browse the repository at this point in the history
Changes to support update endpointTemplates call in the WADL.

Change-Id: I8ae4aeb11342a9917f06d8a5de997f96151f8572
  • Loading branch information
yoga80 committed Nov 17, 2011
1 parent ebb00b4 commit 77b13dd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions keystone/content/admin/OS-KSCATALOG-admin.wadl
Expand Up @@ -65,6 +65,7 @@
<param name="X-Auth-Token" style="header" type="xsd:string" required="true"/>
<param name="endpointTemplateId" style="template" type="xsd:int"/>
<method href="#getEndpointTemplate"/>
<method href="#updateEndpointTemplate"/>
<method href="#deleteEndpointTemplate"/>
</resource>
</resource>
Expand Down Expand Up @@ -160,6 +161,39 @@
&postPutFaults;
</method>

<method name="PUT" id="updateEndpointTemplate">
<doc xml:lang="EN" title="Update Endpoint Template">
<p xmlns="http://www.w3.org/1999/xhtml">Update Endpoint Template.</p>
</doc>
<request>
<representation mediaType="application/xml" element="OS-KSCATALOG:endpointTemplate">
<doc xml:lang="EN">
<xsdxt:code href="../common/samples/endpointTemplate.xml"/>
</doc>
</representation>
<representation mediaType="application/json">
<doc xml:lang="EN">
<xsdxt:code href="../common/samples/endpointTemplate.json"/>
</doc>
</representation>
</request>
<response status="200">
<representation mediaType="application/xml" element="OS-KSCATALOG:endpointTemplate">
<doc xml:lang="EN">
<xsdxt:code href="../common/samples/endpointTemplate.xml"/>
</doc>
</representation>
<representation mediaType="application/json">
<doc xml:lang="EN">
<xsdxt:code href="../common/samples/endpointTemplate.json"/>
</doc>
</representation>
</response>
&commonFaults;
&getFaults;
&postPutFaults;
</method>

<method name="DELETE" id="deleteEndpointTemplate">
<doc xml:lang="EN" title="Delete Endpoint Template.">
<p xmlns="http://www.w3.org/1999/xhtml">Delete a Endpoint Template.</p>
Expand Down

0 comments on commit 77b13dd

Please sign in to comment.