[Engine-devel] Deprecating signatures/parameters in restapi (RSDL)

Michael Pasternak mpastern at redhat.com
Mon Aug 12 12:50:27 UTC 2013


Hi All,

We have added the ability to deprecate signatures/parameters in RSDL,
you can mark parameter as deprecated in rsdl_metadata.yaml file this way [1],
please make sure you deprecating signatures/parameters which planned
to be non-maintained/removed.

thanks.

[1]

signature parameter:
===================

vm.display.type--DEPRECATED: xs:string


url parameter:
=============

max: {context: matrix, type: 'xs:int', value: 'max results', required: false, deprecated: true}


header parameter:
=================

Filter: {value: true|false, required: false, deprecated: true}


entire signature:
================

- mandatoryArguments: {}
optionalArguments: {action.vm.os.initRd: 'xs:string', action.vm.domain.name: 'xs:string',
  action.vm.placement_policy.host.id|name: 'xs:string', action.vm.placement_policy.affinity: 'xs:string',
  action.async: 'xs:boolean', action.vm.os.kernel: 'xs:string', action.grace_period.expiry: 'xs:long',
  action.vm.display.type: 'xs:string', action.vm.stateless: 'xs:boolean', action.vm.os.cmdline: 'xs:string',
  action.vm.domain.user.username: 'xs:string', action.pause: 'xs:boolean',
  action.vm.os.boot--COLLECTION: {boot.dev: 'xs:string'}, action.vm.domain.user.password: 'xs:string'}
deprecated: true

-- 



Michael Pasternak
RedHat, ENG-Virtualization R&D



More information about the Devel mailing list