Refactor the Server Command-Lines for Config-Node, Data-Node and the upcoming AI-Node
- Lenguaje dominante
- Java
- Estrellas
- 6.4k
- Forks
- 1.2k
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 115
Descripción
Currently the server CLI implementation of the existing nodes lacks clarity and needs a major cleaning up.
- Use Apache Commons CLI to implement the general command-line functionality
- Refactor the ConfigNode, DataNode and AiNode CLI parts
The syntax of the commandline issues will change to the follwing format:
{NodeCli}
The commands will be:
- start
- remove
The options will be:
- for the remove command
- nodeId {some node id}
To be discussed:
- Should it be possible to remove multiple nodes, by passing in a list of ids?
- Should it be possible to remove the current node, by omitting the nodeId parameter?
Guía de contribución
Línea de trabajo
Comienza leyendo las implementaciones existentes de CLI del servidor de ConfigNode, DataNode y AiNode, y compara su comportamiento actual en la línea de comandos. Usa como objetivo la estructura propuesta en el issue para los comandos start/remove y la opción nodeId, y resuelve si se admite la eliminación de varios nodos y la omisión de nodeId; se considera terminado cuando las tres CLIs comparten la sintaxis aclarada basada en Apache Commons CLI.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- cli
- Tipo de issue
- Refactorización
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100