-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rest controllers do not work if added as part of aps-extension-jar #65
Comments
Hi Dilip, APS SDK creates the If you are deploying your extensions without using the Please let me know if you need more informations. |
Thanks @OpenPj for quick response and details. Do you know what could be the reason for it? |
Ohhh I see 😮 , thank you so much @dilip-chenani for raising this issue, it's a problem to solve and it was created for the old versions of the APS SDK. The initial version of the APS SDK was based on the Now we have a module totally dedicated to create the It's up to developers then to choose the right approach for their build process but we have to solve this problem to avoid any classloading issue. We could leave the command inside the Dockerfile commented and if someone needs it, they only need to uncomment it for enabling it. |
I added something in the latest commit 1.8.0-SNAPSHOT (main trunk) we don't have an official release yet, @dilip-chenani feel free to clone the main trunk and test everything. Hopefully tomorrow we will have two new releases for both the SDKs 😄 |
If you are using APS SDK 1, I have just released APS SDK 1.8.0: APS SDK 2.2.0 is coming soon... 😄 |
Released with APS SDK 2.2.0 and APS SDK 1.8.0 |
Rest controllers do not work if added as part of aps-extension-jar.
We created the custom rest endpoint following this document : https://docs.alfresco.com/process-services/latest/develop/dev-ext/#custom-rest-endpoints. There is also a "note" mentioned in documentation about same :
Note: Due to classloading, it is currently not possible to put jars with these custom rest endpoints in the global or common classpath (for example tomcat/lib for Tomcat). They should be put in the web application classpath (for example WEB-INF/lib).
The text was updated successfully, but these errors were encountered: