[jboss-jira] [JBoss JIRA] (WFCORE-873) Resource alias operation inconsistencies

Brian Stansberry (JIRA) issues at jboss.org
Wed Aug 19 14:16:26 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099927#comment-13099927 ] 

Brian Stansberry commented on WFCORE-873:
-----------------------------------------

I prefer 2) but perhaps with a twist.

Long ago I got a request for a more narrowly scoped context. Something scoped to the branch of the tree formed by addStep calls. Basically it facilitates communication between those "related" steps without affecting/being visible to unrelated steps.

If you can make 2) work without needing to get into that kind of thing, great. It's late in the release cycle for fundamental new stuff. But I suspect you may have issues related to scoping, e.g. in a composite op. If so, ^^^ is something to keep in mind.

I'm not sure what semantics of a more narrowly scoped context should be. Probably has a ref to a parent, root being the OC itself. And can automatically find attachments by searching up the tree. But what about the rules for modifications?

> Resource alias operation inconsistencies
> ----------------------------------------
>
>                 Key: WFCORE-873
>                 URL: https://issues.jboss.org/browse/WFCORE-873
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Heiko Braun
>            Assignee: Kabir Khan
>            Priority: Critical
>             Fix For: 2.0.0.Beta3
>
>
> Formlery we could request the ../eviction=EVICTION resource. I assume that with the resource name change a transformer kicks that redirects the request to the ../component" => "eviction resource. The response header however contains the wrong address, which prevents clients to correlate the request with the response. 
> *In HAL this breaks the access control mechanism.*
> {noformat}
> [domain at localhost:9990 /] /profile=full/subsystem=infinispan/cache-container=*/invalidation-cache=*/eviction=EVICTION:read-resource-description
> {
>     "outcome" => "success",
>     "result" => [{
>         "address" => [
>             ("profile" => "full"),
>             ("subsystem" => "infinispan"),
>             ("cache-container" => "*"),
>             ("invalidation-cache" => "*"),
>             ("component" => "eviction")
>         ],
>         "outcome" => "success",
>  [...]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list