sofastack / sofa-boot

SOFABoot is a framework that enhances Spring Boot and fully compatible with it, provides readiness check, class isolation, etc.
https://www.sofastack.tech/sofa-boot/docs/Home
Apache License 2.0
4.97k stars 1.27k forks source link

Fix components end point #1078

Closed crazysaltfish closed 1 year ago

crazysaltfish commented 1 year ago

fix "components" endpoint when componentInfo.getApplicationContext() is null

codecov[bot] commented 1 year ago

Codecov Report

Merging #1078 (eb3721d) into master (40caa51) will decrease coverage by 0.01%. The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master    #1078      +/-   ##
============================================
- Coverage     11.24%   11.24%   -0.01%     
  Complexity       41       41              
============================================
  Files           325      325              
  Lines          9320     9321       +1     
  Branches       1280     1280              
============================================
  Hits           1048     1048              
  Misses         8114     8114              
- Partials        158      159       +1     
Impacted Files Coverage Δ
...ctuator/components/SofaBootComponentsEndPoint.java 96.15% <66.66%> (-3.85%) :arrow_down:

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