[overlord-issues] [JBoss JIRA] (SRAMP-580) Server-side autodetection of artifact types
Brett Meyer (JIRA)
issues at jboss.org
Wed Nov 19 13:21:39 EST 2014
[ https://issues.jboss.org/browse/SRAMP-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021295#comment-13021295 ]
Brett Meyer commented on SRAMP-580:
-----------------------------------
https://developer.jboss.org/message/910780
> Server-side autodetection of artifact types
> -------------------------------------------
>
> Key: SRAMP-580
> URL: https://issues.jboss.org/browse/SRAMP-580
> Project: S-RAMP
> Issue Type: Feature Request
> Reporter: Brett Meyer
> Assignee: Brett Meyer
>
> Currently, artifact type autodetection exists in multiple forms, nearly all of them client-side. The Maven Wagon inspects the deployment URL and makes assumptions. The UI checks file extensions.
> Instead, move a more complete set of artifact-inspection logic server-side. Some semblance of this already exists, to a certain degree. For example, ZipToSrampArchiveProvider#accept(ArtifactType) already exists, but is currently used only to determine which module should expand the artifact. But, the concept could be used to define the artifact type based on the new artifact. It would require a hierarchy of sorts where the most "specialized" integrations (Switchyard, RTGov, DTGov, etc.) are considered first. If none of those "accept" the artifact, the next tier (more generic types) are considered.
> The logic could be a mix of filename regex, archive inspection (ex: look for switchyard.xml), etc.
> This should completely replace all other types of client-side logic.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the overlord-issues
mailing list