Ori Liel has submitted this change and it was merged.
Change subject: restapi: RSDL - add 'deprecated' option
......................................................................
restapi: RSDL - add 'deprecated' option
Mark parameter as deprecated in rsdl_metadata.yaml file this way:
example for signature parameter:
vm.display.type--DEPRECATED: xs:string
example for url-param:
max: {context: matrix, type: 'xs:int', value: 'max results', required:
false, deprecated: true}
example for header param:
Filter: {value: true|false, required: false, deprecated: true}
Change-Id: I5537c9065c13d9a68c88ab40ebf523bfe71e2a7b
Signed-off-by: Ori Liel <oliel(a)redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/rsdl/ParamData.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/rsdl/RsdlBuilder.java
3 files changed, 40 insertions(+), 12 deletions(-)
Approvals:
Ori Liel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/17624
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5537c9065c13d9a68c88ab40ebf523bfe71e2a7b
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server