diff options
author | Alex Shatov <alexs@att.com> | 2018-01-16 11:14:52 -0500 |
---|---|---|
committer | Alex Shatov <alexs@att.com> | 2018-01-16 11:14:52 -0500 |
commit | 70253f7088be04125d9fac8f9bddfaa63778608e (patch) | |
tree | cceafe3f35f7afcbf9e8e92455ae5bae7f0ab021 /deployment-handler-API.yaml | |
parent | 0a8d5898184108080f572347be90299a3c0d7b44 (diff) |
variable collection of policies per component
* new feature variable collection of policies per component in DCAE
Change-Id: Iafe366edd749220b347d1ba6f530d54c95e2f1a7
Issue-ID: DCAEGEN2-249
Signed-off-by: Alex Shatov <alexs@att.com>
Diffstat (limited to 'deployment-handler-API.yaml')
-rw-r--r-- | deployment-handler-API.yaml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/deployment-handler-API.yaml b/deployment-handler-API.yaml index 31395a5..eb1aed6 100644 --- a/deployment-handler-API.yaml +++ b/deployment-handler-API.yaml @@ -3,7 +3,7 @@ swagger: '2.0' info: - version: "4.1.0" + version: "4.2.0" title: "deployment-handler API" license: name: "Apache 2.0" @@ -469,11 +469,26 @@ definitions: description: request to update policies on DCAE components. type: object required: + - catch_up - latest_policies + - removed_policies properties: + catch_up: + description: "flag to indicate whether the request contains all the policies in PDP or not" + type: boolean + default: false + latest_policies: - description: "dictionary of (policy_id -> Policy object). In example: replace additionalProp1,2,3 with policy_id1,2,3 values" + description: "dictionary of (policy_id -> DCAEPolicy object). In example: replace additionalProp1,2,3 with policy_id1,2,3 values" + type: object + default: {} + additionalProperties: + $ref: "#/definitions/DCAEPolicy" + + removed_policies: + description: "dictionary of (policy_id -> DCAEPolicy object). In example: replace additionalProp1,2,3 with policy_id1,2,3 values" type: object + default: {} additionalProperties: $ref: "#/definitions/DCAEPolicy" |