Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 41 Next »

Start building/using OpenHub framework is very easy:

  1. download sources from GitHub or clone Git repository
  2. call mvn package in the project directory 
  3. deploy openhub.war to application server from module war/target 

    It is possible to use standalone mode of OpenHub, without servlet container.

  4. start calling (for example by SoupUI) test web services (from module openhub-example)
  5. look at Admin GUI at address http://localhost:8080/openhub/web/admin/console/ (default login is webUser/webPassword)

When you deploy war (not standalone version) then there is error in context configuration. Correct url http://localhost:8080/openhub/web/admin/console/ doesn't work at this moment, you have to deploy to the root context - we are working on the patch. Bug  OHFJIRA-81 - Getting issue details... STATUS


If you want to start new project with OpenHub framework then look at How to start new project?


What next? You can


Look at getting started with Apache Camel.

Must be called at least mvn package and not mvn compile because there are dependencies in resources between Maven modules which use maven-dependency-plugin with unpack-dependencies goal in example module.

Application is build with esb.prod Maven profile by default. 

H2 DB is default database. If you want to use PostgreSQL then use esb.psSql or esb.psSql.prod profile. Example: mvn clean install -DskipTests -Dmaven.javadoc.skip=true -Pesb.psSql

Also there are Spring profiles to dynamically configure the application. Look at Maven and Spring for more information.

To speed up build time you can disable unit tests and JavaDoc generation: mvn install -DskipTests -Dmaven.javadoc.skip=true

  • No labels