From 20dc78d226aca6cb390586a9e19e522d68d0821b Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Fri, 6 Oct 2017 22:30:23 +0530 Subject: 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 --- .../sample/src/main/java/org/onap/cli/sample/OnapHelloWorldCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/sample') 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 -- cgit 1.2.3-korg