Skip to content

Instantly share code, notes, and snippets.

@indykish
Last active October 30, 2015 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save indykish/538229dfc794511e6abf to your computer and use it in GitHub Desktop.
Save indykish/538229dfc794511e6abf to your computer and use it in GitHub Desktop.
The base declarative directive of megam cloud component json which illustrates that an app in git/image, docker git/image, service can be launched.
{
"name": "component_1",
"tosca_type": "tosca.web.Java",
"inputs": [
"domain",
"version"
],
"related_components": "",
"status": "deploying, creating, bootstrapping, stateup, running",
"outputs": [],
"envs": [
{
"key": "REDIS_HOST",
"value": "tempp.megambox.com"
},
{
"key": "REDIS_PORT",
"value": "9087"
}
],
"artifacts": {
"artifact_type": "",
"content": "",
"requirements": [
""
]
},
"repo": {
"type": " image / source ",
"source": " github / gitlab / dockerhub / mydockerhub ",
"oneclick": "yes/no",
"url": " image name / git url "
},
"operations": [
{
"operation_type": "CI",
"description": " ",
"properties": [
"type",
"token",
"username"
]
},
{
"operation_type": "bind",
"description": " ",
"properties": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment