Hi,
I'm trying to port one of the v2 commands onto v3. This is the first
time I'm writing a command in v3 and have some general questions:
1. Is there any document regarding the practices to be followed while
writing commands? Looks like the
v3
CLI spec wasn't updated for the final release and it mainly talks
about features that were dropped. I've seen the
v3
engineer's guide CLI section, but that too contains a very simple
example.
2. Where can I find documentation for the various annotations?
3. From what I understand, there are 2 ways to introduce a command, one
is by implementing the AdminCommand interface and other is writing a
CRUD command, is that correct?
4. How/when to implement CRUD commands?
5. Whats the best way to debug any command? I made some changes in the
config beans and now DAS isn't even starting, it just hangs after the
launcher message. I'm at loss as to where to look! (Changing felix log
level and admin logging to finest doesn't help since its in the very
intial stage of startup)
6. While porting a v2 command, I presume both the files,
supported-legacy-command-names/unsupported-legacy-command-names need to
be updated. Is that correct?
Thanks,
-Yamini