Jump to: navigation, search

Solum/specify-lang-pack-design

< Solum
Revision as of 21:26, 5 December 2013 by Devdattakulkarni (talk | contribs) (Created page with "Reference BP: https://blueprints.launchpad.net/solum/+spec/specify-lang-pack Proposed Implementation: ------------------------------------- 1) Get available language packs: ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Proposed Implementation:


1) Get available language packs:

GET /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 /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
   }

}