Skip to content

Replace the deprecated SHA-1 algorithm for generating open-api token#4504

Merged
nobodyiam merged 1 commit intoapolloconfig:masterfrom
mghio:master
Aug 8, 2022
Merged

Replace the deprecated SHA-1 algorithm for generating open-api token#4504
nobodyiam merged 1 commit intoapolloconfig:masterfrom
mghio:master

Conversation

@mghio
Copy link
Copy Markdown
Contributor

@mghio mghio commented Aug 7, 2022

What's the purpose of this PR

Replace the deprecated SHA-1 algorithm for generating open-api token.

Which issue(s) this PR fixes:

Fixes #4503

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Read the Contributing Guide before making this pull request.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit tests to verify the code.
  • Run mvn clean test to make sure this pull request doesn't break anything.
  • Update the CHANGES log.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #4504 (6d10847) into master (ec658b0) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #4504      +/-   ##
============================================
+ Coverage     53.45%   53.46%   +0.01%     
- Complexity     2701     2703       +2     
============================================
  Files           490      490              
  Lines         15344    15344              
  Branches       1596     1596              
============================================
+ Hits           8202     8204       +2     
  Misses         6584     6584              
+ Partials        558      556       -2     
Impacted Files Coverage Δ
...mework/apollo/openapi/service/ConsumerService.java 58.46% <100.00%> (ø)
...gservice/service/AppNamespaceServiceWithCache.java 82.35% <0.00%> (+0.73%) ⬆️
...ervice/service/ReleaseMessageServiceWithCache.java 85.88% <0.00%> (+1.17%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Copy Markdown
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nobodyiam nobodyiam merged commit 4ca9739 into apolloconfig:master Aug 8, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2022
@nobodyiam nobodyiam added this to the 2.1.0 milestone Feb 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can we replace the deprecated SHA-1 algorithm for generating open-api token?

3 participants