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(BUX-170): add pulse config #313

Merged
merged 12 commits into from
Oct 12, 2023
Merged

Conversation

pawellewandowski98
Copy link
Contributor

Description

  • Add Pulse config

Additional links

@pawellewandowski98 pawellewandowski98 self-assigned this Oct 2, 2023
@mergify mergify bot added the feature Any new significant addition label Oct 2, 2023
@mergify
Copy link
Contributor

mergify bot commented Oct 2, 2023

Welcome to our open-source project @pawellewandowski98! 💘

@@ -246,6 +246,15 @@ func (s *AppServices) loadBux(ctx context.Context, appConfig *AppConfig, testMod
))
}

if appConfig.UseBeef {

if appConfig.Pulse == nil || appConfig.Pulse.PulseURL == "" || appConfig.Pulse.PulseAuthToken == "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually PulseAuthToken shouldn't be required. Because you can deploy Pulse without authorization.

"use_beef": true,
"pulse": {
"pulse_url": "http://localhost:8000/api/v1/chain/merkleroot/verify",
"pulse_auth_token": "Bearer asd"
Copy link
Contributor

Choose a reason for hiding this comment

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

this is counterintuitive that we should provide prefix Bearer in a token configuration

@pawellewandowski98 pawellewandowski98 changed the title [DRAFT] feat(BUX-170): add pulse config feat(BUX-170): add pulse config Oct 6, 2023
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #313 (f04414f) into master (3e5eb1a) will increase coverage by 0.76%.
The diff coverage is 42.85%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #313      +/-   ##
==========================================
+ Coverage   33.21%   33.98%   +0.76%     
==========================================
  Files          42       42              
  Lines        1424     1430       +6     
==========================================
+ Hits          473      486      +13     
+ Misses        926      919       -7     
  Partials       25       25              
Flag Coverage Δ
unittests 33.98% <42.85%> (+0.76%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
config/config.go 100.00% <ø> (ø)
config/services.go 42.33% <42.85%> (+3.55%) ⬆️

Continue to review full report in Codecov by Sentry.

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

@pawellewandowski98 pawellewandowski98 merged commit 2f7e9e8 into master Oct 12, 2023
10 checks passed
@mergify mergify bot deleted the feat-add-Pulse-config branch October 12, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Any new significant addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants