Move sal-remote to sal-rest-connector 76/44576/5
authorAlexis de Talhouët <adetalhouet@inocybe.com>
Tue, 23 Aug 2016 22:29:28 +0000 (18:29 -0400)
committerTom Pantelis <tpanteli@brocade.com>
Mon, 3 Oct 2016 19:40:55 +0000 (19:40 +0000)
This module is only used by sal-rest-connnector bundle,
moreover, it is intended to create notification stream
and/or register a data change event which is done using
RESTCONF, thus it make sense to move it to the appropriate
project.
I beleive this is a leftover of the migration that happened
when controller was splitted out..

This is the associated patch in Netconf project:
https://git.opendaylight.org/gerrit/#/c/44575/

Change-Id: Ied4bb2b4b04d36298ca14f9f7926e4aa52de7be2
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
opendaylight/md-sal/pom.xml
opendaylight/md-sal/sal-remote/pom.xml [deleted file]
opendaylight/md-sal/sal-remote/src/main/yang/opendaylight-md-sal-remote.yang [deleted file]

index 860c45c..d00d389 100644 (file)
@@ -44,9 +44,6 @@
     <!-- Samples -->
     <module>samples</module>
 
-    <!-- Base Models -->
-    <module>sal-remote</module>
-
     <!-- Connectors -->
     <module>sal-connector-api</module>
 
diff --git a/opendaylight/md-sal/sal-remote/pom.xml b/opendaylight/md-sal/sal-remote/pom.xml
deleted file mode 100644 (file)
index 17227b5..0000000
+++ /dev/null
@@ -1,66 +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.opendaylight.controller</groupId>
-    <artifactId>sal-parent</artifactId>
-    <version>1.5.0-SNAPSHOT</version>
-  </parent>
-  <artifactId>sal-remote</artifactId>
-  <packaging>bundle</packaging>
-  <dependencies>
-    <dependency>
-      <groupId>org.opendaylight.controller</groupId>
-      <artifactId>sal-binding-api</artifactId>
-    </dependency>
-  </dependencies>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <extensions>true</extensions>
-      </plugin>
-      <plugin>
-        <groupId>org.opendaylight.yangtools</groupId>
-        <artifactId>yang-maven-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>org.opendaylight.mdsal</groupId>
-            <artifactId>maven-sal-api-gen-plugin</artifactId>
-            <version>${mdsal.model.version}</version>
-            <type>jar</type>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <id>sal-remote</id>
-            <goals>
-              <goal>generate-sources</goal>
-            </goals>
-            <configuration>
-              <yangFilesRootDir>src/main/yang</yangFilesRootDir>
-              <codeGenerators>
-                <generator>
-                  <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
-                  <outputBaseDir>${salGeneratorPath}</outputBaseDir>
-                </generator>
-                <generator>
-                  <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
-                  <outputBaseDir>target/site/models</outputBaseDir>
-                </generator>
-              </codeGenerators>
-              <inspectDependencies>true</inspectDependencies>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-  <scm>
-    <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
-    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
-    <tag>HEAD</tag>
-    <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
-  </scm>
-</project>
diff --git a/opendaylight/md-sal/sal-remote/src/main/yang/opendaylight-md-sal-remote.yang b/opendaylight/md-sal/sal-remote/src/main/yang/opendaylight-md-sal-remote.yang
deleted file mode 100644 (file)
index d12e252..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-module sal-remote {
-
-       yang-version 1;
-    namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote";
-    prefix "sal-remote";
-    
-
-    organization "Cisco Systems, Inc.";
-    contact "Martin Bobak <mbobak@cisco.com>";
-
-    description
-          "This module contains the definition of methods related to
-           sal remote model.
-
-           Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
-
-           This program and the accompanying materials are made available
-           under the terms of the Eclipse Public License v1.0 which
-           accompanies this distribution, and is available at
-           http://www.eclipse.org/legal/epl-v10.html";
-
-    revision "2014-01-14" {
-        description
-            "Initial revision";
-    }
-
-
-     typedef q-name {
-       type string;
-       reference
-         "http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#QName";
-     }
-
-    rpc create-data-change-event-subscription {
-        input {
-            leaf path {
-                type instance-identifier;
-                description "Subtree path. ";
-            }
-         }
-         output {
-            leaf stream-name {
-                type string;
-                description "Notification stream name.";
-            }
-         }
-    }
-
-    notification data-changed-notification {
-        description "Data change notification.";
-        list data-change-event {
-            key path;
-            leaf path {
-                type instance-identifier;
-            }
-            leaf store {
-                type enumeration {
-                    enum config;
-                    enum operation;
-                }
-            }
-            leaf operation {
-                type enumeration {
-                    enum created;
-                    enum updated;
-                    enum deleted;
-                }
-            }
-            anyxml data{
-                description "DataObject ";
-            }
-         }
-    }
-
-    rpc create-notification-stream {
-        input {
-            leaf-list notifications {
-                type q-name;
-                description "Notification QNames";
-            }
-         }
-        output {
-            leaf notification-stream-identifier {
-                type string;
-                description "Unique notification stream identifier, in which notifications will be propagated";
-            }
-        }
-    }
-
-    rpc begin-transaction{
-        output{
-            anyxml data-modification-transaction{
-                description "DataModificationTransaction xml";
-            }
-        }
-    }
-
-}
\ No newline at end of file