Difference between revisions of "Solum/FeatureBlueprints/ApplicationDeploymentAndManagement"
Adrian Otto (talk | contribs) (→Solum-R1.12 REST API) |
Adrian Otto (talk | contribs) |
||
Line 18: | Line 18: | ||
As an application developer, I can delete an application deployed on the platform using a CLI command. | As an application developer, I can delete an application deployed on the platform using a CLI command. | ||
− | === Solum-R1.6 | + | === Solum-R1.6 <code>scale_du_count</code>: CLI === |
+ | Increase or decrease the number of identical DUs in an assembly by supplying an [[Solum/API#Assembly_2|Assembly]] name and a numeric argument. For example, +1 would increase the DU count by one +3 could increase it by three. Negative numbers shall decrease the count, to a minimum of 0. This function will find a component named "scaled" in the related Plan and increase or decrease replicas of it in the specified running assembly in accordance with the signed numeric argument. | ||
− | === Solum-R1.7 | + | === Solum-R1.7 <code>get_*</code>: CLI === |
+ | The following API functions query information available from the [[Solum/API|Solum API]]. | ||
+ | ==== Solum-R1.7.1 <code>get_plan</code>: CLI ==== | ||
+ | This function shall return detail about the given Plan by name or uri. This information shall include: | ||
+ | * uri | ||
+ | * name | ||
+ | * description | ||
+ | * assemblies (list) | ||
− | === Solum-R1. | + | ==== Solum-R1.7.2 <code>get_assembly</code>: CLI ==== |
+ | This function shall return detail about the given [[Solum/API#Assembly_2|Assembly]] by name or uri. This information shall include: | ||
+ | * uri | ||
+ | * name | ||
+ | * description | ||
+ | * components (list) | ||
+ | ** detailed listing of each component | ||
+ | * operations (list) | ||
+ | * sensors (list) | ||
− | === Solum-R1. | + | ==== Solum-R1.7.3 <code>get_service</code>: CLI ==== |
+ | This function shall return detail about the given [[Solum/API#Service_2|Service]] by name or uri. This information shall include: | ||
+ | * uri | ||
+ | * name | ||
+ | * description | ||
+ | * operations (list) | ||
+ | * sensors (list) | ||
+ | * read_only (Boolean) | ||
− | === Solum-R1. | + | === Solum-R1.8 <code>list_*</code>: CLI === |
+ | The following API functions query information available from the [[Solum/API|Solum API]]. | ||
+ | ==== Solum-R1.8.1 <code>list_plans</code>: CLI ==== | ||
+ | List the Plans. | ||
− | === Solum-R1.11 DeployApp: CLI === | + | ==== Solum-R1.8.2 <code>list_assemblies</code>: CLI ==== |
+ | List the Assemblies. | ||
+ | |||
+ | ==== Solum-R1.8.3 <code>list_services</code>: CLI ==== | ||
+ | List the Services. | ||
+ | |||
+ | === Solum-R1.9 StopApp: CLI === | ||
+ | Remove a specified Assembly by name or id. Delete all related Components. | ||
+ | |||
+ | === Solum-R1.10 StartApp: CLI === | ||
+ | Create an [[Solum/API#Assembly_2|Assembly]] from an Plan by name or id. Multiple Assemblies may be created from a single Plan. Return the id of the Assembly created. | ||
+ | |||
+ | === Solum-R1.11 ResizeDU's: CLI === | ||
+ | Systematically resize all of the DU's in a given assembly that are replicas of a Component named "scaled". Take an optional positive integer argument that indicates the maximum number of resizes that should be allowed in parallel (default=1). A value of 1 means resize them all sequentially. | ||
+ | |||
+ | === Solum-R1.12 DeployApp: CLI === | ||
+ | Create a Plan with a given deployment Artifact and Plan file. Do not create any assemblies. | ||
=== [https://blueprints.launchpad.net/solum/+spec/api Solum-R1.12] REST API === | === [https://blueprints.launchpad.net/solum/+spec/api Solum-R1.12] REST API === | ||
REST API for Solum suitable for use by a CLI client, IDE plugins, Git integration scripts, etc. | REST API for Solum suitable for use by a CLI client, IDE plugins, Git integration scripts, etc. |
Revision as of 07:07, 14 November 2013
Blueprint: https://blueprints.launchpad.net/solum/+spec/app-deploy-manage
Contents
- 1 Solum-R1 application deployment/Management
- 1.1 Solum-R1.1 GIT deployment
- 1.2 Solum-R1.2 Fast provisioning
- 1.3 Solum-R1.3 Dense packing (Infrastructure efficiency)
- 1.4 Solum-R1.4 Application Isolation
- 1.5 Solum-R1.5 Delete Application: CLI
- 1.6 Solum-R1.6 scale_du_count: CLI
- 1.7 Solum-R1.7 get_*: CLI
- 1.8 Solum-R1.8 list_*: CLI
- 1.9 Solum-R1.9 StopApp: CLI
- 1.10 Solum-R1.10 StartApp: CLI
- 1.11 Solum-R1.11 ResizeDU's: CLI
- 1.12 Solum-R1.12 DeployApp: CLI
- 1.13 Solum-R1.12 REST API
Solum-R1 application deployment/Management
Solum-R1.1 GIT deployment
As an application developer, I want to push my code to my Git repository, and have the platform automatically detect the code push and generate a running application using the new code. I should be able to deploy a new app, or make updates to an existing app via git.
Solum-R1.2 Fast provisioning
As an application developer, when I deploy my new app or update an existing app on the Solum platform, I should receive the URL of my application in less than a minute.
Solum-R1.3 Dense packing (Infrastructure efficiency)
As a system architect, I want to be able to fit several application instances on the same host, so that I am able to share the same host operating system across multiple application instances.
Solum-R1.4 Application Isolation
As an application developer, I want security+performance isolation for my apps, so that other apps deployed on the same host are not able to intrude into my application container or impact the resources allocated to my app.
Solum-R1.5 Delete Application: CLI
As an application developer, I can delete an application deployed on the platform using a CLI command.
Solum-R1.6 scale_du_count
: CLI
Increase or decrease the number of identical DUs in an assembly by supplying an Assembly name and a numeric argument. For example, +1 would increase the DU count by one +3 could increase it by three. Negative numbers shall decrease the count, to a minimum of 0. This function will find a component named "scaled" in the related Plan and increase or decrease replicas of it in the specified running assembly in accordance with the signed numeric argument.
Solum-R1.7 get_*
: CLI
The following API functions query information available from the Solum API.
Solum-R1.7.1 get_plan
: CLI
This function shall return detail about the given Plan by name or uri. This information shall include:
- uri
- name
- description
- assemblies (list)
Solum-R1.7.2 get_assembly
: CLI
This function shall return detail about the given Assembly by name or uri. This information shall include:
- uri
- name
- description
- components (list)
- detailed listing of each component
- operations (list)
- sensors (list)
Solum-R1.7.3 get_service
: CLI
This function shall return detail about the given Service by name or uri. This information shall include:
- uri
- name
- description
- operations (list)
- sensors (list)
- read_only (Boolean)
Solum-R1.8 list_*
: CLI
The following API functions query information available from the Solum API.
Solum-R1.8.1 list_plans
: CLI
List the Plans.
Solum-R1.8.2 list_assemblies
: CLI
List the Assemblies.
Solum-R1.8.3 list_services
: CLI
List the Services.
Solum-R1.9 StopApp: CLI
Remove a specified Assembly by name or id. Delete all related Components.
Solum-R1.10 StartApp: CLI
Create an Assembly from an Plan by name or id. Multiple Assemblies may be created from a single Plan. Return the id of the Assembly created.
Solum-R1.11 ResizeDU's: CLI
Systematically resize all of the DU's in a given assembly that are replicas of a Component named "scaled". Take an optional positive integer argument that indicates the maximum number of resizes that should be allowed in parallel (default=1). A value of 1 means resize them all sequentially.
Solum-R1.12 DeployApp: CLI
Create a Plan with a given deployment Artifact and Plan file. Do not create any assemblies.
Solum-R1.12 REST API
REST API for Solum suitable for use by a CLI client, IDE plugins, Git integration scripts, etc.