diff options
author | Dan Timoney <dtimoney@att.com> | 2017-07-18 20:32:15 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-08-01 15:10:25 -0400 |
commit | ea5bf0a1c8a4e525d2cee03841b8e8f9b3563ed0 (patch) | |
tree | 5b85db0e570d86a2d3a7f5db5880196e45d8fe6f /dataChange/model/src/main | |
parent | b658ce359742d141428a068ba5ebff876ada3d0a (diff) |
[CCSDK-6] Populate seed code
Add seed code for sli/northbound repository
Update groupId to org.onap.ccsdk.sli.northbound
Update to use CCSDK version of sli core
Change-Id: Id3a154a53150a74f4b65060544e76f3e0cad932e
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'dataChange/model/src/main')
-rwxr-xr-x | dataChange/model/src/main/yang/DataChange.yang | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/dataChange/model/src/main/yang/DataChange.yang b/dataChange/model/src/main/yang/DataChange.yang new file mode 100755 index 000000000..3d326f7be --- /dev/null +++ b/dataChange/model/src/main/yang/DataChange.yang @@ -0,0 +1,73 @@ +module DataChange { + + yang-version 1; + + namespace "org:openecomp:sdnc:datachange"; + + prefix datachg; + + organization "AT&T, Inc."; + + contact + "Dan Timoney <dt5972@att.com>"; + + description + "Defines API interface for notification of data changes"; + + revision "2015-05-19" { + description + "Initial draft"; + } + + grouping data-change-request { + + leaf aai-event-id { + type string; + } + + leaf aai-node-type { + type string; + } + + leaf aai-event-trigger { + type enumeration { + enum "Update"; + enum "Delete"; + } + } + + list key-data { + key key-name; + leaf key-name { + type string; + } + leaf key-value { + type string; + } + } + + leaf selflink { + type string; + } + + } + + grouping data-change-response { + + leaf data-change-response-code { + type string; + } + } + + rpc data-change-notification { + + input { + uses data-change-request; + } + + output { + uses data-change-response; + } + } + +} |