Commit f45d6fa3 authored by Jeremie Guillemotte's avatar Jeremie Guillemotte

Add TODO and comments

parent 388b2415
......@@ -596,11 +596,14 @@
</artifactItems>
<!-- other configurations here -->
<outputDirectory>target/classes/appJars</outputDirectory>
<!-- TODO : copy dependencies directly in global folder lib instead of target/classes ... -->
<!-- Remove hack in ServiceManagerImpl -->
<!--<outputDirectory>${user.home}/Documents/frascati-studio/lib</outputDirectory>-->
<!--<transitive>true</transitive>-->
</configuration>
</execution>
</executions>
</plugin>
</plugin>
</plugins>
<pluginManagement>
......
......@@ -173,6 +173,9 @@ public class ServiceManagerImpl implements ServiceManager {
// HACK for Discovery proxy app
// Copy required jar in app lib folder
// Get *.jar from folder httpDiscoveryProxyJars
// TODO : Once maven OK
// - a : copy required dependencies directmy in global lib folder (eg : ${user.home}/Documents/frascati-studio/lib)
// - b : copy HTTP proxy dependencies in cloud war lib folder
try{
URL jarFolderURL = this.getClass().getResource("/appJars");
if(jarFolderURL != null){
......@@ -197,6 +200,7 @@ public class ServiceManagerImpl implements ServiceManager {
// EASYSOA HACK START
// This hack make a copy of cxf proxy intent configuration file for each Proxy WS App created on Frascati studio
// TODO : Copy this file in a global resources folder instead of copy it in each application
try{
URL intentConfUrl = this.getClass().getResource("/cxfProxyIntentConf/cxfProxyIntentConf.composite");
if(intentConfUrl != null){
......
......@@ -22,7 +22,14 @@
<!-- Author: Michel Dirix -->
<!-- -->
<!-- Contributor(s): Antonio de Almeida Souza Neto, Philippe Merle -->
<!-- -->
<!--
<!--
Easysoa Frascati studio composite with custom app templates
TODO : Use an include tag with the easysoa.composite file instead of a raw copied and modified easysoa.composite file.
-->
-->
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
xmlns:frascati="http://frascati.ow2.org/xmlns/sca/1.1" xmlns:web="http://frascati.ow2.org/xmlns/web/1.0"
xmlns:sca="http://tuscany.apache.org/xmlns/sca/1.0" name="EasySOA">
......
......@@ -54,9 +54,14 @@
<interface.wsdl interface="$arg0["url"]#wsdl.interface($arg0["port"])"/>
</service>
<reference name="wsdl-delegated" promote="proxy-$arg0["compositeName"]/wsdlReference">
<!--<binding.ws name="wsdl" wsdlElement="$arg0["target"]/#wsdl.port($arg0["service"]/$arg0["port"])" wsdli:wsdlLocation="$arg0["url"]"/>-->
<binding.ws name="wsdl" wsdlElement="$arg0["target"]/#wsdl.port($arg0["service"]/$arg0["port"])" wsdli:wsdlLocation="$arg0["url"]"/>
<!-- requires attribute added to add the proxy intent each time a Proxy WS app is created -->
<!-- TODO : Add a conditionnal argument or a velocity test on a not null injected reference to add or not the cxfProxyIntent -->
#[[
#if($arg0["cxf-proxy-intent"] == "true")
<!--<binding.ws name="wsdl" requires="cxfProxyIntentConf" wsdlElement="$arg0["target"]/#wsdl.port($arg0["service"]/$arg0["port"])" wsdli:wsdlLocation="$arg0["url"]"/>-->
#end
]]#
<interface.wsdl interface="$arg0["url"]#wsdl.interface($arg0["port"])"/>
</reference>
</composite>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment