Corrected parameters for associate health monitor

Both request and response parameters are incorrect
for associate health monitor with pool call.
I created entity for request parameters and reference it.
I also deleted the incorrect response entity reference.

Change-Id: I7005ced9a3fbec80f3e8a787f31e4ee586939ca4
Closes-Bug:1501201
This commit is contained in:
BaoLiang Cui 2015-10-03 03:49:37 -04:00 committed by Diane Fleming
parent dffd0671f3
commit 76179d92ca
2 changed files with 13 additions and 2 deletions

View File

@ -3805,6 +3805,16 @@ router.</para>
<para>The administrative state of the health monitor. A valid value is true (UP) or false (DOWN).</para>
</wadl:doc>
</param>' >
<!--associateHealthMonitortoPool -->
<!ENTITY hmassociatepoolRequestParams '
<param xmlns="http://wadl.dev.java.net/2009/02" required="true"
name="id" style="plain" type="csapi:uuid">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>The UUID for the health monitor.</para>
</wadl:doc>
</param>'>
<!-- members -->
<!ENTITY memberResponseParams '
<param xmlns="http://wadl.dev.java.net/2009/02" required="true"

View File

@ -469,7 +469,7 @@
<para role="shortdesc">Associates a health monitor with a
specified pool.</para>
</wadl:doc>
<request> &hmCreateRequestParams; <representation
<request> &hmassociatepoolRequestParams; <representation
mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
@ -479,7 +479,8 @@
</wadl:doc>
</representation>
</request>
<response status="201"> &hmResponseParams; <representation
<response status="201">
<representation
mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">