Bug 1650252 - [Regression] Static Dialogs are not Populated when Submitting API Requests for Service Catalog
Summary: [Regression] Static Dialogs are not Populated when Submitting API Requests fo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.9.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Tina Fitzgerald
QA Contact: Parthvi Vala
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1651291
TreeView+ depends on / blocked
 
Reported: 2018-11-15 16:36 UTC by myoder
Modified: 2021-12-10 18:15 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1651291 (view as bug list)
Environment:
Last Closed: 2019-02-12 16:50:19 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 5 Parthvi Vala 2018-11-20 10:46:27 UTC
FIXED. Verified on 5.10.0.24.20181113213923_03b81fd.

Request: POST /api/service_catalogs/:id/service_templates/:id
Query: {
	"action": "order",
	"resource": {
		"input_dropdown": "One",
		"text_box": "hello"
	}
}
Response: {
	"href": "https://<ip_address>/api/service_requests/3",
	"id": "3",
	"description": "Provisioning Service [catalog_item_1] from [catalog_item_1]",
	"approval_state": "pending_approval",
	"type": "ServiceTemplateProvisionRequest",
	"created_on": "2018-11-20T10:38:11Z",
	"updated_on": "2018-11-20T10:38:11Z",
	"fulfilled_on": null,
	"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": "One",
			"dialog_text_box": "hello"
		},
		"workflow_settings": {
			"resource_action_id": "25",
			"dialog_id": "2"
		},
		"initiator": null,
		"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",
	"destination_id": null,
	"destination_type": null,
	"tenant_id": "1",
	"service_order_id": "3",
	"process": true,
	"cancelation_status": null,
	"service_templates": {
		"count": 0,
		"resources": [],
		"actions": [
			...
		]
	}
}

And I checked the automation log, static fields are populated with the supplied value.


Note You need to log in before you can comment on or make changes to this bug.