com.salesforce.servicelibs:grpc-spring

Useful extensions for the grpc-java library.

License

License

Categories

Categories

gRPC Net Networking
GroupId

GroupId

com.salesforce.servicelibs
ArtifactId

ArtifactId

grpc-spring
Last Version

Last Version

0.8.1
Release Date

Release Date

Type

Type

jar
Description

Description

Useful extensions for the grpc-java library.

Download grpc-spring

How to add to project

<!-- https://jarcasting.com/artifacts/com.salesforce.servicelibs/grpc-spring/ -->
<dependency>
    <groupId>com.salesforce.servicelibs</groupId>
    <artifactId>grpc-spring</artifactId>
    <version>0.8.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.salesforce.servicelibs/grpc-spring/
implementation 'com.salesforce.servicelibs:grpc-spring:0.8.1'
// https://jarcasting.com/artifacts/com.salesforce.servicelibs/grpc-spring/
implementation ("com.salesforce.servicelibs:grpc-spring:0.8.1")
'com.salesforce.servicelibs:grpc-spring:jar:0.8.1'
<dependency org="com.salesforce.servicelibs" name="grpc-spring" rev="0.8.1">
  <artifact name="grpc-spring" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.salesforce.servicelibs', module='grpc-spring', version='0.8.1')
)
libraryDependencies += "com.salesforce.servicelibs" % "grpc-spring" % "0.8.1"
[com.salesforce.servicelibs/grpc-spring "0.8.1"]

Dependencies

compile (1)

Group / Artifact Type Version
io.grpc : grpc-stub jar 1.12.0

provided (3)

Group / Artifact Type Version
org.springframework : spring-context jar 4.2.0.RELEASE
org.springframework : spring-webmvc Optional jar 4.2.0.RELEASE
javax.servlet : servlet-api Optional jar 2.5

test (7)

Group / Artifact Type Version
io.grpc : grpc-protobuf jar 1.12.0
io.grpc : grpc-netty jar 1.12.0
junit : junit jar 4.12
org.awaitility : awaitility jar 2.0.0
org.springframework : spring-test jar 4.2.0.RELEASE
org.assertj : assertj-core jar 3.6.2
org.mockito : mockito-core jar 2.7.5

Project Modules

There are no modules declared in this project.

grpc-java-contrib

Build Status codecov

Useful extensions for using the grpc-java library.

This project is broken down into multiple sub-modules, each solving a different sub-problem.

  • grpc-contrib - A collection of utility classes to work with grpc-java.
  • grpc-testing-contrib - A collection of utility classes for testing grpc-java.
  • grpc-spring - Tools for automatically wiring up and starting a grpc service using Spring.
  • jprotoc - A framework for building protoc extension plugins in Java.

Demos

A pair of demo applications are in the grpc-java-contrib-demo directory.

  • time-service-demo - Hosts a simple gRPC service that reports the current time. Demonstrates grpc-spring service hosting.
  • time-client-demo - Connects to the time service. Demonstrates StaticResolver and jProtoc.

Usage

These libraries are still fairly immature. For now, you will have to clone this repo and build it yourself. Setting up CI and deploying to Maven Central is still in our future.

See each respective module for documentation on its usage.

Contributing

We are happy to talk to you about new features or pull requests.

  • For bugfixes, submit a PR.
  • For new features, create a Github issue first, so we can discuss your plans. Then, submit a PR.
com.salesforce.servicelibs

Salesforce

A variety of vendor agnostic projects which power Salesforce

Versions

Version
0.8.1
0.8.0
0.7.1
0.7.0
0.6.1