Integration Broker, 3rd party service handler

Hi folks,

In frappe V 7.1 we are introducing Integration Broker. Integration Broker is a common platform for 3rd party Integrations.

For a first cut, we have introduced four integrations as part of framework

  • PayPal
  • Razorpay
  • LDAP Authentication
  • DropBox backup upload (re-written as per new design)

What Is Integration Service Broker ?

Why?

  1. Avoid application duplication
  2. To code reuse
  3. Code Maintainability

Ref : Integration broker by saurabh6790 · Pull Request #1968 · frappe/frappe · GitHub

Example:

Introducing new service:

  1. Add Service name in frappe/hooks.py
integration_services = ["PayPal", "Razorpay", "Dropbox Integration", "LDAP Auth"]
  1. Create controller for service.

ref for developer:

Configuring Service:

  1. If service is not pre-created then create new service by selecting service name from dropdown. To
    create integration service, Setup > Integrations > Integration Service

  2. Next step is, setup credentials for respective service,

17 Likes