Juan Hernandez has submitted this change and it was merged. Change subject: restapi: Implicity add "async" and "grace_period.expiry" to actions ......................................................................
restapi: Implicity add "async" and "grace_period.expiry" to actions Currently the "async" and "grace_period.expiry" body parameters are explicitly documented in the RSDL metadata file. But these parameters are available for all actions, and missing from the documentation of some of them. As a result the Python SDK doesn't document them correctly, and the corresponding options aren't available in the CLI. This patch changes the RESTAPI so that it will implicitly add these two parameters to the RSDL for all actions. Change-Id: I1fec7e64d0d2a33708038debd90bff17cba7b449 Bug-Url: https://bugzilla.redhat.com/1211588 Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com> --- M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/rsdl/RsdlBuilder.java M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml 2 files changed, 189 insertions(+), 117 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved -- To view, visit https://gerrit.ovirt.org/39834 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1fec7e64d0d2a33708038debd90bff17cba7b449 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Ori Liel <ol...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches