Skip to content

Compile Code

Bordi Tamás edited this page Jun 14, 2023 · 13 revisions

Requirements

  • Make sure you have the proper version of Java installed.
  • Make sure you have the proper version of Maven installed.
  • Make sure you have the proper version of MySQL installed.

See details here.

Hint: MySQL connections configuration

Compile the source code

  • Download or clone the source code.
  • Go to the core-java-spring root folder and execute mvn install -DskipTests.
    • By default the test certificates will be built into the executable jar files. If you want your own certificates being built-in, then create and place them into the proper folders {core-system}/src/main/resources/certificates before executing the above mentioned maven command.
  • After the build is complete, the executable jars with the appropriate application.properites configuration file will be available in their directory: {core-system}/target.
  • Go to the scripts folder and execute mysql -u {username} -p <create_empty_arrowhead_db.sql command in order to create the database.

Hint: compile only one module

Start the core systems

  • Make sure you have the proper values in the configuration file before starting the required core systems.
  • Note that always the Service Registry Core System have to be started first. The other ones should be started only when Service Registry is up and running.

Starting the core systems manually:

Go to core-system/target folder and execute java -jar arrowhead-{core-system}-{version}.jar

Hint: customize the memory usage

Starting the core system automatically:

Go to the scripts folder and execute start_core_systems.sh or start_core_systems.bat depending on your operating system.

Video tutorial

See our video tutorial.

What's next?

Make your application system Arrowhead compliant or run some demo.

ABOUT

GETTING STARTED

Certificates

Quick start

How to contribute?

HINTS

MANDATORY CORE SYSTEMS

Service Registry

Orchestrator

Authorization

APPLICATION SYSTEMS

SUPPORTING CORE SYSTEMS

Gatekeeper

Gateway

Event Handler

Choreographer

Quality of Service Monitor

Certificate Authority

System Registry

Device Registry

Onboarding

Data Manager

Time Manager

Plant Description Engine

HawkBit Configuration Manager

Device Hub

Clone this wiki locally