Bug 1115244
| Summary: | [origin_broker_241] Need to add 'region' as an optional_param to the 'ADD_APPLICATION' API instruction | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Jianwei Hou <jhou> |
| Component: | Master | Assignee: | Ravi Sankar <rpenta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | jokerman, mmccomas, rpenta |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-10 00:48:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1116124, 1116836 | ||
|
Description
Jianwei Hou
2014-07-02 03:21:28 UTC
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/41098c5746efe83947a485cc99a0fe8efbfc7555 Bug 1115244 - Add 'region' as optional param to ADD_APPLICATION link Verified on devenv_4940, this bug is fixed.
"ADD_APPLICATION": {
"href": "https://ec2-54-196-162-245.compute-1.amazonaws.com/broker/rest/domain/jhou/applications",
"method": "POST",
"optional_params": [
{
"default_value": null,
"description": "Array of one or more cartridge names",
"name": "cartridges",
"type": "array",
"valid_options": [
]
},
{
"default_value": false,
"description": "Mark application as scalable",
"name": "scale",
"type": "boolean",
"valid_options": [
true,
false
]
},
{
"default_value": "small",
"description": "The size of the gear",
"name": "gear_size",
"type": "string",
"valid_options": [
"small"
]
},
{
"default_value": null,
"description": "A URL to a Git source code repository that will be the basis for this application.",
"name": "initial_git_url",
"type": "string",
"valid_options": [
"",
"empty"
]
},
{
"default_value": null,
"description": "Name of a cartridge.",
"name": "cartridges[][name]",
"type": "string",
"valid_options": [
]
},
{
"default_value": "small",
"description": "Gear size for the cartridge.",
"name": "cartridges[][gear_size]",
"type": "string",
"valid_options": [
"small"
]
},
{
"default_value": null,
"description": "A URL to a downloadable cartridge. You may specify an multiple urls via {'cartridges' : [{'url':'http://...'}, ...]}",
"name": "cartridges[][url]",
"type": "string",
"valid_options": [
]
},
{
"default_value": null,
"description": "Add or Update application environment variables, e.g.:[{'name':'FOO', 'value':'123'}, {'name':'BAR', 'value':'abc'}]",
"name": "environment_variables",
"type": "array",
"valid_options": [
]
},
{
"default_value": null,
"description": "Restrict application to the given region",
"name": "region",
"type": "string",
"valid_options": [
]
}
],
|