eclipse-aaspe / server

C# based server for AASX packages
Other
72 stars 52 forks source link

Add constructor to ServiceDescription API #341

Closed juileetikekar closed 3 months ago

juileetikekar commented 3 months ago

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: