Skip to content

Bump co.elastic.clients:elasticsearch-java from 8.14.3 to 9.1.3#417

Closed
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/maven/develop/co.elastic.clients-elasticsearch-java-9.1.3
Closed

Bump co.elastic.clients:elasticsearch-java from 8.14.3 to 9.1.3#417
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/maven/develop/co.elastic.clients-elasticsearch-java-9.1.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 26, 2025

Bumps co.elastic.clients:elasticsearch-java from 8.14.3 to 9.1.3.

Release notes

Sourced from co.elastic.clients:elasticsearch-java's releases.

v9.1.3

What's Changed

Bugfix: elasticsearch server 9.1.2 made changes to the HTTP content aggregation logic, causing some requests to fail if the Rest5Client with HTTP2 is used. Anyone using this configuration (elasticsearch server 9.1.2, java client Rest5Client, HTTP2) should immediately update to version 9.1.3 or 9.0.7 of the client.

Full Changelog: elastic/elasticsearch-java@v9.1.2...v9.1.3

v9.1.2

What's Changed

Full Changelog: elastic/elasticsearch-java@v9.1.1...v9.1.2

v9.1.1

What's Changed

Full Changelog: elastic/elasticsearch-java@v9.1.0...v9.1.1

v9.1.0

What's Changed

Check the official release notes - in particular the breaking changes.

Features and Enhancements:

Full Changelog: elastic/elasticsearch-java@v9.0.4...v9.1.0

v9.0.7

What's Changed

Bugfix: elasticsearch server 9.1.2 made changes to the HTTP content aggregation logic, causing some requests to fail if the Rest5Client with HTTP2 is used. Anyone using this configuration (elasticsearch server 9.1.2, java client Rest5Client, HTTP2) should immediately update to version 9.1.3 or 9.0.7 of the client.

Full Changelog: elastic/elasticsearch-java@v9.0.6...v9.0.7

v9.0.6

What's Changed

Full Changelog: elastic/elasticsearch-java@v9.0.5...v9.0.6

v9.0.5

What's Changed

Full Changelog: elastic/elasticsearch-java@v9.0.4...v9.0.5

v9.0.4

What's Changed

Reintroduced callback functions to allow in depth configuration of Rest5ClientBuilder, like the legacy RestClientBuilder has. Examples:

</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [co.elastic.clients:elasticsearch-java](https://github.com/elastic/elasticsearch-java) from 8.14.3 to 9.1.3.
- [Release notes](https://github.com/elastic/elasticsearch-java/releases)
- [Changelog](https://github.com/elastic/elasticsearch-java/blob/main/CHANGELOG.md)
- [Commits](elastic/elasticsearch-java@v8.14.3...v9.1.3)

---
updated-dependencies:
- dependency-name: co.elastic.clients:elasticsearch-java
  dependency-version: 9.1.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 26, 2025
@github-actions github-actions bot added the major-update Major Dependency Update label Aug 26, 2025
@github-actions
Copy link
Contributor

Test Results

8 tests   - 88   8 ✅  - 87   3s ⏱️ - 1m 20s
5 suites  - 34   0 💤  -  1 
5 files    - 34   0 ❌ ± 0 

Results for commit 36d47e2. ± Comparison against base commit dc0126d.

This pull request removes 88 tests.
io.redlink.more.studymanager.ApplicationTest ‑ contextLoads
io.redlink.more.studymanager.configuration.ComponentConfigurationTest ‑ testConfig
io.redlink.more.studymanager.controller.studymanager.CalendarControllerTest ‑ testGetStudyTimeline
io.redlink.more.studymanager.controller.studymanager.ComponentControllerTest ‑ testComponentSpecificEndpointDoesNotExist
io.redlink.more.studymanager.controller.studymanager.ComponentControllerTest ‑ testComponentSpecificEndpointExists
io.redlink.more.studymanager.controller.studymanager.ImportExportControllerTest ‑ testExportParticipants
io.redlink.more.studymanager.controller.studymanager.ImportExportControllerTest ‑ testImportExportStudy
io.redlink.more.studymanager.controller.studymanager.InterventionControllerTest ‑ testAddIntervention
io.redlink.more.studymanager.controller.studymanager.InterventionControllerTest ‑ testPostAndPutOfAction
io.redlink.more.studymanager.controller.studymanager.InterventionControllerTest ‑ testUpdateAndGetTrigger
…

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 2, 2025

Superseded by #418.

@dependabot dependabot bot closed this Sep 2, 2025
@dependabot dependabot bot deleted the dependabot/maven/develop/co.elastic.clients-elasticsearch-java-9.1.3 branch September 2, 2025 17:26
westei pushed a commit that referenced this pull request Sep 10, 2025
…tps://github.com/MORE-Platform/more-studymanager-frontend/issues/417))

### AuditLog

The AuditLog includes:

* id - a unique id created by the DB
* created - the timestamp when the log was written to the database
* userId - the id of the authenticated user
* studyId - the id of the affected user
* Action - for now the full signature of the audited method
* State: `success`, `redirect`, `error` or `unknown`: Determined based on the method results. If applicable based on the http-status, `error` in case of an exception. `unknown` if it can not be determined
* timestamp - when the audited method completed
* resource - currently unused
* details: This includes additional information that are stored as JSON serialized string in the audit log
    * `param_<param-name>` additional parameters of the audited call. NOTE the maximum length of the JSON serialization of a parameter is limited via a config
    * `user_roles` - all roles assigned to the authenticated user for the given request
    * `header_content-type` the `content-type` http header
    * `header_location` the `location` http header

### Storage

The auditLog is stored in the MORE database in the table `audit_logs`

### Configuration

```yaml
  audit:
    # the study.status to audit (fallback if not set: all)
    study-states:
      - active
      - paused
      - closed
     details-byte-limit: 1000
```

The `study-states` define the states of studies where audit logging is active. If not set audit logs are active in all states. The `details-byte-limit` defines the maximum size of JSON String for parameter so that the serialization is included in the details of the audit log. This applies mainly to JSON parameters parsed in requests, but might also be triggered by long String values.

### Implementation

Auditing is implemented using Spring AoP (aspect oriented programming). The Aspect is bound to functionality (`JoinPoint`) using the `@Audited` Annotation. Only Methods with this annotation are considered for audit logging. The implementation assumes usage in `@RestController`, but is strictly not limited to it

Example Usage:

```java
    @OverRide
    @RequiresStudyRole(StudyRole.STUDY_ADMIN)
    @Audited
    public ResponseEntity<StudyDTO> setStatus(Long studyId, StatusChangeDTO statusChangeDTO) {
```
The affected `studyId` is extracted

* based on a `Long` parameter with the name `studyId`
* based on the return value being a `ResponseEntity<StudyDTO>` a `StudyDTO` or a `Study`

if the `studyId` can not be determined an Exception is thrown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code major-update Major Dependency Update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants