When you want to create new extension then follow these steps:
See Development info for more details.
Each extension must have Spring XML configuration file that completelly initializes specific extension.
Each extension is initialized in independent Spring context, see Dynamic extension loading for more details. |
Use parent class org.openhubframework.openhub.api.route.AbstractExtRoute for imlementation of extension routes.
If there are specific error codes then implement ErrorExtEnum with your codes.
Enumeration of external systems (ExternalSystemExtEnum) or enumeration of services (ServiceExtensionEnum) is in common module of OpenHub framework extension project.
Each extension can have own XSD/WSDL resources for converting to Java - use jaxb_global_bindings.xjb file from common module.
Don't forget to implement unit tests and write comprehensive info about extension to wiki. Add new page under OpenHub framework extensions page.