Bug 1226456
| Summary: | [RFE][api] Add support for creation of Catalog Item/Bundle (service_templates) | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Ramesh A <rananda> |
| Component: | API | Assignee: | Jillian Tullo <jtullo> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Kourim <mkourim> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.4.0 | CC: | jhardy, obarenbo, simaishi, tachoi |
| Target Milestone: | GA | Keywords: | FutureFeature |
| Target Release: | 5.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | service:catalog:rest | ||
| Fixed In Version: | 5.8.0.2 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-05-31 14:19:20 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: | 1244937 | ||
| Bug Blocks: | |||
|
Description
Ramesh A
2015-05-29 20:16:23 UTC
Git hub link - https://github.com/ManageIQ/manageiq/issues/2123 changing status to POST as https://github.com/ManageIQ/manageiq/pull/12594 was merged Verified with
POST /api/service_templates
{
"name": "My Atomic Service Template",
"service_type": "atomic",
"prov_type": "vmware",
"display": false,
"config_info": {
"service_template_request": true,
"provision_type": ["vmware", "VMware"],
"customize_enabled": ["enabled"],
"miq_request_dialog_name": "miq_provision_vmware_dialogs_template",
"catalog_id": "3",
"st_prov_type": "vmware",
"service_type": "atomic",
"dialog_id": "4",
"placement_auto": [true, 1],
"number_of_vms": [1, "1"],
"src_vm_id": [21, "damnSmallLinux"],
"vm_name": "test_rest_aRZlFIJa3ZAAA",
"schedule_type": ["immediately", "Immediately on Approval"],
"src_ems_id": [1, "vSphere 6 (nested)"],
"provision": {
"fqname": "/Service/Provisioning/StateMachines/ServiceProvision_Template/CatalogItemInitialization",
"dialog_id": 4
},
"retirement": {
"fqname": "/Service/Retirement/StateMachines/ServiceRetirement/Default",
"dialog_id": 4
}
}
}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1367 |