Attila Doroszlai created HDDS-15185:
---------------------------------------
Summary: Create submodule ozone-cli-interactive
Key: HDDS-15185
URL: https://issues.apache.org/jira/browse/HDDS-15185
Project: Apache Ozone
Issue Type: Sub-task
Components: Ozone CLI
Reporter: Attila Doroszlai
Follow-up for HDDS-11838:
{{OzoneInteractiveShell}} lives in {{ozone-cli-shell}}, and adds subcommands
from the same module statically. Dependencies for other subcommands
({{admin}}, {{debug}}, etc.) are added only at runtime, hence the subcommands
are found via reflection. , dependencies are added only at runtime.
Goals of this task:
- create a new submodule {{ozone-cli-interactive}} for
{{OzoneInteractiveShell}}, which should depend on all other CLI modules
- change classpath of {{OzoneInteractiveShell}} in
{{hadoop-ozone/dist/src/shell/ozone/ozone}} to the new module
- remove unnecessary dynamic classpath additions
- change {{OzoneInteractiveShell}} to add {{OzoneAdmin}}, etc. via regular
method calls
- remove unused {{addDynamicSubcommand()}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]