-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(config): support alternate hashing algorithm for doc id #10423
Open
pinakipb2
wants to merge
37
commits into
datahub-project:master
Choose a base branch
from
pinakipb2:pb-md5-vulnerability
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
151c34f
md5 to sha256
pinakipb2 bdb04e6
add scope
pinakipb2 19ca916
Add component
pinakipb2 8ce0ab7
Adding PropertySource
pinakipb2 a3460bf
Adding component
pinakipb2 7af93c5
Use env vars for test
pinakipb2 d127d8c
lint
pinakipb2 b320b22
Updates
pinakipb2 d980b52
Inject env var
pinakipb2 b67593a
updates
pinakipb2 30a8781
Update test
pinakipb2 6e7f128
add env
pinakipb2 8a9ba47
inject env
pinakipb2 f598f3f
Updates
pinakipb2 ec66c70
Add env var to xml
pinakipb2 cfb96eb
Update test
pinakipb2 be75dbe
Inject env
pinakipb2 f5aa13f
change scope
pinakipb2 31f8466
Update scope
pinakipb2 00ca5c0
Public
pinakipb2 26fe2af
Remove PropertySource
pinakipb2 7942b21
Remove parameter
pinakipb2 58ef4b0
Updates
pinakipb2 50b80ad
Merge branch 'master' into pb-md5-vulnerability
david-leifker 794d9f5
Merge branch 'datahub-project:master' into pb-md5-vulnerability
pinakipb2 183f29a
Update TimeseriesAspectTransformer.java
pinakipb2 9a90977
Update Edge.java
pinakipb2 27c7e55
Update docker.env
pinakipb2 0da6a69
Update docker-without-neo4j.env
pinakipb2 3d08df5
Merge branch 'master' into pb-md5-vulnerability
jjoyce0510 c3054f2
Merge branch 'master' into pb-md5-vulnerability
jjoyce0510 e1b8a6a
Update run-quickstart.sh
pinakipb2 f6cf681
Merge branch 'master' into pb-md5-vulnerability
david-leifker e3a1a16
Update ElasticSearchSystemMetadataService.java
pinakipb2 09353e1
Merge branch 'master' into pb-md5-vulnerability
david-leifker c2f7992
Merge branch 'master' into pb-md5-vulnerability
david-leifker d084f22
Merge branch 'master' into pb-md5-vulnerability
david-leifker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Tip
Codebase Verification
Ensure the
idHashAlgo
configuration is utilized in theTimeseriesAspectTransformer
class.The
idHashAlgo
field is set using the@Value
annotation, but there is no evidence that it is being used in the transformation logic. This could lead to the hash algorithm configuration not being applied as intended.metadata-io/src/main/java/com/linkedin/metadata/timeseries/transformer/TimeseriesAspectTransformer.java
: Ensure theidHashAlgo
field is used in the transformation methods.Analysis chain
LGTM! But verify the usage of the new configuration.
The changes to set the hash algorithm to "MD5" in the
upsertDocument
method are correct.However, ensure that the new configuration is correctly utilized throughout the codebase.
Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 612
Script:
Length of output: 148
Script:
Length of output: 144
Script:
Length of output: 411
Script:
Length of output: 159