Adapters
Adapters are responsible for obfuscating the partner interactions by abstracting them to the higher level business action being performed. These components serve to decouple a system from it's third party dependencies. This decoupling is achieved by defining the interfaces to these adapters in the system's context and naming conventions, and by removing third party code from our critical business units, increasing our ability to change partners without breaking the system.
Qualities
- May contain data relevant to managing a third party relationship
- Contains business logic needed to abstract a third party request(s)
- Can be considered a wrapper over third party services
- Leveraged by one or more Orchestrators or Assessors within their domain