BUG-5222: remove sal-dom-xsql
[controller.git] / opendaylight / md-sal / sal-karaf-xsql / src / main / java / org / opendaylight / controller / xsql / xsql.java
diff --git a/opendaylight/md-sal/sal-karaf-xsql/src/main/java/org/opendaylight/controller/xsql/xsql.java b/opendaylight/md-sal/sal-karaf-xsql/src/main/java/org/opendaylight/controller/xsql/xsql.java
deleted file mode 100644 (file)
index fc171e5..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Cisco Systems, 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.opendaylight.controller.xsql;
-
-import org.apache.karaf.shell.commands.Argument;
-import org.apache.karaf.shell.commands.Command;
-import org.apache.karaf.shell.commands.Option;
-import org.apache.karaf.shell.console.OsgiCommandSupport;
-import org.opendaylight.controller.md.sal.dom.xsql.XSQLAdapter;
-
-/**
- * To be removed in Nitrogen
- */
-@Deprecated
-@Command(scope = "odl", name = "xsql", description = "XSQL Karaf Command")
-public class xsql extends OsgiCommandSupport {
-
-    @Option(name = "-o", aliases = { "--option" }, description = "An option to the command", required = false, multiValued = false)
-    private String option;
-
-    @Argument(name = "argument", description = "Argument to the command", required = false, multiValued = false)
-    private String argument;
-
-    protected Object doExecute() throws Exception {
-        if(argument==null){
-            System.out.println("Nothing to do..., please specify a command.");
-            return null;
-        }
-        XSQLAdapter.getInstance().processCommand(new StringBuffer(argument),
-                System.out);
-        return null;
-    }
-}