Jump to: navigation, search

Solum/specify-lang-pack-design

< Solum
Revision as of 21:43, 5 December 2013 by Devdattakulkarni (talk | contribs)

Reference BP: https://blueprints.launchpad.net/solum/+spec/specify-lang-pack

Proposed Implementation:


1) Get available language packs:

GET /v1/language-packs

Return: [

  {language-pack:Java-1.4.2},
  {language-pack:python3.3}

]

2) Specify language pack to be used as part of the application plan:

POST /v1/assemblies

{

 camp_version: CAMP 1.1
 artifacts: {
    artifact_type: pyc
    content: { href: helloworld }
    requirements:
       requirement_type: interpreted_by
       fulfillment: id:py3.3
  }
  services: {
     id:py3.3
     characteristics:
        characteristic_type: solum:language-pack:python3.3
   }

}