Skip to content

Instantly share code, notes, and snippets.

@indykish
Created October 22, 2015 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save indykish/77bf4858da959af58c9b to your computer and use it in GitHub Desktop.
Save indykish/77bf4858da959af58c9b to your computer and use it in GitHub Desktop.
The declarative directive of megam cloud assembly json which illustrates launch of a service (postgresql) based on CAMP/TOSCA specification.
{
"id":"ASM1266307125966143488",
"json_claz":"Megam::Assembly",
"name":"bush",
"components":[
"COM1266307125995503616"
],
"tosca_type":"tosca.service.postgresql",
"policies":[
{
"name":"bind policy",
"ptype":"colocated",
"members":[
"bush.megambox.com/stratums"
]
}
],
"inputs":[
{
"key":"domain",
"value":"megambox.com"
},
{
"key":"sshkey",
"value":"ranjitha1@e.com_ss"
},
{
"key":"provider",
"value":"one"
},
{
"key":"cpu",
"value":"0.5"
},
{
"key":"ram",
"value":"896"
}
],
"outputs":[
],
"status":"LAUNCHING",
"created_at":"2015-10-15 05:02:39 +0000"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment