From 514673db7a2ac66ef3f0f61b9a78eb989a9ba7a3 Mon Sep 17 00:00:00 2001 From: Luis Gomez Date: Sun, 1 Apr 2018 20:08:03 -0700 Subject: [PATCH] Remove version feature Change-Id: Ifa9bcfa60d516ee75d279dc309ba8bc89fe35189 Signed-off-by: Luis Gomez --- artifacts/distribution/pom.xml | 27 ------ features/repos/distribution/pom.xml | 61 -------------- features/repos/index/pom.xml | 15 ---- features/repos/pom.xml | 1 - .../singles/odl-distribution-version/pom.xml | 83 ------------------- .../src/main/feature/feature.xml | 16 ---- .../pom.xml | 15 ---- features/singles/pom.xml | 1 - pom.xml | 1 - version/pom.xml | 46 ---------- version/src/main/config/default-config.xml | 30 ------- .../version/rev160316/OdlVersionModule.java | 28 ------- .../rev160316/OdlVersionModuleFactory.java | 13 --- .../main/yang/odl-distribution-version.yang | 30 ------- 14 files changed, 367 deletions(-) delete mode 100644 features/repos/distribution/pom.xml delete mode 100644 features/singles/odl-distribution-version/pom.xml delete mode 100644 features/singles/odl-distribution-version/src/main/feature/feature.xml delete mode 100644 version/pom.xml delete mode 100644 version/src/main/config/default-config.xml delete mode 100644 version/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/integration/distribution/version/rev160316/OdlVersionModule.java delete mode 100644 version/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/integration/distribution/version/rev160316/OdlVersionModuleFactory.java delete mode 100644 version/src/main/yang/odl-distribution-version.yang diff --git a/artifacts/distribution/pom.xml b/artifacts/distribution/pom.xml index 93d65145..df5d6b53 100644 --- a/artifacts/distribution/pom.xml +++ b/artifacts/distribution/pom.xml @@ -42,27 +42,7 @@ - - - ${project.groupId} - version - ${project.version} - - - ${project.groupId} - version - ${project.version} - xml - config - - - ${project.groupId} - odl-distribution-version - ${project.version} - features - xml - ${project.groupId} odl-integration-compatible-with-all @@ -78,13 +58,6 @@ xml - - ${project.groupId} - features-distribution - ${project.version} - features - xml - ${project.groupId} features-index diff --git a/features/repos/distribution/pom.xml b/features/repos/distribution/pom.xml deleted file mode 100644 index ae7f5e02..00000000 --- a/features/repos/distribution/pom.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - 4.0.0 - - org.opendaylight.odlparent - feature-repo-parent - 3.0.2 - - - org.opendaylight.integration - features-distribution - 0.9.0-SNAPSHOT - feature - - ODL :: integration :: ${project.artifactId} - Repository of features internal to distribution. - https://wiki.opendaylight.org/view/Integration/Distribution - - - Eclipse Public License v1.0 - http://www.eclipse.org/legal/epl-v10.html - - - - - scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git - scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git - https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=features/repos/distribution;hb=HEAD - HEAD - - - - - ${project.groupId} - all-artifacts - ${project.version} - import - pom - - - - - - ${project.groupId} - odl-distribution-version - features - xml - - - diff --git a/features/repos/index/pom.xml b/features/repos/index/pom.xml index 1f1751e2..7bf7db8f 100644 --- a/features/repos/index/pom.xml +++ b/features/repos/index/pom.xml @@ -216,21 +216,6 @@ - - - distribution - - true - - - - ${project.groupId} - features-distribution - features - xml - - - dlux diff --git a/features/repos/pom.xml b/features/repos/pom.xml index 0cae5c39..a22d15ae 100644 --- a/features/repos/pom.xml +++ b/features/repos/pom.xml @@ -41,7 +41,6 @@ - distribution index test diff --git a/features/singles/odl-distribution-version/pom.xml b/features/singles/odl-distribution-version/pom.xml deleted file mode 100644 index 87c8f8c6..00000000 --- a/features/singles/odl-distribution-version/pom.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - - 4.0.0 - - org.opendaylight.odlparent - single-feature-parent - 3.0.2 - - - org.opendaylight.integration - odl-distribution-version - 0.9.0-SNAPSHOT - feature - - ODL :: integration :: ${project.artifactId} - Single feature for Version functionality. - https://wiki.opendaylight.org/view/Integration/Distribution - - - Eclipse Public License v1.0 - http://www.eclipse.org/legal/epl-v10.html - - - - - scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git - scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git - https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=features/singles/odl-distribution-version;hb=HEAD - HEAD - - - - - ${project.groupId} - all-artifacts - ${project.version} - import - pom - - - - - - - ${project.groupId} - version - - - ${project.groupId} - version - xml - config - - - - org.opendaylight.controller - odl-config-persister - - xml - features - - - - org.opendaylight.controller - - odl-mdsal-broker - xml - features - - - diff --git a/features/singles/odl-distribution-version/src/main/feature/feature.xml b/features/singles/odl-distribution-version/src/main/feature/feature.xml deleted file mode 100644 index dffe874c..00000000 --- a/features/singles/odl-distribution-version/src/main/feature/feature.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - mvn:org.opendaylight.integration/version/${project.version}/xml/config - - - diff --git a/features/singles/odl-integration-compatible-with-all/pom.xml b/features/singles/odl-integration-compatible-with-all/pom.xml index 520ea5c5..004cd650 100644 --- a/features/singles/odl-integration-compatible-with-all/pom.xml +++ b/features/singles/odl-integration-compatible-with-all/pom.xml @@ -168,21 +168,6 @@ - - - distribution - - true - - - - ${project.groupId} - odl-distribution-version - xml - features - - - dluxapps diff --git a/features/singles/pom.xml b/features/singles/pom.xml index 9113defe..90e75d4b 100644 --- a/features/singles/pom.xml +++ b/features/singles/pom.xml @@ -41,7 +41,6 @@ - odl-distribution-version odl-integration-compatible-with-all odl-integration-all diff --git a/pom.xml b/pom.xml index 3d7109e7..cbd037ab 100644 --- a/pom.xml +++ b/pom.xml @@ -43,6 +43,5 @@ artifacts karaf features - version diff --git a/version/pom.xml b/version/pom.xml deleted file mode 100644 index 60640b7a..00000000 --- a/version/pom.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - 4.0.0 - - org.opendaylight.controller - config-filtering-parent - 0.9.0-SNAPSHOT - - - org.opendaylight.integration - version - 0.9.0-SNAPSHOT - bundle - - ODL :: integration :: ${project.artifactId} - Sub-project for ODL version(s) reporting mechanism. - https://wiki.opendaylight.org/view/Integration/Distribution - - - Eclipse Public License v1.0 - http://www.eclipse.org/legal/epl-v10.html - - - - - scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git - scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git - https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=version;hb=HEAD - HEAD - - - - 3.0.2 - - diff --git a/version/src/main/config/default-config.xml b/version/src/main/config/default-config.xml deleted file mode 100644 index 12918dcf..00000000 --- a/version/src/main/config/default-config.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - urn:opendaylight:params:xml:ns:yang:integration:distribution:version?module=odl-distribution-version&revision=2016-03-16 - - - - - - prefix:odl-version - odl-distribution-version - ${project.version} - - - prefix:odl-version - odl-odlparent-version - ${feature.odlparent.version} - - - - - diff --git a/version/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/integration/distribution/version/rev160316/OdlVersionModule.java b/version/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/integration/distribution/version/rev160316/OdlVersionModule.java deleted file mode 100644 index 362cb1a5..00000000 --- a/version/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/integration/distribution/version/rev160316/OdlVersionModule.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316; -public class OdlVersionModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316.AbstractOdlVersionModule { - public OdlVersionModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) { - super(identifier, dependencyResolver); - } - - public OdlVersionModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316.OdlVersionModule oldModule, java.lang.AutoCloseable oldInstance) { - super(identifier, dependencyResolver, oldModule, oldInstance); - } - - @Override - public void customValidation() { - // add custom validation form module attributes here. - } - - @Override - public java.lang.AutoCloseable createInstance() { - return new java.io.Closeable() { - // TODO: Perhaps write something to datastore in constructor? - - @Override - public void close() { - } - - }; - } - -} diff --git a/version/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/integration/distribution/version/rev160316/OdlVersionModuleFactory.java b/version/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/integration/distribution/version/rev160316/OdlVersionModuleFactory.java deleted file mode 100644 index a768b79b..00000000 --- a/version/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/integration/distribution/version/rev160316/OdlVersionModuleFactory.java +++ /dev/null @@ -1,13 +0,0 @@ -/* -* Generated file -* -* Generated from: yang module name: odl-distribution-version yang module local name: odl-version -* Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator -* Generated at: Fri Jun 10 11:25:09 IST 2016 -* -* Do not modify this file unless it is present under src/main directory -*/ -package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316; -public class OdlVersionModuleFactory extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.integration.distribution.version.rev160316.AbstractOdlVersionModuleFactory { - -} diff --git a/version/src/main/yang/odl-distribution-version.yang b/version/src/main/yang/odl-distribution-version.yang deleted file mode 100644 index d65604c9..00000000 --- a/version/src/main/yang/odl-distribution-version.yang +++ /dev/null @@ -1,30 +0,0 @@ -module odl-distribution-version { - yang-version 1; - namespace "urn:opendaylight:params:xml:ns:yang:integration:distribution:version"; - prefix "odl-version"; - - import config { prefix config; revision-date 2013-04-05; } - - description - "Piece of ODL configuration holding version strings for ODL components."; - - revision "2016-03-16" { - description - "Initial revision"; - } - - identity odl-version { - base config:module-type; - } - - augment "/config:modules/config:module/config:configuration" { - case odl-version { - when "/config:modules/config:module/config:type = 'odl-version'"; - leaf version { - description "Short string with version of component corresponding to module name."; - type string; - mandatory true; - } - } - } -} -- 2.36.6