-
Notifications
You must be signed in to change notification settings - Fork 1
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
XENOPS-1201 Cleanup ; Added Alfresco 7.x; Dropped Alfresco 7.0 and lower #62
Conversation
todorinskiz
commented
Dec 20, 2024
- Dropped Alfresco 5 and 6
- Added Alfresco 7.1, 7.2, 7.3, 7.4
- Dropped secret in favor of TLS
- Dropped obsolete Jar shadowing
- Dropped obsolete boms
- Fixed log4j2 bug (limited to docker compose and minimal log4j2.properties config)
- Fixed bug in integration test where files used for testing were no longer available
extendsFrom(internalPlatform) | ||
} | ||
} | ||
//description = "Alfresco Repository module for ${rootProject.description}" |
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.
I don't understand why, but gradle couldn't add module.properties when the descriptions were set. Some bug in Alfresco Gradle SDK?
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.
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':alfresco-health-processor-platform:testAmp'.
Caused by: org.gradle.api.GradleException: Could not add file '/git/xenit/alfresco-health-processor/alfresco-health-processor-platform/build/processTestModuleProperties/module.properties' to ZIP '/git/xenit/alfresco-health-processor/alfresco-health-processor-platform/build/dist/alfresco-health-processor-platform-0.5.7-SNAPSHOT-test.amp'.
Caused by: groovy.lang.GroovyRuntimeException: Failed to parse template script (your template may contain an error or be trying to use expressions not currently supported): startup failed:
SimpleTemplateScript4.groovy: 1: Unexpected character: '"' @ line 1, column 13.
out.print("""module.description=Alfresco Repository module for Alfresco Health Processor\: A background processor capable of performing various operations on the nodes in your Alfresco repository, in a batched and controlled manner
30310ee
to
68245a0
Compare
….4; Dropped secret in favor of TLS; Dropped obsolete Jar shadowing; Dropped obsolete boms; Fixed log4j2 bug (limited to docker compose and minimal log4j2.properties config; Fixed bug in integration test where files used for testing were no longer available;
68245a0
to
c64cc51
Compare
|
||
javax.net.ssl.SSLContext sslContext = SSLContexts.custom() | ||
.loadKeyMaterial(keyStore, keyPasswordChars) | ||
.loadTrustMaterial(trustStore, (chain, authType) -> true) // Use default trust strategy |
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.
Is this really what this code is supposed to do? This is unsafe.
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.
Could you change "Use default trust strategy" to "Accept any certificate" here?
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.
Discussed this in person with Zlatin; approved.
Quality Gate failedFailed conditions |