Fork this repo and extend the skeletons with your own application code
The project has the following dependencies:
- JRE/JDK 11 Download from here
- Maven 3.5+ Download from here | Install guide
This is a multi module maven project relying on the parent pom.xml
which lists all the modules and common dependencies.
-
client-skeleton-consumer: client skeleton module with the purpose of initiating an orchestration request and consume the service from the chosen provider. This consumer project also contains a simple example about how to orchestrate and consume the service afterward.
-
client-skeleton-provider: client skeleton module with the purpose of registrating a specific service into the Service Registry and running a web server where the service is available.
Skeletons are built on the Arrowhead Client Library
which is also imported to this project as a maven dependency. The client library provides the ArrowheadService.class
which is a singleton spring managed bean and designed with the purpose of interacting with Arrowhead Framework. Use its methods by autowiring into your spring managed custom classes or use ArrowheadBeans.getArrowheadService()
if your custom class is not spring managed.
Both client skeleton have a default 'ApplicationInitListener' and a defult 'SecurityConfig' what you can change or extend. The essential configuration has to be managed by customizing the application.properties
file, located in src/main/resources
folder.