[jboss-jira] [JBoss JIRA] (WFCORE-456) Add a content-stream attribute to the root deployment=* resources

Brian Stansberry (JIRA) issues at jboss.org
Fri Aug 12 14:32:00 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reassigned WFCORE-456:
---------------------------------------

    Assignee: ehsavoie Hugonnet


Emmanuel, this is another one that I think your :read-content work covers, so I'm assigning it to you to resolve as out of date or whatever once you've got the :read-content stuff done.

> Add a content-stream attribute to the root deployment=* resources
> -----------------------------------------------------------------
>
>                 Key: WFCORE-456
>                 URL: https://issues.jboss.org/browse/WFCORE-456
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: ehsavoie Hugonnet
>
> Add a new attribute to the deployment resource that allows the user to get a stream with the deployment content attached to the response, a la what we do with the subsystem=logging/log-file=* resource's "stream" attribute.
> The attribute must be configured as runtime-only and read-only.
> The read handler that handles the attribute should only attach a stream if the following conditions are met, otherwise the value for the attribute should remain as 'undefined'.
> 1) The resource's "content" attribute has only a single element in the list. (This is always the case today; adding a check for this is just future proofing)
> 2) The first element in the "content" attribute list has a defined value in its "hash" field. (This confirms the content is stored in the content repo. We won't support serving unmanaged content as we have insufficient control over it.)
> 3) The first element in the "content" attribute list has a 'true' as value of its "archive" field.  (Current this will always be the case; this is future proofing for when we add support for exploded content in the content repo. Trying to assemble a stream from exploded content is currently out of scope for this feature.)



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list