-
Notifications
You must be signed in to change notification settings - Fork 27
Deployable_Deployment_and_Instance_API
movitto edited this page Jan 16, 2013
·
4 revisions
Below is an outline of REST API endpoints that we would need to implement to allow users to automate futher their interactions with Conductor. The endpoints follows the actions available in the current Conductor UI flow.
- Create given name, catalog id, and deployable xml. Deployable xml is validated before it can be saved. Reference for Deployable XMLs - Deployable_XML
- Show a deployable
- Index of deployables - list name and href to id
- Delete a deployable
- Edit a deployable PUT new deployable xml, respond with 200 and newly saved object Allow update of name and catalog ids
The images defined in the deployable xml must exist, but they need not be built or pushed. If there are multiple assemblies, any missing image should fail the validation.
- Create given name, deployable id, and optional realm All images defined in the deployable must be built and pushed to the choosen realm Launches instances
- Show a deployment and its instances Each instance is listed with name and a link to the real object
- Index of deployments
- Delete a deployment
- Edit a deployment - not available
conductor/api/instances
- Stop an instance
- Start an instance
- List all instances for a given deployment
- List all instances I can control across all deployments - TBD
- Show instance, status, ip address, ssh keys, etc..
- Create a front end realm
- attributes: name, description
- Show a front end realm and its realm and provider mappings
- List all realms
- Delete a realm
- Edit a realm
- Create a realm or provider mapping
- Delete a mapping
- List from provider accounts
CRUD
- Create a catalog
- attributes: name, pool
- List catalogs
- Show a catalog, its attributes, and deployables
- Edit a catalog
- Delete a catalog
- Create a pool
- attributes: name, quota, enabled?
- List pools
- Show a pool, its attributes, and catalogs
- Edit a pool
- Delete a pool
- Create a pool family
- attributes: name, maximum number of running instances (quota)
- List pool families
- Show a pool family, its attributes, and pools
- Edit a pool family
- Delete a pool family
- Initial planning discussion - http://etherpad-aeolusproject.rhcloud.com/p/deployables_and_instance_api