futurewei-cloud / alcor

Alcor: Cloud native SDN platform powered by Kubernetes and Istio
MIT License
32 stars 33 forks source link

[Enhancement] Verify Project Id for DB query #502

Closed Gzure closed 3 years ago

Gzure commented 3 years ago

Verify project id in DB query when no token is passed to Alcor microservices.

codecov-io commented 3 years ago

Codecov Report

Merging #502 (6728d10) into master (eb9f2ff) will decrease coverage by 0.01%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #502      +/-   ##
============================================
- Coverage     35.64%   35.62%   -0.02%     
+ Complexity     1161     1160       -1     
============================================
  Files           467      467              
  Lines         11311    11311              
  Branches       1456     1456              
============================================
- Hits           4032     4030       -2     
- Misses         6723     6724       +1     
- Partials        556      557       +1     
Impacted Files Coverage Δ Complexity Δ
...alcor/portmanager/util/RestParameterValidator.java 41.53% <0.00%> (-3.08%) 13.00% <0.00%> (-1.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 eb9f2ff...6728d10. Read the comment docs.