elmundio87 / Environment_Dashboard

1 stars 0 forks source link

bootstrap nodes via the interface #2

Open elmundio87 opened 10 years ago

elmundio87 commented 10 years ago

Should provide an API to add nodes to the list. User should provide;

username password ip address

API will respond with the appropriate HTTP response code depending on the result

elmundio87 commented 10 years ago

https://github.com/RiotGames/ridley-connectors

elmundio87 commented 10 years ago

I propose a "bootrap session" object that will store the current state of a bootstrapping session, which will live in the database. When the user starts a bootstrap, they are passed a session ID, which they will use to access the session data via the API

ID (Session ID) Data (Text data) SessionState (active, success, failed)

A cleanup task can remove stale bootstrap sessions