
Contains .inc files which have all the contents of the .rst files but are grouped together for easier editing. Contains parameters.yaml, which has all parameters in one file. Contains request and response samples (JSON and XML) that are pointed to from the .inc files. Change-Id: I42d5451300f95774a3ec4df66bc95cb36795844d
131 lines
5.8 KiB
JSON
131 lines
5.8 KiB
JSON
{
|
|
"metadata": [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"default": null,
|
|
"type": "String",
|
|
"name": "foo",
|
|
"value": "fooooo",
|
|
"description": null
|
|
},
|
|
{
|
|
"default": null,
|
|
"type": "String",
|
|
"name": "bar",
|
|
"value": "baaaaa",
|
|
"description": null
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_server_id",
|
|
"value": "ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5",
|
|
"description": "ID of the server being deployed to"
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_action",
|
|
"value": "CREATE",
|
|
"description": "Name of the current action being deployed"
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_stack_id",
|
|
"value": "a/9bd57090-8954-48ab-bab9-adf9e1ac70fc",
|
|
"description": "ID of the stack this deployment belongs to"
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_resource_name",
|
|
"value": "deployment",
|
|
"description": "Name of this deployment resource in the stack"
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_signal_id",
|
|
"value": "http://192.168.20.103:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3Ae2a84fbdaeb047ae8da4b503f3b69f1f%3Astacks%2Fa%2F9bd57090-8954-48ab-bab9-adf9e1ac70fc%2Fresources%2Fdeployment?Timestamp=2014-03-19T20%3A30%3A59Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=ca3571413e4a49998d580215517b3685&SignatureVersion=2&Signature=w6Iu%2BNbg86mqwSOUf1GLuKPO7KaD82PiGpL4ig9Q1l4%3D",
|
|
"description": "ID of signal to use for signalling output values"
|
|
}
|
|
],
|
|
"group": "script",
|
|
"name": "a-config-we5zpvyu7b5o",
|
|
"outputs": [
|
|
{
|
|
"type": "String",
|
|
"name": "result",
|
|
"error_output": false,
|
|
"description": null
|
|
}
|
|
],
|
|
"options": null,
|
|
"creation_time": "2015-01-31T15:12:36Z",
|
|
"updated_time": "2015-01-31T15:18:21Z",
|
|
"config": "#!/bin/sh -x\necho \"Writing to /tmp/$bar\"\necho $foo > /tmp/$bar\necho -n \"The file /tmp/$bar contains `cat /tmp/$bar` for server $deploy_server_id during $deploy_action\" > $heat_outputs_path.result\necho \"Written to /tmp/$bar\"\necho \"Output to stderr\" 1>&2",
|
|
"id": "3d5ec2a8-7004-43b6-a7f6-542bdbe9d434"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"default": null,
|
|
"type": "String",
|
|
"name": "foo",
|
|
"value": "fu",
|
|
"description": null
|
|
},
|
|
{
|
|
"default": null,
|
|
"type": "String",
|
|
"name": "bar",
|
|
"value": "barmy",
|
|
"description": null
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_server_id",
|
|
"value": "ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5",
|
|
"description": "ID of the server being deployed to"
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_action",
|
|
"value": "CREATE",
|
|
"description": "Name of the current action being deployed"
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_stack_id",
|
|
"value": "a/9bd57090-8954-48ab-bab9-adf9e1ac70fc",
|
|
"description": "ID of the stack this deployment belongs to"
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_resource_name",
|
|
"value": "other_deployment",
|
|
"description": "Name of this deployment resource in the stack"
|
|
},
|
|
{
|
|
"type": "String",
|
|
"name": "deploy_signal_id",
|
|
"value": "http://192.168.20.103:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3Ae2a84fbdaeb047ae8da4b503f3b69f1f%3Astacks%2Fa%2F9bd57090-8954-48ab-bab9-adf9e1ac70fc%2Fresources%2Fother_deployment?Timestamp=2014-03-19T20%3A30%3A59Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=7b761482f8254946bcd3d5ccb36fe939&SignatureVersion=2&Signature=giMfv%2BhrAw6y%2FCMKQIQz2IhO5PkAj5%2BfP5YsL6rul3o%3D",
|
|
"description": "ID of signal to use for signalling output values"
|
|
}
|
|
],
|
|
"group": "script",
|
|
"name": "a-config-we5zpvyu7b5o",
|
|
"outputs": [
|
|
{
|
|
"type": "String",
|
|
"name": "result",
|
|
"error_output": false,
|
|
"description": null
|
|
}
|
|
],
|
|
"options": null,
|
|
"creation_time": "2015-01-31T16:14:13Z",
|
|
"updated_time": "2015-01-31T16:18:19Z",
|
|
"config": "#!/bin/sh -x\necho \"Writing to /tmp/$bar\"\necho $foo > /tmp/$bar\necho -n \"The file /tmp/$bar contains `cat /tmp/$bar` for server $deploy_server_id during $deploy_action\" > $heat_outputs_path.result\necho \"Written to /tmp/$bar\"\necho \"Output to stderr\" 1>&2",
|
|
"id": "8da95794-2ad9-4979-8ae5-739ce314c5cd"
|
|
}
|
|
]
|
|
}
|