Interface InterlinkClient

All Known Implementing Classes:
DefaultInterlinkClient

public interface InterlinkClient
Universal API for connecting to other microservices in the ecosystem. Behind the scenes, this may result in a local reflective call, or an HTTPS call, depending on configuration and immediate FlexPackage residency.
  • Method Summary

    Modifier and Type
    Method
    Description
    Execute a request against another microservice
  • Method Details

    • invoke

      @Nullable String invoke(InterlinkRequest request)
      Execute a request against another microservice
      Parameters:
      request - Information about the request
      Returns:
      The response from the call to the other microservice. The response JSON is returned raw. If required, this response can be converted to a concreate POJO via Jackson's ObjectMapper.