Using the Adapter SDK in Mashery Local with Multiple Processors in One Eclipse Project

To use the Adapter SDK in Mashery Local with multiple processors in one Eclipse project, follow the steps below:

Procedure

  1. Create a new Maven Project "ComboAdapter" in Eclipse, then add dependencies, as described in Using the Adapter SDK in Mashery Local with a Single Processor.
    The project layout should look like the following:

  2. Add the classes for three custom processors as shown below:

  3. Build the project in the folder, for example:
    cd /home/beta/work_diysdk/ComboAdapter
    mvn package
  4. Use a simple zip command to package the project in the folder, for example:
    /home/beta/work_diysdk/ComboAdapter/target
    zip ComboAdapter-1.0.zip ComboAdapter-1.0.jar
  5. Unload the zipped package using Mashery Local Cluster Manager.
  6. Apply the Custom Processor on the Endpoint using Mashery SaaS Control Center.