Skip to content

Conversation

@mykolamalik
Copy link
Contributor

olp::authentication::AuthenticationSettings and olp::authentication::Settings
structs are extended with RetrySettings.

AuthentificationClientImpl now uses user defined retry settings instead of hardcoded values.

Fixed double token request bug in TokenProvider.

Relates-To: OLPEDGE-2634, OLPSUP-15460

Signed-off-by: Mykola Malik ext-mykola.malik@here.com

@codecov
Copy link

codecov bot commented Sep 28, 2021

Codecov Report

Merging #1251 (80c07bc) into master (dd53a5d) will increase coverage by 0.1%.
The diff coverage is 100.0%.

❗ Current head 80c07bc differs from pull request most recent head eccdc7a. Consider uploading reports for the commit eccdc7a to get more accurate results
Impacted file tree graph

@@           Coverage Diff            @@
##           master   #1251     +/-   ##
========================================
+ Coverage    85.2%   85.3%   +0.1%     
========================================
  Files         360     361      +1     
  Lines       12934   12939      +5     
========================================
+ Hits        11022   11036     +14     
+ Misses       1912    1903      -9     
Impacted Files Coverage Δ
...nclude/olp/authentication/AuthenticationSettings.h 100.0% <ø> (ø)
...thentication/include/olp/authentication/Settings.h 100.0% <ø> (ø)
...k-core/include/olp/core/client/OlpClientSettings.h 100.0% <ø> (ø)
olp-cpp-sdk-core/src/client/RetrySettings.cpp 100.0% <ø> (ø)
...ication/include/olp/authentication/TokenProvider.h 52.9% <100.0%> (+1.4%) ⬆️
...dk-authentication/src/AuthenticationClientImpl.cpp 81.1% <100.0%> (+0.5%) ⬆️
...k-authentication/src/AuthenticationClientUtils.cpp 98.0% <100.0%> (-<0.1%) ⬇️
olp-cpp-sdk-authentication/src/TokenEndpoint.cpp 89.8% <100.0%> (+0.2%) ⬆️
...p-sdk-core/include/olp/core/client/RetrySettings.h 100.0% <100.0%> (ø)
... and 4 more

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 dd53a5d...eccdc7a. Read the comment docs.

Copy link
Contributor

@mykhailo-kuchma mykhailo-kuchma left a comment

Choose a reason for hiding this comment

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

Looks good

olp::authentication::AuthenticationSettings and
olp::authentication::Settingsstructs are extended with RetrySettings.

AuthentificationClientImpl now uses user defined retry settings
instead of hardcoded values.

Fixed double token request bug in TokenProvider.

Relates-To: OLPEDGE-2634, OLPSUP-15460

Signed-off-by: Mykola Malik <ext-mykola.malik@here.com>
@mykolamalik mykolamalik merged commit 25c48da into master Sep 29, 2021
@mykolamalik mykolamalik deleted the task/olpedge-2634 branch September 29, 2021 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants