Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[WFCORE-5037] Pass in the AttributeDefinition where possible to the JMX TypeConverters

Note that for the main work we still use the descriptor. This fix is

mainly to make it possible to check which kind of Object with complex

values we have.

ObjectTypeAttributeDefinition and ObjectMapAttributeDefinition both

return the same r-r-d output for attributes but are different. The first

one has defined key/value pairs where the keys are all known. e.g. the

following would be an allowed value:

{"my-attr" => {"one" => 100L}}

ObjectMapAttributeDefinition on the other hand is a map of unknown keys

containing those entries, e.g. the following would be an allowed value:

{"my-attr" => {"a" => {"one" => 100L}}}

In both cases the r-r-d output for the attribute would look like:

"description" => "description",

"attributes" => {"my-attr" => {

"type" => OBJECT,

"description" => "map-of-maps",

"expressions-allowed" => false,

"required" => false,

"nillable" => true,

"value-type" => {"one" => {

"type" => LONG,

"description" => "map-of-maps.one",

"expressions-allowed" => false,

"required" => true,

"nillable" => false

}},

"access-type" => "metric",

"storage" => "runtime"

}},

....

So there is no way for JMX yet to know which of the two cases we have.

Passing in the AttributeDefinition is an attempt at figuring that out.

    • -1
    • +1
    ./model/ExpressionTypeConverterUnitTestCase.java
    • -5
    • +5
    ./model/LegacyTypeConverterUnitTestCase.java
  1. … 4 more files in changeset.
[WFCORE-5037] Get JMX conversion working for maps of complex types

    • -0
    • +136
    ./ComplexRuntimeAttributesExtension.java
    • -1
    • +25
    ./ModelControllerMBeanTestCase.java
    • -1
    • +2
    ./ModelControllerResourceDefinition.java
    • -1
    • +95
    ./model/ExpressionTypeConverterUnitTestCase.java
    • -11
    • +112
    ./model/LegacyTypeConverterUnitTestCase.java
  1. … 1 more file in changeset.
[WFCORE-4901] TCCL not set to application classloader when MBean Notification is invoked

[WFCORE-4901] TCCL not set to application classloader when MBean Notification is invoked

    • -3
    • +41
    ./PluggableMBeanServerTestCase.java
  1. … 1 more file in changeset.
[WFCORE-4565] Replace 'new ModelNode().set(false)’ with 'ModelNode.FALSE’

    • -1
    • +1
    ./model/LegacyTypeConverterUnitTestCase.java
  1. … 6 more files in changeset.
[WFCORE-4565] Replace 'new ModelNode().set(false)’ with 'ModelNode.FALSE’

    • -1
    • +1
    ./model/LegacyTypeConverterUnitTestCase.java
  1. … 6 more files in changeset.
[WFCORE-3524] If only parser suppliers are registered, initialize the one with the 'latest' namespace Also, achieves some of the possible gain from rejected issue WFCORE-3523 by not doing parser instantiation / parser description caching on a domain server.

  1. … 4 more files in changeset.
[WFCORE-973][WFCORE-3493] Don't store a minValue or maxValue in OpenMBeanParameterInfo if the value is not numeric

    • -1
    • +2
    ./ModelControllerResourceDefinition.java
  1. … 1 more file in changeset.
[WFCORE-3465] Get rid of extraneous uses of ModelNode.resolve(). Related, get rid of impls of the unused ParameterValidator.validateResolvedParameter and implement a default method that throws UOE

    • -2
    • +2
    ./ModelControllerResourceDefinition.java
    • -11
    • +13
    ./model/ExpressionTypeConverterUnitTestCase.java
    • -5
    • +7
    ./model/LegacyTypeConverterUnitTestCase.java
  1. … 35 more files in changeset.
[WFCORE-3461] Be able to directly query the root management mbean

    • -3
    • +16
    ./ModelControllerMBeanTestCase.java
  1. … 1 more file in changeset.
[WFCORE-3415] No need to do a full mbean count of both core resource JMX domains

    • -1
    • +5
    ./rbac/JmxFacadeRbacEnabledTestCase.java
  1. … 1 more file in changeset.
Revert "[WFCORE-3415] Faster resource tree size calculation for getMBeanCount()"

    • -5
    • +1
    ./rbac/JmxFacadeRbacEnabledTestCase.java
  1. … 11 more files in changeset.
