Collection-Remote-Integrity: Integration
This MR aims to make Collection-Remote-Integrity K8s-ready: First, testing locally. Then in Docker network.
- Connection from REQ-Manager to Remote Integrity works
Issues:
-
The Collect
function blocks (grpc.WithBlock()
) since I didn't specify a valid serviceID. What should we use for testing? Alternatively, we may could use mocking stuff from the tests? - A timeout (
context.WithTimeout
) is introduced -
conn, err := grpc.Dial(serviceId, grpc.WithInsecure(), grpc.WithBlock())
also uses deprecatedgrpc.WithInsecure()
-
Configuration, both target and certificate, now in RawConfiguration instead of misusing serviceID
Edited by Cristina Pauna