indigo-dc / orchestrator

The INDIGO PaaS Orchestrator
https://www.indigo-datacloud.eu/paas-orchestrator
Apache License 2.0
17 stars 20 forks source link

Fix scopes retrieval from configuration #415

Closed maricaantonacci closed 3 years ago

maricaantonacci commented 3 years ago

Read orchestrator scopes from "oidc" properties if present, otherwise use hard-coded default.

sonarcloud[bot] commented 3 years ago

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

12.5% 12.5% Coverage
0.0% 0.0% Duplication

warning The version of Java (1.8.0_252) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 11. Read more here

codecov-io commented 3 years ago

Codecov Report

Merging #415 (d191ba2) into master (22a1c38) will decrease coverage by 0.05%. The diff coverage is 14.28%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #415      +/-   ##
============================================
- Coverage     57.26%   57.21%   -0.06%     
  Complexity     1091     1091              
============================================
  Files           227      227              
  Lines          7177     7187      +10     
  Branches        475      476       +1     
============================================
+ Hits           4110     4112       +2     
- Misses         2884     2892       +8     
  Partials        183      183              
Flag Coverage Δ Complexity Δ
integration 7.09% <14.28%> (+0.01%) 0.00 <0.00> (ø)
unittests 53.30% <14.28%> (-0.05%) 0.00 <0.00> (ø)

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

Impacted Files Coverage Δ Complexity Δ
...ator/service/security/OAuth2TokenCacheService.java 16.03% <0.00%> (-0.16%) 2.00 <0.00> (ø)
...orchestrator/config/properties/OidcProperties.java 23.25% <20.00%> (-0.28%) 6.00 <0.00> (ø)

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 22a1c38...d191ba2. Read the comment docs.