Specify the language pack to be used for app deploy

Registered by Roshan Agrawal

As an application developer, I can explicitly specify the language pack that the platform would use to deploy my code, instead of using the default language pack.

Minimum usage requirements:
-----------------------------------------
1) Allow a user to GET currently defined set of language packs in the platform

2) Define the format of specifying language pack in the application registration request.
    For example, if the registration request format is JSON then we might have a field to specify name of a language pack. Example:
    {
      language_pack: Java
    }

3) Enforce that the language pack selected by the user is from the set that is currently defined in the platform

4) Implement application registration logic (to register a validly described application in Solum database)

LP attributes:
------------------
https://etherpad.openstack.org/p/Solum-Language-pack-json-format

Proposed implementations:
--------------------------------------
https://wiki.openstack.org/wiki/Solum/specify-lang-pack-design

Blueprint information

Status:
Complete
Approver:
Adrian Otto
Priority:
High
Drafter:
Roshan Agrawal
Direction:
Approved
Assignee:
Devdatta Kulkarni
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1.1
Started by
Adrian Otto
Completed by
Adrian Otto

Related branches

Sprints

Whiteboard

Once the above requirements are implemented, we can consider following "admin" requirements:

1) Allow Solum admin to register/add new language pack to the platform.

Dependencies:
1) The details of the data model depends on the patches that Clayton has in flight currently.

2) From usage requirements point of view, the specifics of input registration format and the name to use for the language pack attribute depends on getting an agreement from the language pack working group on the specific name to be used.

3) From admin requirements point of view, we need to come up with the API and request/response format for registering a language pack with the platform.

Gerrit topic: https://review.openstack.org/#q,topic:bp/specify-lang-pack,n,z

Addressed by: https://review.openstack.org/62548
    WIP: Defined a resource to query available language packs.

Addressed by: https://review.openstack.org/67292
    WIP: Resource for querying available language packs

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.