Bug 959545

Summary: Manually created composite operations fail in the CLI
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brian Stansberry <brian.stansberry>
Component: CLIAssignee: Brian Stansberry <brian.stansberry>
Status: CLOSED CURRENTRELEASE QA Contact: Rostislav Svoboda <rsvoboda>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: akostadi, myarboro, rhatlapa, rhusar
Target Milestone: ER7Keywords: Regression
Target Release: EAP 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Brian Stansberry 2013-05-03 18:15:47 UTC
Description of problem:

Composite operations manually entered in the CLI (i.e. not using the "batch" high level commands) always fail with "Operation 'composite' does not expect any property."

Version-Release number of selected component (if applicable):

6.1.0.ER5

How reproducible:

Always

Steps to Reproduce:

Use the CLI and manually enter a composite operation, e.g. the simplest possible composite:

[standalone@localhost:9999 /] /:composite(steps=[{"operation"=>"read-resource"}])
  
Actual results:

[standalone@localhost:9999 /] /:composite(steps=[{"operation"=>"read-resource"}])
Operation 'composite' does not expect any property.

Expected results:

A result include a read of the root resource.


Additional info:

Aleksandar Kostadinov initially reported this in https://bugzilla.redhat.com/show_bug.cgi?id=900801#c24. It's not really related to #900801 though.

Comment 3 Radim Hatlapatka 2013-05-09 14:14:20 UTC
Verified in EAP 6.1.0.ER7