Refactor the Server Command-Lines for Config-Node, Data-Node and the upcoming AI-Node
- Lingua principale
- Java
- Stelle
- 6.4k
- Fork
- 1.2k
- Merge medio
- 1g 23h
- PR unite (30g)
- 115
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo le implementazioni CLI del server esistenti di ConfigNode, DataNode e AiNode e confronta il loro comportamento attuale da riga di comando. Usa come obiettivo la struttura dei comandi start/remove e l’opzione nodeId proposte nell’issue, chiarendo al contempo se sono supportate la rimozione di più nodi e l’omissione di nodeId; il lavoro è completato quando le tre CLI condividono la sintassi chiarita basata su Apache Commons CLI.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- cli
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100