-
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
Backport 5.x/testing imporvements #236
base: master-5.x
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
@@ -2,7 +2,7 @@ version: '2' | |||
|
|||
services: | |||
alfresco-core: | |||
image: ${DOCKER_IMAGE} | |||
image: ${DOCKER_IMAGE:-private.docker.xenit.eu/alfresco-enterprise/alfresco-repository-enterprise:7.0} |
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.
These defaults can lead to silent failures when the image is not built. I prefer to keep them out.
@@ -23,6 +23,7 @@ ext { | |||
jackson_version = '2.8.3' | |||
care4alfVersion = '2.3.0' | |||
http_version = '4.3.4' // Used by integration tests | |||
ootbee_version = '1.2.2.0' // Used in docker image for testing |
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.
Since this is only used once, why not keep it locally, close to where it is used? It makes development easier since there is less switching needed.
AuthenticationUtil.runAsSystem( | ||
() -> transactionHelper.doInTransaction( | ||
() -> { | ||
NodeRef companyHome = nodeLocator.getNode(CompanyHomeNodeLocator.NAME, null, null); |
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.
Be aware there is also https://github.com/xenit-eu/alfred-api/blob/master/alfred-api-integrationtests-client/alfresco/src/main/java/eu/xenit/alfred/api/tests/JavaApiBaseTest.java#L53 which may overlap? Non-blocking...
Testing improvements made for https://xenitsupport.jira.com/browse/ALFREDAPI-566
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.