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] |
[WIP] Add @Service tags to all commands and completers Change-Id: I8d6ae6185ada30a92481ddb7b603af323656dc3a
diff --git a/providers/ospf/cli/src/main/java/org/onosproject/ospf/cli/ApplicationOspfCommand.java b/providers/ospf/cli/src/main/java/org/onosproject/ospf/cli/ApplicationOspfCommand.java index a625d55..15cfa9b 100644 --- a/providers/ospf/cli/src/main/java/org/onosproject/ospf/cli/ApplicationOspfCommand.java +++ b/providers/ospf/cli/src/main/java/org/onosproject/ospf/cli/ApplicationOspfCommand.java
@@ -15,6 +15,7 @@ */ package org.onosproject.ospf.cli; +import org.apache.karaf.shell.api.action.lifecycle.Service; import org.osgi.service.component.annotations.Activate; import org.osgi.service.component.annotations.Component; import org.osgi.service.component.annotations.Deactivate; @@ -39,6 +40,7 @@ /** * Representation of OSPF cli commands. */ +@Service @Component(immediate = true) @Command(scope = "onos", name = "ospf", description = "list database") public class ApplicationOspfCommand extends AbstractShellCommand {