Skip to content

szkris/client-skeleton-java-spring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arrowhead Client Skeletons (Java Spring-Boot)

The project provides client skeletons for the Arrowhead Framework 4.1.3

How to use client skeletons?

Fork this repo and extend the skeletons with your own application code

Requirements

The project has the following dependencies:

Project structure

This is a multi module maven project relying on the parent pom.xml which lists all the modules and common dependencies.

Modules:
  • 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.

Check sos-examples-spring repository for full demo client implementations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%