Bug 1313481 - Enable operation of already enabled datasource has different result on EAP6 and EAP7
Summary: Enable operation of already enabled datasource has different result on EAP6 a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 7
Version: JON 3.3.5
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: DR02
: One-off release
Assignee: Thomas Segismont
QA Contact: Filip Brychta
URL:
Whiteboard:
Depends On:
Blocks: 1314853
TreeView+ depends on / blocked
 
Reported: 2016-03-01 16:39 UTC by Filip Brychta
Modified: 2016-06-06 18:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-06 18:57:07 UTC
Type: Bug


Attachments (Terms of Use)

Description Filip Brychta 2016-03-01 16:39:52 UTC
Description of problem:
When running enable operation on already enabled datasource the operation fails on EAP6. It passes on EAP7.
If this is expected, a test case must be updated for EAP7.


Version-Release number of selected component (if applicable):
JON3.3.5 with eap plugin pack update03-DR01

How reproducible:
Always

Comment 1 Filip Brychta 2016-03-01 16:48:39 UTC
From eap7 server.log:
2016-03-01 11:29:57,544 INFO  [org.jboss.as.connector] (management task-1) WFLYJCA0093: The 'enable' operation is deprecated. Use of the 'add' or 'remove' operations is preferred, or if required the 'write-attribute' operation can used to set the deprecated 'enabled' attribute

Comment 2 Heiko W. Rupp 2016-03-03 16:40:48 UTC
We may remove enable/disable operations (in the plugin descriptor) if EAP7 no longer support enable/disable

Comment 3 Thomas Segismont 2016-03-11 16:13:54 UTC
As the log level indicates, it's not a regression. EAP team has deprecated the enabled attribute and corresponding operations. I believe that if the EAP team deprecated them instead of removing, we should simply do the same. That is, update the plugin attribute and operation descriptions.

Is that fine with you Larry?

Comment 4 Larry O'Leary 2016-03-11 19:10:07 UTC
Yes. That is fine.

Comment 5 Thomas Segismont 2016-03-14 14:42:18 UTC
Pull request sent https://github.com/rhq-project/rhq/pull/217

Comment 6 Mike McCune 2016-03-28 23:42:22 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions


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