Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 783 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 783 Bytes

Apps communication using gRPC

Overview

The example jvm-oriented apps communication based on the gRPC

Purpose:

  • jmix to jmix communication
  • jmix to cuba communication
  • cuba to jmix communication
  • cuba to cuba communication

Developers

This is an installation guide for developers.

1. Setting up jdk

Check that you are using jdk 11 (java -version)

2. Setting up the database

Prepare database using docker-compose:

  • open deployment/postgresql
  • check docker-compose.yml
  • docker-compose up -d

3. Generate gRPC api layer

Prepare client and server proto services

  • ./gradlew grpc-api:assemble publishToMavenLocal

4. Run applications

For jmix to jmix communication: run jmix-grpc-client and jmix-grpc-server applications