feat(api): adjust API services to start first at startup by halibobo1205 · Pull Request #5711 · tronprotocol/java-tron

Conversation

@halibobo1205

What does this PR do?
Adjust API services to start first at startup.

Why are these changes required?
To avoid the API service port occupied by other services, such as the P2P service.

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

xxo1shine

@codecov-commenter

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.63%. Comparing base (fd852c7) to head (0c38d7d).
Report is 19 commits behind head on release_v4.7.4.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@                 Coverage Diff                  @@
##             release_v4.7.4    #5711      +/-   ##
====================================================
+ Coverage             66.62%   66.63%   +0.01%     
- Complexity            10217    10220       +3     
====================================================
  Files                   886      886              
  Lines                 53598    53598              
  Branches               5925     5926       +1     
====================================================
+ Hits                  35711    35717       +6     
+ Misses                15098    15092       -6     
  Partials               2789     2789              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.