Petals ESB Container

Calling JMXContainerAdministration.getTopology() to get JBI artifacts with an invalid passphrase should fail

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 5.0.2
  • Fix Version/s: 5.1.0
  • Component/s: Administration
  • Security Level: Public
  • Description:
    Hide

    Currently,

    If calling JMXContainerAdministration.getTopology() with an invalid passphrase and retrieveJbiArtifacts to true, then the artifacts are not retrieved for all containers (except the first one for which we have the credentials) and the passphrase failure is silent.

    Basically, the idea is that if I ask for the artifacts, I either want them, or I want the command to fail.
    So instead, an exception should be thrown because of the invalid passphrase.

    The problem is that retrieveJbiArtifacts set to true should imply that TopologyService.retrieveTopology() should be called with isSensibleInformationExpected set to true!

    Show
    Currently, If calling JMXContainerAdministration.getTopology() with an invalid passphrase and retrieveJbiArtifacts to true, then the artifacts are not retrieved for all containers (except the first one for which we have the credentials) and the passphrase failure is silent. Basically, the idea is that if I ask for the artifacts, I either want them, or I want the command to fail. So instead, an exception should be thrown because of the invalid passphrase. The problem is that retrieveJbiArtifacts set to true should imply that TopologyService.retrieveTopology() should be called with isSensibleInformationExpected set to true!
  • Environment:
    -

Activity

People

Dates

  • Created:
    Fri, 25 Nov 2016 - 12:41:37 +0100
    Updated:
    Fri, 2 Dec 2016 - 17:34:56 +0100
    Resolved:
    Fri, 2 Dec 2016 - 17:34:56 +0100