diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2020-12-01 11:52:01 -0800 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2020-12-01 11:52:01 -0800 |
commit | ff3eecb980bfdc8d43d2ed3a4c786d634fa6f4e2 (patch) | |
tree | 680db1c4f69f5c181b8f1fb7d7d8f46942783b3e /dataChange/model | |
parent | 02b6c140f031c19cfcb791fd0142f03167db69b1 (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')
-rwxr-xr-x | dataChange/model/pom.xml | 31 | ||||
-rw-r--r-- | dataChange/model/src/main/resources/dataChange.20150519.json | 132 | ||||
-rwxr-xr-x | dataChange/model/src/main/yang/DataChange.yang | 73 |
3 files changed, 0 insertions, 236 deletions
diff --git a/dataChange/model/pom.xml b/dataChange/model/pom.xml deleted file mode 100755 index bce47e949..000000000 --- a/dataChange/model/pom.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.onap.ccsdk.parent</groupId> - <artifactId>binding-parent</artifactId> - <version>2.1.0</version> - <relativePath/> - </parent> - - <groupId>org.onap.ccsdk.sli.northbound</groupId> - <artifactId>dataChange-model</artifactId> - <version>1.1.1-SNAPSHOT</version> - <packaging>bundle</packaging> - - <name>ccsdk-sli-northbound :: dataChange :: ${project.artifactId}</name> - - <properties> - <ccsdk.sli.northbound.version>${project.version}</ccsdk.sli.northbound.version> - </properties> - - <dependencies> - <dependency> - <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId> - <artifactId>rfc6991</artifactId> - </dependency> - - - </dependencies> -</project> 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; - } - } - -} |