Refactor the Server Command-Lines for Config-Node, Data-Node and the upcoming AI-Node
- Vorherrschende Sprache
- Java
- Sterne
- 6.4k
- Forks
- 1.2k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 115
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
Beginne damit, die bestehenden serverseitigen CLI-Implementierungen von ConfigNode, DataNode und AiNode zu lesen und ihr aktuelles Kommandozeilenverhalten zu vergleichen. Verwende die in der Issue vorgeschlagene Struktur der start/remove-Befehle und die nodeId-Option als Ziel, und kläre dabei, ob das Entfernen mehrerer Nodes und das Weglassen von nodeId unterstützt werden; abgeschlossen ist die Arbeit, wenn die drei CLIs dieselbe geklärte, auf Apache Commons CLI basierende Syntax verwenden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- cli
- Issue-Typ
- Refactoring
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100