[WFCORE-3423] Refactoring - no functional change. Eliminating usage of MSC service listeners in test suite.

    • -29
    • +4
    ./auditlog/JmxAuditLogHandlerTestCase.java
    • -27
    • +4
    ./rbac/JmxFacadeRbacEnabledTestCase.java
  1. … 7 more files in changeset.
[WFCORE-3415] Faster resource tree size calculation for getMBeanCount()

The biggest thing this does is eliminate RBAC checks as a factor in determining whether a resource appears in the count. Which means, in the case of non-addressable resources the total number of mbeans a user could "see", for example via MBeanServerConnection.queryNames, could be less than the number returned by a simultaneous call to getMBeanCount().

The other big thing this does is avoiding doing two complete counts for the jboss.as and jboss.as.expr JMX domains. There should be no difference in counts between those so if both are installed it just counts one and doubles the result.

    • -1
    • +5
    ./rbac/JmxFacadeRbacEnabledTestCase.java
  1. … 11 more files in changeset.
WFCORE-1981 don't use deprecated setAllowNull

    • -2
    • +2
    ./ModelControllerResourceDefinition.java
  1. … 111 more files in changeset.
[WFCORE-2706] Use the socket binding manager capability instead of the legacy service name

  1. … 10 more files in changeset.
[WFCORE-2598] initModel should use the model CapabilityRegistry to register or its changes are lost

Add a deployment-scanner capability as a core consumer of the path-manager capability

    • -1
    • +2
    ./auditlog/JmxAuditLogHandlerTestCase.java
    • -1
    • +2
    ./rbac/JmxFacadeRbacEnabledTestCase.java
  1. … 13 more files in changeset.
[WFCORE-2253] Clean up testsuite attributes

    • -0
    • +1
    ./ModelControllerResourceDefinition.java
  1. … 5 more files in changeset.
[WFCORE-2035] Adjust tests now InVm access is not required and authorization needs to be switched on manually.

  1. … 1 more file in changeset.
[WFCORE-610] Track the peer address using the AccessAuditContext as it is no longer contained within a Subject.

    • -6
    • +6
    ./rbac/JmxFacadeRbacEnabledTestCase.java
  1. … 9 more files in changeset.
Merge remote-tracking branch 'upstream' into remoting5_integration

  1. … 22 more files in changeset.
Change port used by JMX/remoting tests to prevent collisions

  1. … 2 more files in changeset.
Merge remote-tracking branch 'upstream/master' into remoting5_integration

  1. … 32 more files in changeset.
[WFCORE-1716] Properly handle property list patterns when specified properties are later in the PathAddress

  1. … 1 more file in changeset.
[WFCORE-1716] Properly handle property list patterns when specified properties are later in the PathAddress

  1. … 1 more file in changeset.
[WFCORE-610] Add resource definition so security domain and inflow security domains can be associated for management requests.

    • -1
    • +3
    ./auditlog/JmxAuditLogHandlerTestCase.java
    • -4
    • +4
    ./rbac/JmxFacadeRbacEnabledTestCase.java
  1. … 23 more files in changeset.
[WFCORE-610] / [WFCORE-1602] Switch to an Elytron defined SecurityIdentity for Management and JMX.

    • -2
    • +2
    ./auditlog/JmxAuditLogHandlerTestCase.java
    • -22
    • +69
    ./rbac/JmxFacadeRbacEnabledTestCase.java
    • -0
    • +6
    ./test/util/AbstractControllerTestBase.java
    • -1
    • +3
    ./test/util/TestModelControllerService.java
  1. … 35 more files in changeset.
[WFCORE-1400] If no SSLContext is referenced but we have a reference to a legacy SecurityRealm try and use the SSLContext from the legacy SecurityRealm instead.

  1. … 8 more files in changeset.
Merge branch 'WFCORE-1639' into elytron_integration

  1. … 1 more file in changeset.
Revert "[WFCORE-307]: When Wildfly fails with JBAS015810: failed to resolve interface management, it should terminate."

This reverts commit 13d8f51b79c8b976ec7a5489c94f0e8a8bda998d.

  1. … 11 more files in changeset.
[WFCORE-610] Pass through the configured SASL authentication factories and SSL context references to be used by the service.

  1. … 6 more files in changeset.