Closed SumanthKodali999 closed 1 year ago
Due to the constraints in Go related to mocking objects through interface definitions, It will be challenging to mock certain concrete types such as *ClusterScraper(GetKubernetesServiceID)
within the BuildDTOs
function for unit testing. Additionally, transitioning to an interface might introduce complications, as certain functions remain undefined within the interface definition of ClusterScraperInterface
Intent
Sample:
Background
Changes are as follows
Testing
Entity properties in the discovery response
Discovery successful
Topology Dump Entity Properties
Checklist
These are the items that must be done by the developer and by reviewers before the change is ready to merge. Please
strikeoutany items that are not applicable, but don't delete themAudience
(@ mention any
review/...
groups or people that should be aware of this merge request)