Repository navigation
fix(QTDI-2101): mark Schema methods with JsonbTransient - #1119
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR marks Schema interface methods with @JsonbTransient annotation to exclude them from JSON serialization and updates one method implementation to return an empty list instead of throwing an exception.
- Added
@JsonbTransientannotations togetEntryMap()andgetEntriesOrdered()methods in the Schema interface - Changed
getEntriesOrdered()implementation in Schemas.java to returnemptyList()instead of throwingUnsupportedOperationException - Added
@JsonbTransientannotation togetEntriesOrdered(Comparator<Entry>)method in Schemas.java
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| component-api/src/main/java/org/talend/sdk/component/api/record/Schema.java | Added JsonbTransient annotations to prevent serialization of utility methods |
| component-runtime-impl/src/main/java/org/talend/sdk/component/runtime/record/Schemas.java | Added JsonbTransient annotation and changed exception to return empty list |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
undx
approved these changes
Oct 30, 2025
thboileau
added a commit
that referenced
this pull request
Oct 28, 2026
Transposes the Schemas.java part of #1119 (QTDI-2101): getEntriesOrdered() returns an empty list and getEntriesOrdered(Comparator) is @JsonbTransient. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
thboileau
added a commit
that referenced
this pull request
Oct 28, 2026
Transposes the Schemas.java part of #1119 (QTDI-2101): getEntriesOrdered() returns an empty list and getEntriesOrdered(Comparator) is @JsonbTransient. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
thboileau
added a commit
that referenced
this pull request
Oct 29, 2026
2 backports and one specific fix for code, several fixes for CI: - https://qlik-dev.atlassian.net/browse/QTDI-2101 - https://qlik-dev.atlassian.net/browse/QTDI-113: only the part for the junit4 tests of component-runtime-testing module - gradle-core dependency: due to a recent update of the oss.sonatype.org repository, dependencies has been explicitly added - CI: upgrade of trivy version and complete missing parts of CI. * chore(QTDI-3696): Align Jenkinsfile with master and add SONAR profile Fixes the Sonar analysis failing with "profile SONAR not found" on maintenance/1.64: - take Jenkinsfile and .jenkins/settings.xml from master (Sonar token credentials, tqa-e2e-tests-tool 2.6.13-ttp2, split Nexus/Sonatype/ GitHub Packages deploy stages) - add the SONAR profile and the sonar-maven-plugin management to pom.xml Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(QTDI-3696): move daikon logging-event-layout to ci-build profile Backport of ddc5dae from master. The dependency is only needed in Jenkins builds; resolving it elsewhere (e.g. the GitHub "Automatic Dependency Submission" submit-maven check) fails with a 401 on the TalendOpenSourceRelease Nexus. Jenkins sets JENKINS_URL so CI and release builds still include it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(QTDI-3696): backport API test CI setup from master The TCOMP-api-test job fails on maintenance/1.64 because its pod still uses the legacy root docker:19.03.1-dind sidecar (the docker-daemon container terminates with ContainerError) and its Jenkinsfile calls .jenkins/scripts/asdf_install.sh, which does not exist on this branch. Take talend-component-maven-plugin/src/it/web/.jenkins/ as-is from master (rootless dind pod and PVCs, JenkinsPodConfig/JenkinsStatusController helpers, /home/jenkins paths). Only CI files are touched. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(QTDI-3656): Upgrade JDK to 17.0.21+9 for CVE-2026-91403 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix(QTDI-3656): Bump TSBI base image to 5.3.25 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Ensure to get org.gradle modules from the grade repository * fix(QTDI-3656): add @JsonbTransient to Schema.getEntriesOrdered() JDK-8339822 (17.0.14+) changed java.beans.Introspector behavior for default interface methods, so JSON-B started serializing 'entriesOrdered'. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix(QTDI-3656): add @JsonbTransient to Schema.getEntryMap() Same JDK-8339822 Introspector change: JSON-B now calls the default getEntryMap() which throws UnsupportedOperationException, causing HTTP 500 in ActionResourceImplTest.checkSchemaSerialization. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix(QTDI-3656): align Schemas with Schema JsonbTransient changes Transposes the Schemas.java part of #1119 (QTDI-2101): getEntriesOrdered() returns an empty list and getEntriesOrdered(Comparator) is @JsonbTransient. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix(QTDI-3656): set explicit Accept header in HTTP capture tests The JDK's default HttpURLConnection Accept header changed in recent 17.0.x updates ('*; q=.2, */*; q=.2' -> '*/*; q=0.2'). Set it explicitly as already done on master. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Revert "fix(QTDI-3656): backport API test CI setup from master" This reverts commit a405c5f. These changes were pushed here by mistake; they belong on QTDI-3696 (#1305). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Revert "fix(QTDI-3656): move daikon logging-event-layout to ci-build profile" This reverts commit b110b5a. These changes were pushed here by mistake; they belong on QTDI-3696 (#1305). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(QTDI-3656): declare gradle-core transitive modules explicitly A gradle-core:3.0 pom cached from a repository serving a stub (central) is reused whatever the repositories order, leaving its transitive modules (gradle-base-services, -logging, ...) off the classpath and failing the compilation of the Gradle plugin. These modules only exist on repo.gradle.org. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: fdesiles <52663885+fdesiles@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

0 New Issues
0 Fixed Issues
0 Accepted Issues
Requirements
Why this PR is needed?
What does this PR adds (design/code thoughts)?