[api] Expose available services, attacks, models and scenarios
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by reading the existing API and the related #209 status snapshot, then inspect default.yaml, opencda/core/application/behavior/services/, adversary_framework/attacks/, the CoP model assets, and the SUMO assets directory. Add GET /v1/capabilities to report the version and requested available resources with their parameters or requirements. Done when the endpoint returns those node-specific lists and configuration data for clients to use.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem or motivation
A client that builds configs needs to know what the node supports: the default.yaml its config is merged with, behavior service types and their parameters, attacks and their requirements, CoP models and SUMO scenarios. None of this is available through the API; capabilities in the #209 status snapshot is an empty list.
Scenario Manager hardcodes these lists in its UI, so they drift from the OpenCDA version deployed on the node.
Proposed solution
Add GET /v1/capabilities that returns:
- the OpenCDA version and the contents of
default.yaml; - behavior service types from
opencda/core/application/behavior/services/with their parameters; - attack names from
adversary_framework/attacks/with theirrequirements; - CoP model ids available on the node;
- scenario names in the SUMO assets directory.
Area
Scenario management
Additional context
Related to #209.
- Lingua principale
- Python
- Stelle
- 11
- Fork
- 11
- Merge medio
- 1g 16h
- PR unite (30g)
- 12
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CAVISE/OpenCDA
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 47/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
[attacks_research] Research additional service-level attacks for AttackFrameworkForse già presa @Austin610 l’ha presa 16 giorni fa. Apertaenhancement
CAVISE/OpenCDA#218 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di CAVISE/OpenCDA
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
-
frontend testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
vendrabuck/HERD#1588 ·
I maintainer di solito rispondono entro 1 giorno
-
Lessons: record the second case of L14 (security updates cover only pip)Forse già presa @vishwanathj l’ha presa oggi. Apertaarea/docs no-test-needed type/docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
vishwanathj/ocp_lab.ai#39 · 1 commento ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
laaielichter/Gulliver#228 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
nyjc-computing/campus#1338 ·
I maintainer di solito rispondono entro 1 giorno