-
Notifications
You must be signed in to change notification settings - Fork 3
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
ALFREDAPI-548-split [Add] Alfresco V23.1 & V23.2 support #221
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already writing down the few things we discussed as reminders.
apix-integrationtests-server/src/main/java/eu/xenit/apix/server/ApplicationContextSetter.java
Outdated
Show resolved
Hide resolved
apix-integrationtests-server/src/main/java/eu/xenit/apix/server/ApplicationContextProvider.java
Outdated
Show resolved
Hide resolved
apix-integrationtests-server/src/main/java/eu/xenit/apix/server/ApplicationContextSetter.java
Show resolved
Hide resolved
apix-integrationtests/alfresco/src/main/java/eu/xenit/apix/tests/BaseTest.java
Outdated
Show resolved
Hide resolved
...grationtests/alfresco/src/main/java/eu/xenit/apix/tests/metadata/NodeServiceTestJavaApi.java
Outdated
Show resolved
Hide resolved
...ntests/alfresco/src/main/java/eu/xenit/apix/tests/search/SearchServiceFacetsTestJavaApi.java
Outdated
Show resolved
Hide resolved
...resco/src/main/java/eu/xenit/apix/tests/versionhistory/VersionHistoryServiceTestJavaApi.java
Outdated
Show resolved
Hide resolved
apix-impl/src/main/java/eu/xenit/apix/alfresco/versionhistory/VersionHistoryService.java
Outdated
Show resolved
Hide resolved
apix-integrationtests-server/src/main/java/eu/xenit/apix/server/Server.java
Outdated
Show resolved
Hide resolved
apix-integrationtests-server/src/main/java/eu/xenit/apix/util/AlfrescoServerInfo.java
Show resolved
Hide resolved
apix-integrationtests-server/src/main/java/eu/xenit/apix/util/SolrTestHelperImpl.java
Outdated
Show resolved
Hide resolved
...integrationtests-server/src/test/java/eu/xenit/apix/server/AlfrescoApplicationContextIT.java
Outdated
Show resolved
Hide resolved
apix-integrationtests/alfresco/src/main/java/eu/xenit/apix/rest/v1/tests/AssociationsTest.java
Outdated
Show resolved
Hide resolved
apix-integrationtests/alfresco/src/main/java/eu/xenit/apix/rest/v1/tests/CommentsTest.java
Outdated
Show resolved
Hide resolved
apix-integrationtests/alfresco/src/main/java/eu/xenit/apix/rest/v1/tests/NodeContentTest.java
Outdated
Show resolved
Hide resolved
apix-integrationtests/alfresco/src/main/java/eu/xenit/apix/tests/JavaApiBaseTest.java
Outdated
Show resolved
Hide resolved
apix-integrationtests/alfresco/src/main/java/eu/xenit/apix/tests/JavaApiBaseTest.java
Outdated
Show resolved
Hide resolved
...ntests/alfresco/src/main/java/eu/xenit/apix/tests/search/SearchServiceFacetsTestJavaApi.java
Outdated
Show resolved
Hide resolved
...ests/alfresco/src/main/java/eu/xenit/apix/tests/filefolder/FileFolderServiceTestJavaApi.java
Outdated
Show resolved
Hide resolved
...ts/alfresco/src/main/java/eu/xenit/apix/tests/transaction/TransactionServiceTestJavaApi.java
Outdated
Show resolved
Hide resolved
...resco/src/main/java/eu/xenit/apix/tests/versionhistory/VersionHistoryServiceTestJavaApi.java
Outdated
Show resolved
Hide resolved
apix-integrationtests/alfresco/src/test/java/eu/xenit/apix/util/AlfrescoServerInfoTest.java
Show resolved
Hide resolved
7fbe374
to
0c64c48
Compare
eb9975c
to
97e109b
Compare
apix-rest-v1/src/main/java/eu/xenit/apix/rest/CheckTomcatConfiguration.java
Outdated
Show resolved
Hide resolved
cf13fd0
to
b2fd670
Compare
Question @codingBenVdS : with the rename of |
apix-impl/src/main/java/eu/xenit/apix/alfresco/CheckTomcatConfiguration.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. You need a rebase though.
* [Delete] Alfresco V7.0 - V7.4 support * Too many breaking changes: * JDK11 => JDK17 * javax => jakarta
…egration-tests without DE * [Broken] integration-tests are broken. The webscripts are currently not loaded in the running alfresco.
* Only supports Alfresco V23.1.0 && V23.2.1 * Javax => Jakarta Library * JDK 11 => JDK 17 * Dynamic-Extensions (DE) support dropped. Removed any plugin with DE for Alfresco 23.1 23.2 support * Changed the 'eu.xenit.alfresco-remote-testrunner' to JUnit-remote testrunner using nano-http technology. * Added JUnit-server subproject that sets up the server + makes the application context statically available * Read-in the static application-context to have all Alfresco/Apix beans available for the integration-tests. * Set Integration-tests Helper classes into the server subproject to make them available on the runtime-classpath for integration-tests * Used to be done via DE-OSGI-bundle magic (Swapping application-context during runtime). Current situation all integration-tests should be fixed besides 7 failing tests. All failing due to Postmapping not working correctly. "File not received" (Tests fail in Postman aswell).
* Added integration-tests port 4578 to docker-build Alfresco V23.2
…e dispatchServlet of Tomcat10 to allow MuliPartConfiguration and multiple forwadr slashes. * [REMARK] This fix will only run in the Alfred-API docker-compose. This has to be implemented on the imported projects. * context.xml file has to be copied to ${TOMCAT_HOME}/webapps/alfresco/META-INF/context.xml * [Integration-test] VersionHistoryService has a weird apix issue. * createVersion via the apix Implementation returns a license RO-issue. (Alfresco is not in RO-mode) * Solved by changing apixVersionHistory to AlfrescoVersionHistory Bean...
* Change severity of some logging. * Implement getBeans method in the BaseClass * Trying to Set Beans into the ApplicationContext will not be possible This is due to the setup not triggering the context initialization process making our own applicationContext unavailable for updates Meaning we cannot add beans to work with Autowire.
* Reverted JAcksonObjectMapper fix.
* [Cleanup] clean-up some old code + Formatting ALFREDAPI-548 [test] ALFREDAPI-548 [test] ALFREDAPI-548 [Test] Move task out of all/subprojects ALFREDAPI-548 [Test] Check docker-compose versino in ci * Build fails on ci but succeeds locally ALFREDAPI-548 [Test] Setup docker-compose installation (not present in ci build) ALFREDAPI-548 [Test] Set docker-compose into container ALFREDAPI-548 [Test] Fix ci build
* Update docker-alfresco v5.3.1 => v5.5.0 * fix docker-compose down issue locally
4b512b4
to
9010ddb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR is approved & Reviewed by Wim C. Looks like this is overruling the approval.
[Add] Alfresco V23.1 - V23.2 support
Breaking changes:
* JDK11 --> JDK 17
* Library changes from Javax to Jakarta
* Tomcat V10.1: this comes with a breaking change in the dispatchservlet, blocking the MultiPart handling and blocks double forward slashes
* [Fix] has to be deployed from your tomcat image! You will have to update your META-INF/context.xml in tomcat. See subproject apix-docker.
* Dropped all support for older Alfresco version prior to V23.1 just as alfresco-mvc
Fixes https://xenitsupport.jira.com/browse/ALFREDAPI-548
Breaking changes include adding, changing or removing endpoints and/or JSON objects used in requests and responses.
@ExceptionHandler
in the webscript classes?this.
prefix avoided?See README.md for full explanation.