Fix incorrect responses codes in Identity API v3

For these six HEAD calls, the correct normal response code is
204 No Content.

Change-Id: I2b23eed10088831df6168bdbf09c4ad39b7adb4f
Closes-Bug: #1486739
This commit is contained in:
Timothy Symanczyk 2015-08-14 23:27:29 -07:00
parent c05e02c846
commit 4be3df1c12

View File

@ -765,7 +765,7 @@
</representation> </representation>
</request> </request>
<!--There is no response. As noted above, an HTTP 204 indicates success--> <!--There is no response. As noted above, an HTTP 204 indicates success-->
<response status="200"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeTokens"> <method name="DELETE" id="revokeTokens">
<wadl:doc xmlns="http://docbook.org/ns/docbook" <wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02" xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1246,7 +1246,7 @@
a domain.</para> a domain.</para>
</wadl:doc> </wadl:doc>
<!--No request body is provided--> <!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeDomainUserRole"> <method name="DELETE" id="revokeDomainUserRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook" <wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02" xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1293,7 +1293,7 @@
on a domain.</para> on a domain.</para>
</wadl:doc> </wadl:doc>
<!--No request body is provided--> <!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeDomainGroupRole"> <method name="DELETE" id="revokeDomainGroupRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook" <wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02" xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1456,7 +1456,7 @@
specified role on a project.</para> specified role on a project.</para>
</wadl:doc> </wadl:doc>
<!--No request body is provided--> <!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeProjectUserRole"> <method name="DELETE" id="revokeProjectUserRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook" <wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02" xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1503,7 +1503,7 @@
a role.</para> a role.</para>
</wadl:doc> </wadl:doc>
<!--No request body is provided--> <!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeProjectGroupRole"> <method name="DELETE" id="revokeProjectGroupRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook" <wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02" xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1815,7 +1815,7 @@
group.</para> group.</para>
</wadl:doc> </wadl:doc>
<!--No request body is provided--> <!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>
<method name="GET" id="listGroupUsers"> <method name="GET" id="listGroupUsers">
<wadl:doc xmlns="http://docbook.org/ns/docbook" <wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02" xmlns:wadl="http://wadl.dev.java.net/2009/02"