-
Notifications
You must be signed in to change notification settings - Fork 261
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
Create Jackson object mapper, readers and writers at class level #7251
Conversation
Signed-off-by: Alexandra Bucur <[email protected]>
Signed-off-by: Alexandra Bucur <[email protected]>
...i/openmetadata/accessservices/analyticsmodeling/fvt/synchronization/SynchronizationTest.java
Outdated
Show resolved
Hide resolved
...i/openmetadata/accessservices/analyticsmodeling/fvt/synchronization/SynchronizationTest.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/odpi/openmetadata/conformance/client/OpenMetadataConformanceTestReport.java
Show resolved
Hide resolved
...ters/repositoryservices/graphrepository/repositoryconnector/GraphOMRSRelationshipMapper.java
Show resolved
Hide resolved
Signed-off-by: Alexandra Bucur <[email protected]> Co-authored-by: sonatype-lift[bot] <37194012+sonatype-lift[bot]@users.noreply.github.com>
Signed-off-by: Alexandra Bucur <[email protected]>
Signed-off-by: Alexandra Bucur <[email protected]>
4dc20d9
to
8ecd1f7
Compare
...ain/java/org/odpi/openmetadata/accessservices/subjectarea/outtopic/SubjectAreaPublisher.java
Show resolved
Hide resolved
...i/openmetadata/accessservices/analyticsmodeling/fvt/synchronization/SynchronizationTest.java
Show resolved
Hide resolved
Signed-off-by: Alexandra Bucur <[email protected]>
Signed-off-by: Alexandra Bucur <[email protected]>
Let's wait before we merge this; we may need to first merge #7138 then resolve small conflicts in this one. |
� Conflicts: � open-metadata-implementation/access-services/asset-consumer/asset-consumer-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/assetconsumer/connectors/outtopic/AssetConsumerOutTopicServerConnector.java � open-metadata-implementation/access-services/asset-manager/asset-manager-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/assetmanager/connectors/outtopic/AssetManagerOutTopicServerConnector.java � open-metadata-implementation/access-services/asset-owner/asset-owner-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/assetowner/connectors/outtopic/AssetOwnerOutTopicServerConnector.java � open-metadata-implementation/access-services/community-profile/community-profile-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/communityprofile/connectors/outtopic/CommunityProfileOutTopicServerConnector.java � open-metadata-implementation/access-services/data-engine/data-engine-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/dataengine/connectors/intopic/DataEngineInTopicClientConnector.java � open-metadata-implementation/access-services/data-manager/data-manager-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/datamanager/connectors/outtopic/DataManagerOutTopicServerConnector.java � open-metadata-implementation/access-services/digital-architecture/digital-architecture-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/digitalarchitecture/connectors/outtopic/DigitalArchitectureOutTopicServerConnector.java � open-metadata-implementation/access-services/governance-engine/governance-engine-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/governanceengine/connectors/outtopic/GovernanceEngineOutTopicServerConnector.java � open-metadata-implementation/access-services/it-infrastructure/it-infrastructure-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/itinfrastructure/connectors/outtopic/ITInfrastructureOutTopicServerConnector.java � open-metadata-implementation/access-services/security-manager/security-manager-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/securitymanager/connectors/outtopic/SecurityManagerOutTopicServerConnector.java � open-metadata-implementation/access-services/security-officer/security-officer-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/securityofficer/connectors/outtopic/SecurityOfficerOutTopicServerConnector.java � open-metadata-implementation/access-services/stewardship-action/stewardship-action-topic-connectors/src/main/java/org/odpi/openmetadata/accessservices/stewardshipaction/connectors/outtopic/StewardshipActionOutTopicServerConnector.java � open-metadata-implementation/repository-services/repository-services-apis/src/main/java/org/odpi/openmetadata/repositoryservices/connectors/omrstopic/OMRSTopicConnector.java
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.
Approve with minor comment (remove unused local objectMapper object)
...n/java/org/odpi/openmetadata/repositoryservices/connectors/omrstopic/OMRSTopicConnector.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Alexandra Bucur <[email protected]>
...a/adapters/repositoryservices/graphrepository/repositoryconnector/GraphOMRSEntityMapper.java
Show resolved
Hide resolved
...rs/repositoryservices/graphrepository/repositoryconnector/GraphOMRSClassificationMapper.java
Show resolved
Hide resolved
🛠 Lift Auto-fixSome of the Lift findings in this PR can be automatically fixed. You can download and apply these changes in your local project directory of your branch to review the suggestions before committing.1 # Download the patch
curl https://lift.sonatype.com/api/patch/github.com/odpi/egeria/7251.diff -o lift-autofixes.diff
# Apply the patch with git
git apply lift-autofixes.diff
# Review the changes
git diff Want it all in a single command? Open a terminal in your project's directory and copy and paste the following command: curl https://lift.sonatype.com/api/patch/github.com/odpi/egeria/7251.diff | git apply Once you're satisfied commit and push your changes in your project. Footnotes |
Description
In order to improve performance overall, I removed all object mappers creation inside methods and instantiate the object at class level as a static final member.