From 59fa31193e7e8b7bb807024ee65ac724434006b6 Mon Sep 17 00:00:00 2001 From: Mathieu Lemay Date: Mon, 5 May 2014 19:20:56 -0400 Subject: [PATCH 1/1] Breaking up 6360: dummy console https://git.opendaylight.org/gerrit/#/c/6360/29 Change-Id: I7915821a74d582f9d41bc200c25e3d7b35cf140b Signed-off-by: Ed Warnicke Signed-off-by: Mathieu Lemay --- opendaylight/dummy-console/README | 2 + opendaylight/dummy-console/pom.xml | 37 +++++++++++++++++++ .../framework/console/CommandInterpreter.java | 12 ++++++ .../framework/console/CommandProvider.java | 12 ++++++ pom.xml | 4 +- 5 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 opendaylight/dummy-console/README create mode 100644 opendaylight/dummy-console/pom.xml create mode 100644 opendaylight/dummy-console/src/main/java/org/eclipse/osgi/framework/console/CommandInterpreter.java create mode 100644 opendaylight/dummy-console/src/main/java/org/eclipse/osgi/framework/console/CommandProvider.java diff --git a/opendaylight/dummy-console/README b/opendaylight/dummy-console/README new file mode 100644 index 0000000000..09974d5e54 --- /dev/null +++ b/opendaylight/dummy-console/README @@ -0,0 +1,2 @@ +This bundle is temporary only and should be removed as soon as possible +it is only for compatibility layer in Karaf. diff --git a/opendaylight/dummy-console/pom.xml b/opendaylight/dummy-console/pom.xml new file mode 100644 index 0000000000..68921ab79f --- /dev/null +++ b/opendaylight/dummy-console/pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + + org.opendaylight.controller + commons.opendaylight + 1.4.2-SNAPSHOT + ../commons/opendaylight + + dummy-console + 1.1.0-SNAPSHOT + bundle + Dummy Console Interfaces for Equinox-specific CLI + + + + org.apache.felix + maven-bundle-plugin + ${bundle.plugin.version} + true + + + * + org.eclipse.osgi.framework.console + + + + + + + + scm:git:ssh://git.opendaylight.org:29418/controller.git + scm:git:ssh://git.opendaylight.org:29418/controller.git + HEAD + https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main + + diff --git a/opendaylight/dummy-console/src/main/java/org/eclipse/osgi/framework/console/CommandInterpreter.java b/opendaylight/dummy-console/src/main/java/org/eclipse/osgi/framework/console/CommandInterpreter.java new file mode 100644 index 0000000000..29e9fc931b --- /dev/null +++ b/opendaylight/dummy-console/src/main/java/org/eclipse/osgi/framework/console/CommandInterpreter.java @@ -0,0 +1,12 @@ +/* + * Copyright(c)2014 Inocybe Technologies, Inc. and others. 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 + * + */ +package org.eclipse.osgi.framework.console; + +/** Empty tag interface for Command Interpreter **/ +public interface CommandInterpreter {} diff --git a/opendaylight/dummy-console/src/main/java/org/eclipse/osgi/framework/console/CommandProvider.java b/opendaylight/dummy-console/src/main/java/org/eclipse/osgi/framework/console/CommandProvider.java new file mode 100644 index 0000000000..a781f6f908 --- /dev/null +++ b/opendaylight/dummy-console/src/main/java/org/eclipse/osgi/framework/console/CommandProvider.java @@ -0,0 +1,12 @@ +/* + * Copyright(c)2014 Inocybe Technologies, Inc. and others. 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 + * + */ +package org.eclipse.osgi.framework.console; + +/** Empty tag interface for Command Provider **/ +public interface CommandProvider {} diff --git a/pom.xml b/pom.xml index 64ed6c7d80..3408c0513c 100644 --- a/pom.xml +++ b/pom.xml @@ -124,8 +124,8 @@ opendaylight/commons/logback_settings + feature --> + opendaylight/dummy-console opendaylight/distribution/opendaylight-karaf -- 2.36.6