summaryrefslogtreecommitdiffstats
path: root/dataChange/model/src
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2020-12-01 11:52:01 -0800
committerJessica Wagantall <jwagantall@linuxfoundation.org>2020-12-01 11:52:01 -0800
commitff3eecb980bfdc8d43d2ed3a4c786d634fa6f4e2 (patch)
tree680db1c4f69f5c181b8f1fb7d7d8f46942783b3e /dataChange/model/src
parent02b6c140f031c19cfcb791fd0142f03167db69b1 (diff)
Migrate sli-northbound repo
Migrate sli-northbound repo files into new directory "northbound". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'dataChange/model/src')
-rw-r--r--dataChange/model/src/main/resources/dataChange.20150519.json132
-rwxr-xr-xdataChange/model/src/main/yang/DataChange.yang73
2 files changed, 0 insertions, 205 deletions
diff --git a/dataChange/model/src/main/resources/dataChange.20150519.json b/dataChange/model/src/main/resources/dataChange.20150519.json
deleted file mode 100644
index be17d564b..000000000
--- a/dataChange/model/src/main/resources/dataChange.20150519.json
+++ /dev/null
@@ -1,132 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "1.0.0"
- },
- "basePath": "/restconf",
- "paths": {
- "/operations/DataChange:data-change-notification": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/(data-change-notification)input-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(data-change-notification)output-TOP"
- }
- }
- },
- "operationId": "data-change-notification"
- }
- }
- },
- "definitions": {
- "(config)DataChange_modulePOST": {
- "type": "object"
- },
- "(config)key-dataPOST": {
- "properties": {
- "key-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "key-value": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(data-change-notification)input": {
- "properties": {
- "DataChange:aai-event-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "DataChange:aai-event-trigger": {
- "$ref": "#/definitions/Optional.empty"
- },
- "DataChange:aai-node-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "DataChange:key-data": {
- "items": {
- "$ref": "#/definitions/DataChange(config)key-data"
- },
- "type": "array"
- },
- "DataChange:selflink": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(data-change-notification)input-TOP": {
- "properties": {
- "DataChange:input": {
- "items": {
- "$ref": "#/definitions/(data-change-notification)input"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(data-change-notification)output": {
- "properties": {
- "DataChange:data-change-response-code": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(data-change-notification)output-TOP": {
- "properties": {
- "DataChange:output": {
- "items": {
- "$ref": "#/definitions/(data-change-notification)output"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "DataChange(config)key-data": {
- "properties": {
- "DataChange:key-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "DataChange:key-value": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "DataChange(config)key-data-TOP": {
- "properties": {
- "DataChange:key-data": {
- "items": {
- "$ref": "#/definitions/DataChange(config)key-data"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "unique_empty_identifier": {}
- }
-}
diff --git a/dataChange/model/src/main/yang/DataChange.yang b/dataChange/model/src/main/yang/DataChange.yang
deleted file mode 100755
index 8f9a8e6f7..000000000
--- a/dataChange/model/src/main/yang/DataChange.yang
+++ /dev/null
@@ -1,73 +0,0 @@
-module DataChange {
-
- yang-version 1;
-
- namespace "org:onap:ccsdk:sli:northbound: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;
- }
- }
-
-}