Again, as part of the project here in "El Corte Ingles" in Spain, we have detected another issue that we wanted to address and contribute to the project. Basically, we like the idea of being able to modify the API bundles on runtime, and not having to save different artifacts (zips) for every of the environments that we may have. So we have introduced a step in the import process to replace wildcards with velocity in the api.json file of the API bundle zip.
The idea is working fine, but before doing the pull request, I wanted to separate our custom implementation of the Template interface that we have created from the solution. But as the solution is a war that is loaded as an application, I don't see a good way to try to load the implementation from somewhere else. I've tried to leave the jar file with only the implementation in the repository/components/lib folder of the APIM, but it of course fails due to a ClassNotFound (because the interface can't be found in the OSGI bundle that was created from the jar file).
Do you have a way to try and resolve the split of interface and different implementations of this, so that the classloading is not a problem? The only way I could come up with is basically forking the app and including the custom implementation as a dependency, but I wanted to avoid that.
I hope this is clear, if not, please don't hesitate to ask.
Thank you for your help,
Jose Maria.
www.elcorteingles.es
-------------------------------------------------------------------------------------------------------------------
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener información confidencial, siendo para uso exclusivo del destinatario, quedando prohibida su divulgación copia o distribución a terceros sin la autorización expresa del remitente. Si Vd. ha recibido este mensaje erróneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboración.
This message (including any attachments) may contain confidential information. It is intended for use by the recipient only. Any dissemination, copying or distribution to third parties without the express consent of the sender is strictly prohibited. If you have received this message in error, please delete it immediately and notify the sender. Thank you for your collaboration.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
