If you want to start to implement new integration project (implement new routes) then you have the following options:
This approach supposes to use OpenHub framework admin GUI as is (without any additional changes) with adding dependencies to external projects/libraries with route implementations. This approach is very similar how works OpenHub framework extensions, specifically look at How to implement new extensions.
There is one big difference between extensions and adding Project routes to OpenHub - extensions are initialized in own Spring child context but when you add external project routes then you use same Spring context like other routes implemented directly in OpenHub framework. |
This approach has several steps:
You can use Dynamic extension loading functionality even if you don't implement extensions, you can use extension/external library concept for initialization. Use extensions.cfg (or extensions0.cfg) and add parameter for external library. This approach has advantage that it's not necessary to make changes in OpenHub framework at all (only set extension properties) |
OpenHub framework web-admin module contains admin GUI and all necessary configurations for runnable and deployable OpenHub web application.
Create new (Maven) project with the following module structure:
The most simple approach is to copy web-admin module from OpenHub framework and adjusts it for new project. There are the following steps to do:
If you want to customize web admin (add new content or change look-at-feel or whatever else) then there are two ways how to do it:
|
If you use different database to default H2 DB then you must initialize database structure with SQL scripts for specific target databases, e.g. /db/db_schema_postgreSql.sql (core module) for PostgreSQL. |