<div dir="ltr">Here’s what TorqueBox used to use:<div><br></div><div><a href="https://github.com/projectodd/jboss-polyglot/blob/master/modules/core/src/main/java/org/projectodd/polyglot/core/processors/DescriptorRootMountProcessor.java">https://github.com/projectodd/jboss-polyglot/blob/master/modules/core/src/main/java/org/projectodd/polyglot/core/processors/DescriptorRootMountProcessor.java</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 12, 2017 at 10:30 AM, Ramesh Reddy <span dir="ltr">&lt;<a href="mailto:rareddy@redhat.com" target="_blank">rareddy@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><div>Bob,<br></div><div><br></div><div>Can you please point me to your code references for this?</div><div><br>Ramesh..</div><div><br></div><hr id="m_7093280792083666700zwchr"><div><div class="h5"><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><div>TorqueBox allows deployment of .yaml files. It&#39;s pluggable enough. </div><div><br></div><div>Bob</div><div><br><div class="gmail_quote"><div>On Wed, Jan 11, 2017 at 3:32 PM Stuart Douglas &lt;<a href="mailto:stuart.w.douglas@gmail.com" target="_blank">stuart.w.douglas@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_7093280792083666700gmail_msg"><div class="m_7093280792083666700gmail_msg"><div class="m_7093280792083666700gmail_msg"><div class="m_7093280792083666700gmail_msg">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 class="m_7093280792083666700gmail_msg"><br class="m_7093280792083666700gmail_msg"></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 class="m_7093280792083666700gmail_msg"><br class="m_7093280792083666700gmail_msg"></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&#39;t think of one off the top of my head).</div></div><div class="m_7093280792083666700gmail_msg"><div class="m_7093280792083666700gmail_msg"><br class="m_7093280792083666700gmail_msg"></div>Stuart<br class="m_7093280792083666700gmail_msg"><div class="m_7093280792083666700gmail_msg"><div class="m_7093280792083666700gmail_msg"><div class="m_7093280792083666700gmail_msg"><br class="m_7093280792083666700gmail_msg"><br class="m_7093280792083666700gmail_msg"></div></div></div></div><div class="gmail_extra m_7093280792083666700gmail_msg"><br class="m_7093280792083666700gmail_msg"><div class="gmail_quote m_7093280792083666700gmail_msg">On Thu, Jan 12, 2017 at 6:51 AM, Ramesh Reddy <span class="m_7093280792083666700gmail_msg">&lt;<a href="mailto:rareddy@redhat.com" class="m_7093280792083666700gmail_msg" target="_blank">rareddy@redhat.com</a>&gt;</span> wrote:<br class="m_7093280792083666700gmail_msg"><blockquote class="gmail_quote m_7093280792083666700gmail_msg" 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 class="m_7093280792083666700gmail_msg"><br><div><br></div><div class="m_7093280792083666700m_1001439287456802577HOEnZb m_7093280792083666700gmail_msg"><div class="m_7093280792083666700m_1001439287456802577h5 m_7093280792083666700gmail_msg"><br class="m_7093280792083666700gmail_msg"><br><div><br></div>----- Original Message -----<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; I’ll defer to our deployment processing gurus re the mount question.<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; As an aside though, for this to work with the deployment-scanner subsystem<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; we’ll need to add some logic. Right now it would just ignore the file.<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; On Jan 11, 2017, at 8:34 AM, Ramesh Reddy &lt;<a href="mailto:rareddy@redhat.com" class="m_7093280792083666700gmail_msg" target="_blank">rareddy@redhat.com</a>&gt; wrote:<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; Hi,<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; For Teiid project (<a href="http://teiid.org" rel="noreferrer" class="m_7093280792083666700gmail_msg" target="_blank">http://teiid.org</a>), we typically deploy a .xml or .VDB<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; (zip archive) file to define a virtual database artifact. We are planning<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; to deliver a feature where a virtual database is written in DDL, for this<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; we would like to deploy a file artifact like &quot;foo-vdb.ddl&quot;.<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; I have written deployment processors for it, and added DEPLOYMENT_ROOT<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; mounter to recognize the deployment artifact etc, however during the<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; deployment scanning, WildFly always looks at anything other than &quot;.xml&quot;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; file as zip archive, or a exploded zip archive, so that it can do VFS<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; mount on that file. I would like to add this &quot;.ddl&quot; extension file exactly<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; similar to &quot;.xml&quot; file. Is there any way to achieve this?<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; Thank you.<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; Ramesh..<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; ______________________________<wbr>_________________<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; wildfly-dev mailing list<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; <a href="mailto:wildfly-dev@lists.jboss.org" class="m_7093280792083666700gmail_msg" target="_blank">wildfly-dev@lists.jboss.org</a><br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" class="m_7093280792083666700gmail_msg" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; --<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; Brian Stansberry<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; Manager, Senior Principal Software Engineer<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; JBoss by Red Hat<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt;<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; ______________________________<wbr>_________________<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; wildfly-dev mailing list<br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; <a href="mailto:wildfly-dev@lists.jboss.org" class="m_7093280792083666700gmail_msg" target="_blank">wildfly-dev@lists.jboss.org</a><br class="m_7093280792083666700gmail_msg"><br><div><br></div>&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" class="m_7093280792083666700gmail_msg" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br class="m_7093280792083666700gmail_msg"><br><div><br></div><br class="m_7093280792083666700gmail_msg"><br><div><br></div>______________________________<wbr>_________________<br class="m_7093280792083666700gmail_msg"><br><div><br></div>wildfly-dev mailing list<br class="m_7093280792083666700gmail_msg"><br><div><br></div><a href="mailto:wildfly-dev@lists.jboss.org" class="m_7093280792083666700gmail_msg" target="_blank">wildfly-dev@lists.jboss.org</a><br class="m_7093280792083666700gmail_msg"><br><div><br></div><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" class="m_7093280792083666700gmail_msg" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a></div></div></blockquote></div><br class="m_7093280792083666700gmail_msg"></div><br><div><br></div>______________________________<wbr>_________________<br class="m_7093280792083666700gmail_msg"><br>wildfly-dev mailing list<br class="m_7093280792083666700gmail_msg"><br><a href="mailto:wildfly-dev@lists.jboss.org" class="m_7093280792083666700gmail_msg" target="_blank">wildfly-dev@lists.jboss.org</a><br class="m_7093280792083666700gmail_msg"><br><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" class="m_7093280792083666700gmail_msg" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a></blockquote></div></div>
<br>______________________________<wbr>_________________<br>wildfly-dev mailing list<br><a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a></blockquote><div><br></div></div></div></div></div></blockquote></div><br></div>