Skip to content
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: Removal of Orb ID #837

Merged
merged 1 commit into from
Oct 25, 2021
Merged

feat: Removal of Orb ID #837

merged 1 commit into from
Oct 25, 2021

Conversation

DRK3
Copy link
Collaborator

@DRK3 DRK3 commented Oct 25, 2021

  • Removed Orb ID parameter since it's not needed. The DB expiry service now always uses a randomly generated ID. The warning that gets logged when the Orb ID wasn't explicitly set has also been removed.
  • Changed the log statement in the expiry service that informs when one server takes over the duty from another server from a warning to an info log. Since Orb instances are expected to potentially go offline or be replicated as needed, this seems more appropriate. The log message was also updated so that it doesn't state that this switching indicates an issue anymore.
  • Also removed an outdated TODO comment since it's been addressed already.

Signed-off-by: Derek Trider Derek.Trider@securekey.com

@cla-bot cla-bot bot added the cla-signed label Oct 25, 2021
- Removed Orb ID parameter since it's not needed. The DB expiry service now always uses a randomly generated ID. The warning that gets logged when the Orb ID wasn't explicitly set has also been removed.
- Changed the log statement in the expiry service that informs when one server takes over the duty from another server from a warning to an info log. Since Orb instances are expected to potentially go offline or be replicated as needed, this seems more appropriate. The log message was also updated so that it doesn't state that this switching indicates an issue anymore.
- Also removed an outdated TODO comment since it's been addressed already.

Signed-off-by: Derek Trider <Derek.Trider@securekey.com>
@codecov
Copy link

codecov bot commented Oct 25, 2021

Codecov Report

Merging #837 (1578617) into main (0488fa1) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #837      +/-   ##
==========================================
+ Coverage   89.37%   89.44%   +0.06%     
==========================================
  Files         145      145              
  Lines       12758    12747      -11     
==========================================
- Hits        11402    11401       -1     
+ Misses        836      828       -8     
+ Partials      520      518       -2     
Impacted Files Coverage Δ
cmd/orb-server/startcmd/params.go 79.88% <ø> (-0.05%) ⬇️
cmd/orb-server/startcmd/start.go 73.70% <100.00%> (ø)
pkg/store/expiry/expiry.go 89.83% <100.00%> (ø)
...pub/service/inbox/httpsubscriber/httpsubscriber.go 100.00% <0.00%> (+9.87%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5ca0872...1578617. Read the comment docs.

@DRK3 DRK3 marked this pull request as ready for review October 25, 2021 21:41
@fqutishat fqutishat merged commit d00015d into trustbloc:main Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants