Bug 1507634 - [RFE] Orchestration Template refactoring and enhancement
Summary: [RFE] Orchestration Template refactoring and enhancement
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: GA
: 5.9.0
Assignee: Bill Wei
QA Contact: Leo Khomenko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-30 19:01 UTC by Bill Wei
Modified: 2018-03-06 12:30 UTC (History)
4 users (show)

Fixed In Version: 5.9.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:20:20 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description Bill Wei 2017-10-30 19:01:28 UTC
This is a summary of recent work for orchestration template for QE to test before the release of 5.9.0

OrchestrationTemplate subclasses for Cloudformation, Heat, and Azure have been renamed. Existing customers should be able to continue to use their templates after they migrate the database. The following changes and new features should be paid more attention while testing.

1. We have a new tool to generate service dialogs from orchestration templates. The resulting dialogs looks the same as before, except for a few enhancements:

1.1 Dialogs from Cloudformation templates are different from the ones from Heat templates. Cloudformation dialogs have more options as described in https://bugzilla.redhat.com/show_bug.cgi?id=1385712. In the original BZ the new options  were supported in backend but required user to modify the dialog. Now the options are available from the auto generated dialog.

1.2 Additional parameter data types are supported for Cloudformation templates. Here is the complete list of data type and their appearance in dialog
1.2.1 String -> textbox
1.2.2 Number -> textbox (number only)
1.2.3 List<Number> -> text area box (one number per line)
1.2.4 CommaDelimitedList -> text area box (one string per line)
1.2.5 AWS type, for example, AWS::EC2::KeyPair::KeyName -> text area
1.2.6 AWS type list, for example, List<AWS::EC2::Subnet::Id> -> text area box (one per line)
The template containing such parameter types with and without default values should be tested.

1.3 Additional parameter data types are supported for OpenStack.
1.3.1 string -> textbox
1.3.2 number -> textbox (number only)
1.3.3 json -> text area box (formatted JSON string in multiple lines)
1.3.4 comma_delimited_list -> text area box (one string per line)
1.3.5 boolean -> text area box (“t”, “true”, “on”, “y”, “yes”, or “1” for true value and “f”, “false”, “off”, “n”, “no”, or “0” for false value.)
Te template containing such parameter types with and without default values should be tested.
The original BZ for this enhancement is https://bugzilla.redhat.com/show_bug.cgi?id=1489908

2. Cloudformation templates now support both JSON and YAML formats. Here is the RFE: https://bugzilla.redhat.com/show_bug.cgi?id=1417021. This means any Cloudformation templates in either case will appear under service -> catalog -> orchestration templates -> Cloudformation. Also when you start a blank Cloudformation template, in the editor you can type either JSON or YAML format.

3. Heat templates now support both YAML and JSON formate. Same as above.

Comment 2 Dave Johnson 2017-10-30 19:03:17 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 4 Bill Wei 2017-11-02 19:50:15 UTC
Related GitHub pull requests:
https://github.com/ManageIQ/manageiq/issues/15985

Comment 9 errata-xmlrpc 2018-03-01 13:20:20 UTC
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:0380


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