[rhq-project/rhq] 77ef3d: Bug 1220277 - Correctly handle unsufficient permis...
by Libor Zoubek
Branch: refs/heads/master
Home: https://github.com/rhq-project/rhq
Commit: 77ef3de1e29f3e908dd5a325f37ae95c1e89968c
https://github.com/rhq-project/rhq/commit/77ef3de1e29f3e908dd5a325f37ae95...
Author: Libor Zoubek <lzoubek(a)redhat.com>
Date: 2015-06-08 (Mon, 08 Jun 2015)
Changed paths:
M modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/BaseComponent.java
M modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/BaseServerComponent.java
A modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/json/UnauthorizedException.java
Log Message:
-----------
Bug 1220277 - Correctly handle unsufficient permission errors
This fixed BaseServerComponent only - so we display correct resource error,
when insufficient permissions are detected. In all other cases (create
child, operations) it should be obvious from EAP's response which appears on
top of stacktrace. This commit also fixes an issue when there are invalid
user/pass set in pluginConfiguration resource error was not reported
(because InvalidPluginConfigurationException thrown by AS7Connection.execute
was swallowed by getAvailability() code.
Commit: 0a2e0cf52eebf007204e741161ed147e7e0a6887
https://github.com/rhq-project/rhq/commit/0a2e0cf52eebf007204e741161ed147...
Author: Libor Zoubek <lzoubek(a)jezzovo.net>
Date: 2015-06-08 (Mon, 08 Jun 2015)
Changed paths:
M modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/BaseComponent.java
M modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/BaseServerComponent.java
A modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/json/UnauthorizedException.java
Log Message:
-----------
Merge pull request #173 from lzoubek/bugs/1220277
Bug 1220277 - Correctly handle unsufficient permission errors
Compare: https://github.com/rhq-project/rhq/compare/7e39c9be497d...0a2e0cf52eeb
8 years, 11 months
[rhq-project/rhq] 77ef3d: Bug 1220277 - Correctly handle unsufficient permis...
by Libor Zoubek
Branch: refs/heads/bugs/1220277
Home: https://github.com/rhq-project/rhq
Commit: 77ef3de1e29f3e908dd5a325f37ae95c1e89968c
https://github.com/rhq-project/rhq/commit/77ef3de1e29f3e908dd5a325f37ae95...
Author: Libor Zoubek <lzoubek(a)redhat.com>
Date: 2015-06-08 (Mon, 08 Jun 2015)
Changed paths:
M modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/BaseComponent.java
M modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/BaseServerComponent.java
A modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/json/UnauthorizedException.java
Log Message:
-----------
Bug 1220277 - Correctly handle unsufficient permission errors
This fixed BaseServerComponent only - so we display correct resource error,
when insufficient permissions are detected. In all other cases (create
child, operations) it should be obvious from EAP's response which appears on
top of stacktrace. This commit also fixes an issue when there are invalid
user/pass set in pluginConfiguration resource error was not reported
(because InvalidPluginConfigurationException thrown by AS7Connection.execute
was swallowed by getAvailability() code.
8 years, 11 months
[rhq-project/rhq] 1156a5: Bug 1173164 - Globally uncaught Exception shown in...
by Libor Zoubek
Branch: refs/heads/master
Home: https://github.com/rhq-project/rhq
Commit: 1156a523840cbb191e8308d5f5a4ed45c50fe423
https://github.com/rhq-project/rhq/commit/1156a523840cbb191e8308d5f5a4ed4...
Author: Libor Zoubek <lzoubek(a)redhat.com>
Date: 2015-06-05 (Fri, 05 Jun 2015)
Changed paths:
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/operation/GroupOperationJob.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/operation/OperationManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/operation/ResourceOperationJob.java
Log Message:
-----------
Bug 1173164 - Globally uncaught Exception shown in the JBoss ON UI when
trying to display orphaned operation schedule
Fixed by removing operation schedules (and unscheduling it) when the user
does not exist anymore. This removal does not happen at the time when user
is deleted, it happens when either - user want's to see such schedule (which
refers to missing user) or when scheduled job is about to run (in this case
it is canceled).
Commit: 7e39c9be497dd83bb67cd6e00e13f5fc6f042811
https://github.com/rhq-project/rhq/commit/7e39c9be497dd83bb67cd6e00e13f5f...
Author: Libor Zoubek <lzoubek(a)jezzovo.net>
Date: 2015-06-08 (Mon, 08 Jun 2015)
Changed paths:
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/operation/GroupOperationJob.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/operation/OperationManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/operation/ResourceOperationJob.java
Log Message:
-----------
Merge pull request #175 from lzoubek/bugs/1173164
Bug 1173164 - Globally uncaught Exception shown in the JBoss ON UI when
Compare: https://github.com/rhq-project/rhq/compare/4d41f1863a76...7e39c9be497d
8 years, 11 months