xmidt-org / wrp-go

go implementation of the Web Routing Protocol
Apache License 2.0
4 stars 7 forks source link

Make Header Use Consistent #119

Closed renaz6 closed 1 year ago

renaz6 commented 1 year ago

Closes #118 Make header use consistent by ensuring that wrp-go accepts both header prefixes: X-Xmidt-* and X-Midt-*

github-advanced-security[bot] commented 1 year ago

You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

codecov[bot] commented 1 year ago

Codecov Report

Merging #119 (ad7f918) into main (90d9d24) will increase coverage by 0.61%. The diff coverage is 96.96%.

@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
+ Coverage   51.08%   51.69%   +0.61%     
==========================================
  Files          24       24              
  Lines        3958     4008      +50     
==========================================
+ Hits         2022     2072      +50     
  Misses       1760     1760              
  Partials      176      176              
Flag Coverage Δ
unittests 51.69% <96.96%> (+0.61%) :arrow_up:

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

Impacted Files Coverage Δ
wrphttp/decoders.go 75.00% <0.00%> (ø)
wrphttp/headers.go 97.44% <98.46%> (+0.57%) :arrow_up:

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

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

95.5% 95.5% Coverage
0.0% 0.0% Duplication