This PR adds a constructor based on IServiceDscription in the corresponding controller to fix the broken test pipeline.
Motivation and Context
The unit tests written for Self-description API requires a injection of IServiceDescription in DescriptionAPIController. The injection was removed in earlier fix, therefore the tests no longer worked. Hence, bringing it back with this PR.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Manual testing, if the API works as expectation.
Screenshots (if appropriate):
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
Description
This PR adds a constructor based on IServiceDscription in the corresponding controller to fix the broken test pipeline.
Motivation and Context
The unit tests written for Self-description API requires a injection of IServiceDescription in DescriptionAPIController. The injection was removed in earlier fix, therefore the tests no longer worked. Hence, bringing it back with this PR.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Manual testing, if the API works as expectation.
Screenshots (if appropriate):
Checklist: