<div dir="ltr"><div><div><div>The problem with that is that the majority of the time this would be a mistake on the users part (at the moment it is 100% of the time, as we only deploy stuff we know how to process).<br><br></div>I think that ideally this should be pluggable. It would be easy enough to make DeploymentRootMountProcessor handle different file types (for instance add an AttachmentList of known REAL file types, and then install a DUP before it to add .ddl to the list).<br><br></div>Using capabilities and requirements we could probably add something similar to the deployment scanner as well, basically your subsystem would look for the deployment scanner capability, and if it is installed we could have some API to add additional file types (although this may be a bit racey, as the service may not know all file types for the initial scan, which could give odd results in some circumstances. There is probably a solution to this but I can't think of one off the top of my head).</div><div><br></div>Stuart<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 12, 2017 at 6:51 AM, Ramesh Reddy <span dir="ltr"><<a href="mailto:rareddy@redhat.com" target="_blank">rareddy@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It would be good if the logic can be changed such that any thing other than with extension jar,war,ear and zip to consider them as file based deployments rather than zip archive based deployments.<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
> I’ll defer to our deployment processing gurus re the mount question.<br>
><br>
> As an aside though, for this to work with the deployment-scanner subsystem<br>
> we’ll need to add some logic. Right now it would just ignore the file.<br>
><br>
> > On Jan 11, 2017, at 8:34 AM, Ramesh Reddy <<a href="mailto:rareddy@redhat.com">rareddy@redhat.com</a>> wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > For Teiid project (<a href="http://teiid.org" rel="noreferrer" target="_blank">http://teiid.org</a>), we typically deploy a .xml or .VDB<br>
> > (zip archive) file to define a virtual database artifact. We are planning<br>
> > to deliver a feature where a virtual database is written in DDL, for this<br>
> > we would like to deploy a file artifact like "foo-vdb.ddl".<br>
> ><br>
> > I have written deployment processors for it, and added DEPLOYMENT_ROOT<br>
> > mounter to recognize the deployment artifact etc, however during the<br>
> > deployment scanning, WildFly always looks at anything other than ".xml"<br>
> > file as zip archive, or a exploded zip archive, so that it can do VFS<br>
> > mount on that file. I would like to add this ".ddl" extension file exactly<br>
> > similar to ".xml" file. Is there any way to achieve this?<br>
> ><br>
> > Thank you.<br>
> ><br>
> > Ramesh..<br>
> > ______________________________<wbr>_________________<br>
> > wildfly-dev mailing list<br>
> > <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
> > <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
><br>
> --<br>
> Brian Stansberry<br>
> Manager, Senior Principal Software Engineer<br>
> JBoss by Red Hat<br>
><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> wildfly-dev mailing list<br>
> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
<br>
______________________________<wbr>_________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a></div></div></blockquote></div><br></div>