Changeset 29624

Show
Ignore:
Timestamp:
01/25/08 13:05:22 (10 months ago)
Author:
onazarov
Message:

Datasources and invoker's service.xml patched

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nuxeo-ep/trunk/jboss-patch/src/main/xsl/jboss-service.xsl

    r29621 r29624  
    134134  </xsl:template> 
    135135 
    136   <!-- Making sure EAR deployer depends on HTTPS invoker  --> 
     136  <!-- We remove attribute[InvokerURLPrefix] as redundant --> 
     137  <xsl:template match="mbean/attribute[@name='InvokerURLPrefix']"> 
     138                <xsl:comment>Nuxeo patch: removing attribute[InvokerURLPrefix]</xsl:comment> 
     139  </xsl:template> 
     140 
     141  <!-- We remove attribute[InvokerURLPrefix] as evil --> 
     142  <xsl:template match="mbean/attribute[@name='UseHostName']"> 
     143                <xsl:comment>Nuxeo patch: removing attribute[UseHostName]</xsl:comment> 
     144  </xsl:template> 
     145 
     146  <!-- We replace attribute[InvokerURLSuffix] and attribute[InvokerURL] with proper attribute[InvokerURL] --> 
     147  <xsl:template match="mbean/attribute[@name='InvokerURLSuffix']"> 
     148                <xsl:comment>Nuxeo patch: replacing attribute[InvokerURLSuffix]</xsl:comment><xsl:text> 
     149         </xsl:text><attribute name="InvokerURL"><xsl:value-of select="concat('https://${https.hostname}/invoker/',substring-after(text(),'/invoker/'))"/></attribute> 
     150  </xsl:template> 
     151 
     152  <!-- We replace attribute[InvokerURLSuffix] and attribute[InvokerURL] with proper attribute[InvokerURL] --> 
     153  <xsl:template match="mbean/attribute[@name='InvokerURL']"> 
     154                <xsl:comment>Nuxeo patch: replacing attribute[InvokerURL]</xsl:comment><xsl:text> 
     155         </xsl:text><attribute name="InvokerURL"><xsl:value-of select="concat('https://${https.hostname}/invoker/',substring-after(text(),'/invoker/'))"/></attribute> 
     156  </xsl:template> 
     157 
     158  <!-- Making sure EAR deployer depends on HTTPS invoker --> 
    137159  <xsl:template match="mbean[@name='jboss.j2ee:service=EARDeployer']/attribute[1]"> 
    138160    <xsl:copy>