Bug 1651291
| Summary: | [Regression] Static Dialogs are not Populated when Submitting API Requests for Service Catalog | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
| Component: | API | Assignee: | Tina Fitzgerald <tfitzger> |
| Status: | CLOSED ERRATA | QA Contact: | Parthvi Vala <pvala> |
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
| Priority: | high | ||
| Version: | 5.9.5 | CC: | akarol, dmetzger, jprause, mfeifer, obarenbo, tfitzger |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.9.6 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.9.6.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1650252 | Environment: | |
| Last Closed: | 2018-12-13 15:16:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1650252 | ||
| Bug Blocks: | |||
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-2018:3816 |
FIXED. Verified on 5.9.6.2.20181119175512_3a18916. Creating the service dialog as mentioned in the original comment, I sent this request. Request: POST /api/service_catalogs/:id/service_templates/:id Query: { "action": "order", "resource": { "input_dropdown": "Two", "text_box": "hello" } } Response: { "href": "https://<ip_address>/api/service_requests/2", "id": "2", "description": "Provisioning Service [catalog_item_1] from [catalog_item_1]", "approval_state": "pending_approval", "type": "ServiceTemplateProvisionRequest", "created_on": "2018-11-22T07:11:56Z", "updated_on": "2018-11-22T07:11:57Z", "requester_id": "1", "requester_name": "Administrator", "request_type": "clone_to_service", "request_state": "pending", "message": "Service_Template_Provisioning - Request Created", "status": "Ok", "options": { "dialog": { "dialog_input_dropdown": "Two", "dialog_text_box": "hello" }, "workflow_settings": { "resource_action_id": "23", "dialog_id": "2" }, "src_id": "1", "request_options": { "submit_workflow": true, "init_defaults": false }, "cart_state": "ordered", "requester_group": "EvmGroup-super_administrator" }, "userid": "admin", "source_id": "1", "source_type": "ServiceTemplate", "tenant_id": "1", "service_order_id": "2", "process": true, "service_templates": { "count": 0, "resources": [], "actions": [ ... ] } }