[jboss-jira] [JBoss JIRA] (WFCORE-4836) (7.3.z) Validate composite operation steps just before executing them

Bartosz Spyrko (Jira) issues at jboss.org
Thu Feb 6 07:49:01 EST 2020


Bartosz Spyrko created WFCORE-4836:
--------------------------------------

             Summary: (7.3.z) Validate composite operation steps just before executing them
                 Key: WFCORE-4836
                 URL: https://issues.redhat.com/browse/WFCORE-4836
             Project: WildFly Core
          Issue Type: Enhancement
          Components: Management
            Reporter: Bartosz Spyrko
            Assignee: Yeray Borges
             Fix For: 9.0.0.Beta7, 9.0.0.Final


Say we have a composite operation with 2 steps:

1) /extension=org.jboss.as.messaging:add
2) /subsystem=messaging:add

This will fail:

Failed to execute batch: JBAS014739: No handler for add at address
[("subsystem" => "messaging")] 

This fails because at the time of validation the /subsystem=messaging:add is not valid.

To illustrate, the execution order is

Validate 1-2
1
2

A possible solution is to convert this to the following:

V1
1
V2 (works now because 1 has registered the subsystem API)
2

I think that should work but it's a very complex area, particularly in a managed domain, so it's not at all certain this would prove feasible. 



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list