Repository navigation
Commit d86aa08
MLE-31572 release 8.2.0 (#1977)
* MLE-27481 Bumped to 8.2-SNAPSHOT
* MLE-27841 Generating javadocs on each publish
This simplifies life for the docs team by allowing them to download the zip of docs.
* MLE-27841 Bumped undertow and ml-gradle
Now using ml-gradle 6.2.0 instead of SNAPSHOT
* SECCMP-1797: Downgrade contents permission from write to read
The copyright-check reusable workflow only needs contents: read
to checkout code. contents: write was unnecessarily granting the
workflow token write access to repository contents, which expands
the blast radius of any PwnRequest-style attack.
The called workflow (copyright-check.yml) already declares its own
permissions block with contents: read.
* SECCMP-1797: Harden permissions - add top-level read, fix contents: write
Adds top-level permissions: contents: read to restrict the default
GITHUB_TOKEN. Also fixes the previous contents: write on the
copyright-validation job to contents: read.
This follows the principle of least privilege recommended in
GitHub's PwnRequest security guidance.
* PDP-1182: Remove per-repo pr-workflow.yaml
* MLE-28459 Added regression-12 arm stage (#1934)
MLE-28459 Added regression-12 arm stage
* MLE-28498 11.3.5 Test Fixes for Security Update (#1935)
* MLE-28498 Permission fixes
* MLE-28498 testResultIgnore() Test fix
* MLE-27881 Add cts.param support to Java Client API
* MLE-28334 Implement Fragment Option (#1937)
* MLE-28334 Implement Fragment Option
* MLE-28334 Copilot Suggested Fixes
+ AbstractFromSearchFragmentTest.java: Refactored FromSearchDocsWithFragmentTest.java and FromSearchWithFragmentTest.java
+ Changed JavaDoc for fromsearchDocs in PlanBuilderBase.java
* MLE-28583 Test fixes for ML12.1 (#1940)
Ignore tests that are no longer supported in ML12.
Getting the user a different way since xdmp calls have been restricted.
* MLE-30241: Apply XXE protections (#1941)
* MLE-30241: Apply XXE protections
Replace bare DocumentBuilderFactory.newInstance() in OpenCSVBatcher.write()
with XmlFactories.getDocumentBuilderFactory()
* MLE-30241 Copyright and Copilot suggestions
* MLE-30240: Redact auth headers from OkHttp logs (#1942)
* MLE-30240: Redact auth headers from OkHttp logs
Redact Authorization header from OkHttp logs
* MLE-30240 Copilot Suggestions
* MLE-30240 Refactor
Extract the OkHttp logging message handler and header-redaction logic from OkHttpServices into a dedicated RedactingHttpLogger class. Move the unit test to RedactingHttpLoggerTest in the same package. Revert CONTRIBUTING.md changes (HTTP logging docs belong in product documentation, not the contributor guide).
* MLE-30237 fix serverStartStop to prevent OS command injection (#1946)
* MLE-30237 fix string comparison operator in serverStartStop to prevent OS command injection
* MLE-30237 add -- after ssh to terminate option parsing
* MLE-30243 Ensure password is sanitized in any logging
* MLE-30667 Added toString() override to ClientCookie (#1949)
Added a toString() override that returns `name + "=" + value`.
* MLE-29888 Add cts expressions as allowable cts params
* MLE-30244 move Jenkins registry credentials to the publish stage and … (#1951)
* MLE-30244 move Jenkins registry credentials to the publish stage and validate the MARKLOGIC_IMAGE_TAGS build parameter
* MLE-30244 refine the changes as the copilot reviews
* MLE-30244 update regex for image tags.
* MLE-30244 tighten the regex for image tags
* MLE-30239 Use secure trust store
* MLE-31024 Refactor Replace/Ignore Transform Tests (#1955)
* MLE-31024 Refactor Replace/Ignore Transform Tests
* MLE-30953 MLE-30952 MLE-30968 Vulnerability fixes (#1952)
* MLE-30953
* MLE-30952
* MLE-30953 Kotlin upgrade
Upgraded Kotlin to resolve opentelemetry java vulnerability
* MLE-30952
Update logback to 1.5.37 for newer version
* MLE-30968 Bump JacksonVersion to 2.22.0
Bump jacksonVersion from 2.21.1 to 2.22.0
* MLE-30953 Bump okhttpVersion to 5.4.0
* MLE-30952 Deleting pom.xml (#1956)
Deleting pom.xml so that Black Duck does not scan it
* MLE-29643 Configure OkHttp Logging with dedicated logger (#1957)
* MLE-29643 Configure OkHttp Logging with dedicated logger
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* MLE-30967 Update CODEOWNERS
* MLE-31167 Bump jacksonVersion to 2.22.1 (#1958)
* MLE-31109 Bump kotlin plugin and remove kotlin.system.exitProcess (#1961)
* MLE-31109 Bump kotlin plugin and remove kotlin.system.exitProcess
Bump kotlin plugin from 2.4.0 to 2.4.10
Removed imported instances of kotlin.system.exitProcess from com.squareup.okhttp3:okhttp:5.4.0 vulnerable dependency org.jetbrains.kotlin:kotlin-stdlib:2.2.21
* MLE-31642 infostudio-user removal test fixes (#1962)
Removed the infostudio-user role since it has been removed from MLS.
Added the update capability to the app-user role.
These changes fixed these 3 failing tests:
- testWriteMultipleXMLDocWithXMLMetadata
- testMetadataXMLCRUD
- testRollbackMetadata
* MLE-31642 Update noSslContext Test (#1963)
* MLE-31642 Update noSslContext Test
MarkLogic 12.1 is now returning a 403 error code, like we expect, instead of closing the connection and throwing a MarkLogicIOException for ML 12.1.
-Renamed noSslContext() -> noSslContextWithMarkLogic11OrLower()
-Added RequiresML12Dot0.java to only run tests against 12.0 versions
-Renamed noSslContextWithMarkLogic12() to noSslContextWithMarkLogic12Dot0()
-noSslContextWithMarkLogic12Dot0() ExtendWith updated to new RequiresML12Dot0.class to only run against 12.0 versions
-Added noSslContextWithMarkLogic12Dot1OrHigher() for new ML 12.1 behavior
* MLE-31642 fromLexicons Test fix (#1964)
* MLE-31642 fromLexicons Test fix
propertiesFragmentShouldNotBeReturnedByFromLexicons() was failing against ML12.1 due to intended behavior change, validated in MLE-31757. The test has been updated to only run on ML version >12.0. A new test has been added to validate the new ML 12.1 fromLexicons behavior.
* MLE-31877 revert xdmp-login changes (#1966)
* MLE-31877 Removal of xdmp-login
* MLE-31877 Privilege Update
Adding back the unprotected-uri and unprotected- collections privilege removed as part of xdmp-login removal
* MLE-31877 Privilege Update
Adding "xdmp:xslt-invoke", "xdmp:xslt-eval", and "xdmp:value" to test-rest-writer role to fix tests. These were removed when java-test-xdmp-login.json was deleted.
* MLE-31874 update LICENSE file (#1965)
* MLE-31887 Refactor xdmp privileges in test-rest-writer (#1967)
* MLE-31877 Removal of xdmp-login
* MLE-31877 Privilege Update
Adding back the unprotected-uri and unprotected- collections privilege removed as part of xdmp-login removal
* MLE-31877 Privilege Update
Adding "xdmp:xslt-invoke", "xdmp:xslt-eval", and "xdmp:value" to test-rest-writer role to fix tests. These were removed when java-test-xdmp-login.json was deleted.
* MLE-31887 Refactor xdmp privileges in test-rest-writer
Moved privileges `xdmp:invoke`, `xdmp:xslt-invoke`, `xdmp:xslt-eval`, and `xdmp:value` from test-rest-writer role to new role test-invoke.
Created new user writer-no-default-invoke to use new role test-invoke.
Updated AbstractOpicUpdateTest.java to use new user writer-no-default-invoke since it needs the `xdmp:invoke` privilege
* MLE-29883 (GH #1938) Include document version in bulk reads
* MLE-32054: [java-client-api][polaris]Improper Resource Shutdown or
* MLE-31570: Generate SBOM and merge to develop
* MLE-32022 Avoid null pointer exception when FailedRequest is null
* MLE-32111 Add annotation support to StructuredQueryBuilder (#1648)
Adds StructuredQueryBuilder.annotation(String...) so callers can attach
one or more <annotation> elements to a structured query. The server turns
these into cts:annotation elements; they are ignored during evaluation and
are useful for documenting or marking parts of a query.
Annotation content may be arbitrary XML (including namespaced elements) or
plain text. Content is parsed and copied into the query via DOMWriter, with
a plain-text fallback for non-XML content. Annotations are serialized after
the query elements to satisfy the search schema's ordering requirement.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Update StructuredQueryBuilder related copyright
* MLE-31569 update NOTICE.txt for 8.2.0 release
* MLE-32227 Updating build.gradle to publish SBOM artifact (#1975)
* MLE-32227 Updating build.gradle to publish SBOM artifact
Updated the build.gradle to imbed the marklogic-client-api-<version>.spdx.json SBOM file under META-INF/sbom.
Update the publications section to publish the marklogic-client-api-<version>.spdx.json SBOM file as a stand alone artifact.
* MLE-32227 Copyright Updates
* MLE-31993 update version to 8.2.0 (#1976)
---------
Co-authored-by: Rob Rudin <rudin@progress.com>
Co-authored-by: GAdityaVarma <agottumu@progress.com>
Co-authored-by: SameeraPriyathamTadikonda <preethu4476@gmail.com>
Co-authored-by: Jonathan Miller <jonmille@progress.com>
Co-authored-by: Ryan Dew <ryan.dew@progress.com>
Co-authored-by: Ryan Dew <146854757+rjdew-progress@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: godugu@progress.com <godugu@progress.com>
Co-authored-by: ngodugu-marklogic <74939216+ngodugu-marklogic@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 67a55b0 commit d86aa08
88 files changed
Lines changed: 7671 additions & 2289 deletions
File tree
- .github
- examples/src/main
- java/com/marklogic/client/example
- cookbook
- datamovement
- extension
- handle
- resources
- marklogic-client-api-functionaltests
- src/test
- java/com/marklogic/client
- datamovement/functionaltests
- fastfunctest
- functionaltest
- metadata
- resources
- marklogic-client-api
- src
- main/java/com/marklogic/client
- datamovement
- expression
- impl
- okhttp
- query
- type
- util
- test
- java/com/marklogic/client
- impl
- okhttp
- test
- datamovement
- example/extension
- junit5
- rows
- ssl
- resources
- ml-development-tools
- src
- main/kotlin/com/marklogic/client/tools
- test/kotlin/com/marklogic/client/test/dbfunction
- test-app
- src/main
- ml-config/security
- roles
- users
- ml-modules/transforms
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | 138 | | |
141 | 139 | | |
142 | 140 | | |
| |||
189 | 187 | | |
190 | 188 | | |
191 | 189 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
200 | 219 | | |
201 | 220 | | |
202 | 221 | | |
| |||
210 | 229 | | |
211 | 230 | | |
212 | 231 | | |
213 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
214 | 240 | | |
215 | 241 | | |
216 | 242 | | |
| |||
313 | 339 | | |
314 | 340 | | |
315 | 341 | | |
316 | | - | |
| 342 | + | |
317 | 343 | | |
318 | 344 | | |
319 | 345 | | |
| |||
334 | 360 | | |
335 | 361 | | |
336 | 362 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
345 | 379 | | |
346 | 380 | | |
347 | 381 | | |
| |||
0 commit comments