Skip to content

arrowhead-f/sos-examples-spring

Repository files navigation

Arrowhead Framework System of Systems Example Projects (Java Spring-Boot)

Current examples in this repository

  1. Car demo (read me)
  2. Energy Forecast demo (read me)
  3. Car demo with events (read me)
  4. Exchange Rate Intercloud demo (read me)

Requirements

The project has the following dependencies:

  • JRE/JDK 11 Download from here

  • Maven 3.5+ Download from here | Install guide

  • Authorization settings for the demo systems in your local arrowhead database

    By Arrowhead Management Tool

    By Swagger API documentation

    • Use Swagger at http(s)://<authorization_host>:<authorization_port> in your browser when your Local Cloud is up an running.

    By MySQL queries

    Intra-Cloud:

    • Insert a new entry with the consumer details into the system_ table.
    • Insert a new entry with the IDs of consumer entry, provider entry and the service definition entry into the authorization_intra_cloud table.
    • Insert a new entry with the IDs of authorization intra cloud entry and service interface entry into the authorization_intra_cloud_interface_connection table.

    Inter-Cloud:

    • Insert a new entry with the cloud details into the cloud table. The authentication_info have to be filled out with the gatekeper's public key of the cloud.
    • Insert a new entry with the IDs of the cloud entry, provider entry and the service definition entry into the authorization_inter_cloud table.
    • Insert a new entry with the IDs of authorization inter cloud entry and service interface entry into the authorization_inter_cloud_interface_connection table.