midPoint gRPC Self Services

MidPoint extension that enables serving gRPC services on midPoint server.

License

License

Categories

Categories

gRPC Net Networking
GroupId

GroupId

jp.openstandia
ArtifactId

ArtifactId

midpoint-grpc-self-services
Last Version

Last Version

1.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

midPoint gRPC Self Services
MidPoint extension that enables serving gRPC services on midPoint server.

Download midpoint-grpc-self-services

How to add to project

<!-- https://jarcasting.com/artifacts/jp.openstandia/midpoint-grpc-self-services/ -->
<dependency>
    <groupId>jp.openstandia</groupId>
    <artifactId>midpoint-grpc-self-services</artifactId>
    <version>1.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/jp.openstandia/midpoint-grpc-self-services/
implementation 'jp.openstandia:midpoint-grpc-self-services:1.4.0'
// https://jarcasting.com/artifacts/jp.openstandia/midpoint-grpc-self-services/
implementation ("jp.openstandia:midpoint-grpc-self-services:1.4.0")
'jp.openstandia:midpoint-grpc-self-services:jar:1.4.0'
<dependency org="jp.openstandia" name="midpoint-grpc-self-services" rev="1.4.0">
  <artifact name="midpoint-grpc-self-services" type="jar" />
</dependency>
@Grapes(
@Grab(group='jp.openstandia', module='midpoint-grpc-self-services', version='1.4.0')
)
libraryDependencies += "jp.openstandia" % "midpoint-grpc-self-services" % "1.4.0"
[jp.openstandia/midpoint-grpc-self-services "1.4.0"]

Dependencies

provided (4)

Group / Artifact Type Version
jp.openstandia : midpoint-grpc-server jar 1.4.0
com.evolveum.midpoint.gui » admin-gui jar 4.0.2
io.github.lognet : grpc-spring-boot-starter jar 3.5.0
com.google.protobuf : protobuf-java jar 3.10.0

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar
org.junit.jupiter : junit-jupiter-engine jar

Project Modules

There are no modules declared in this project.

midpoint-grpc

This repository is heavily under development.

MidPoint extension that enables serving gRPC services on midPoint server.

Features

  • gRPC server on midPoint
  • Sample implementation of self service API for midPoint

Install

Build

Install JDK 11+ and maven3 then build:

mvn install

After successful the build, you can find midpoint-grpc-server-*.jar in ./server/target directory. Also, you can see midpoint-grpc-self-services-*.jar in ./self-services/target directory which is sample implementation of gRPC service for self service.

Deploy gRPC server and sample gRPC service

Put midpoint-grpc-server-*.jar into $MIDPOINT_HOME/lib directory. Also, put midpoint-grpc-self-services-*.jar into $MIDPOINT_HOME/lib directory simply if you want to deploy the sample gRPC service.

Start gRPC server and services

Start your midPoint server. You can see some logging about starting gRPC server and services:

2019-12-06 19:52:02,701 [] [main] INFO (com.evolveum.midpoint.web.boot.MidPointSpringApplication): Started MidPointSpringApplication in 55.149 seconds (JVM running for 58.019)
2019-12-06 19:52:02,726 [] [main] INFO (org.lognet.springboot.grpc.GRpcServerRunner): Starting gRPC Server ...
2019-12-06 19:52:02,834 [] [main] INFO (org.lognet.springboot.grpc.GRpcServerRunner): 'jp.openstandia.midpoint.grpc.SelfServiceResource' service has been registered.
2019-12-06 19:52:03,931 [] [main] INFO (org.lognet.springboot.grpc.GRpcServerRunner): gRPC Server started, listening on port 6565.

How to write own custom gRPC service

Please see the sample implementation of gRPC service.

After building your services, you can deploy it by putting it into $MIDPOINT_HOME/lib directory simply.

License

Licensed under the Apache License 2.0.

jp.openstandia

OpenStandia

Nomura Research Institute, Ltd. (NRI)

Versions

Version
1.4.0
1.3.0
1.2.1
1.2.0
1.1.0
1.0.0