Thanks @Harald_Meyer! We’ll look into this solution!
In the meanwhile we started implementing the REST calls using a org.springframework.web.client.RestTemplate. Do you know the main differences or dis/advantages between the two solutions?
The main benefit of RestConnector is that is is managed by the Microservice SDK so you do not have to care about credentials. It is somewhat limited especially when it comes to post and put methods as it expects to interact with the Cumulocity API. So parameters and return types have to implement ResourceRepresentation.
Note that Spring Framework’s RestTemplate is in maintenance mode. Instead you can for example also use the HttpRequest implementation of Java.