commit | 7a2dee599cde3ed65ea7b22a99d5e87c4450fcfd | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Fri Sep 28 10:58:28 2018 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Fri Sep 28 11:21:57 2018 -0700 |
tree | 598ed64a30c2b2e969053aca9f91557c0c251d75 | |
parent | 86ad7bb5e77bc2ee14420f433e5a74dd2a2a7f8e [diff] [blame] |
[WIP] Add @Service tags to all commands and completers Change-Id: I8d6ae6185ada30a92481ddb7b603af323656dc3a
diff --git a/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/cli/CounterTestCommand.java b/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/cli/CounterTestCommand.java index f441508..cdf0a97 100644 --- a/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/cli/CounterTestCommand.java +++ b/apps/test/distributed-primitives/src/main/java/org/onosproject/distributedprimitives/cli/CounterTestCommand.java
@@ -17,6 +17,7 @@ import org.apache.karaf.shell.api.action.Argument; import org.apache.karaf.shell.api.action.Command; +import org.apache.karaf.shell.api.action.lifecycle.Service; import org.onosproject.cli.AbstractShellCommand; import org.onosproject.store.service.AtomicCounter; import org.onosproject.store.service.StorageService; @@ -24,6 +25,7 @@ /** * CLI command to increment a distributed counter. */ +@Service @Command(scope = "onos", name = "counter-test", description = "Manipulate a distributed counter") public class CounterTestCommand extends AbstractShellCommand {