Branch: refs/heads/release/jon3.3.x
Home:
https://github.com/rhq-project/rhq
Commit: 07c3db0afe16e0105dc026f1b62b401f52311bf5
https://github.com/rhq-project/rhq/commit/07c3db0afe16e0105dc026f1b62b401...
Author: Thomas Segismont <tsegismo(a)redhat.com>
Date: 2014-10-29 (Wed, 29 Oct 2014)
Changed paths:
R
modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/DatasourceEnabledAttributeHelper.java
M
modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/DatasourcesComponent.java
Log Message:
-----------
Bug 1154678 - [EAP6] - Newly created datasource is not enabled even when you have set
Enabled=true -- user should be at least warned
When the datasource was created, the 'enabled' attribute was supplied to the EAP6
management interface.
But setting the attribute to true does not enable the datasource. An extra server reload
is needed.
To enable a datasource without a server reload, the 'enable' operation needs to be
called.
So now the DatasourcesComponent class:
-> no longer supplies the 'enabled' attribute to the CreateResourceDelegate
-> reads the state of the datasource after creation
-> invokes the 'enable' or 'disable' operation (as needed) after
creation
(cherry picked from commit d5e65f48de47b1c3258277e5e3e7d16881b679fc)
Signed-off-by: Libor Zoubek <lzoubek(a)redhat.com>
Commit: 42a2d2f80c2325f3403ff35cba7fbd9669434525
https://github.com/rhq-project/rhq/commit/42a2d2f80c2325f3403ff35cba7fbd9...
Author: Thomas Segismont <tsegismo(a)redhat.com>
Date: 2014-10-29 (Wed, 29 Oct 2014)
Changed paths:
M
modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/DatasourcesComponent.java
Log Message:
-----------
Bug 1154678 - [EAP6] - Newly created datasource is not enabled even when you have set
Enabled=true -- user should be at least warned
Fix error in connection properties management code: do not clutter the created datasource
Address
(regression detected in Jenkins)
(cherry picked from commit deff314454c6a055c407429032686054d04e6a31)
Signed-off-by: Libor Zoubek <lzoubek(a)redhat.com>
Compare:
https://github.com/rhq-project/rhq/compare/c69f16666637...42a2d2f80c23