summaryrefslogtreecommitdiffstats
path: root/plugins/sample
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-06 22:30:23 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 12:41:19 +0530
commit20dc78d226aca6cb390586a9e19e522d68d0821b (patch)
treecb302def17571f8f53d08073cbf83a89082fbcdc /plugins/sample
parent51a60f14821cb3ca54848e94694b3dda045fe666 (diff)
Normalize OnapCommandSchema
discovery is optimized to register the plugins and http commands from one function Issue-Id: CLI-66 Change-Id: I3b813862ffd5640c5218c4cced7d10f914dce4ad Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sample')
-rw-r--r--plugins/sample/src/main/java/org/onap/cli/sample/OnapHelloWorldCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sample/src/main/java/org/onap/cli/sample/OnapHelloWorldCommand.java b/plugins/sample/src/main/java/org/onap/cli/sample/OnapHelloWorldCommand.java
index 01d9da19..0f70ba9d 100644
--- a/plugins/sample/src/main/java/org/onap/cli/sample/OnapHelloWorldCommand.java
+++ b/plugins/sample/src/main/java/org/onap/cli/sample/OnapHelloWorldCommand.java
@@ -26,7 +26,7 @@ import org.onap.cli.fw.input.OnapCommandParameter;
/**
* Hello world.
*/
-@OnapCommandSchema(name = "hello-world", version = "sample-1.0", schema = "hello-world.yaml")
+@OnapCommandSchema(schema = "hello-world.yaml")
public class OnapHelloWorldCommand extends OnapCommand {
@Override