Validate and activate project revisions through REST

Aperta
#31 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
api, backend

Direzione di ricerca

Start by tracing the existing upload and entrypoint-selection operations, permissions, and NetBox background Jobs used by the project lifecycle. Map how REST requests can identify a revision and how validation, activation, rollback, status, and diagnostics should preserve the current active revision on failure; the work is done when the full CI deployment flow is supported without a new scheduler or service.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

app: scripts complexity: medium status: backlog type: feature
Plugin Version

v0.0.1

Proposed functionality

Expose the remaining deployment lifecycle through REST: reconcile synchronized Data Source content, validate a candidate, and activate a chosen revision. Activating a retained valid revision should also support rollback.

Reuse the existing operations and permissions. Return a Job reference with status and diagnostics for long-running work, and document where Data Source synchronization fits without adding another source scheduler.

Allow validation without unintended activation. Requests should identify the intended revision explicitly, and a failed validation or activation must leave the current active revision in service.

Use case

A CI pipeline should be able to deploy source, wait for validation, and promote a selected revision without a browser session. Upload and entrypoint selection already exist, but do not complete that workflow.

External dependencies

Reuse NetBox background Jobs and the existing project lifecycle. No new package or service is expected.

Lingua principale
Python
Stelle
8
Fork
0
Merge medio
9h 34m
PR unite (30g)
32

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di netbox-community/netbox-scripts

Tutte le issue di netbox-community/netbox-scripts

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.