Bug 999862 - Operation getState on Service bindings resource fails
Summary: Operation getState on Service bindings resource fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: JON
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: 6.0.0
Assignee: kconner
QA Contact: Tomas Plevko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-22 09:37 UTC by Libor Zoubek
Modified: 2015-11-02 00:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Libor Zoubek 2013-08-22 09:37:17 UTC
Description of problem:


Version-Release number of selected component (if applicable):
RHQ 4.9-MASTER + rhq-switchyard-plugin-1.0.0.SNAPSHOT

How reproducible: always


Steps to Reproduce:
1. deploy switchyard quickstart (I used validate-xml)
2. go to _OrderService_soap_1 and run operation getState

Actual results: Operation result is Failure.

{status:'Failure',error:'java.lang.Exception: Operation [getState] not found on MBean [org.switchyard.admin:type=Binding,name="_OrderService_soap_1",service="{urn:switchyard-quickstart:validate-xml:0.1.0}OrderService"].

Expected results:Operation result must be success.

Additional Info:

I guess there is a typo in name of resource type. It should be "Service Binding" not "Service Bindings"

Comment 2 kconner 2013-08-27 13:56:27 UTC
Changed the operation to a metric as it is being identified in the bean as an attribute.  It is now also identified as a trait.

For details of the change see

https://github.com/knrc/rhq-switchyard-plugin/issues/1

Comment 3 Tomas Plevko 2013-09-18 15:05:17 UTC
Verified. RHQ 4.10.0 + rhq-switchyard-plugin-1.0.0.SNAPSHOT


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