com.salesforce.servicelibs:grpc-contrib

Useful extensions for the grpc-java library.

License

License

Categories

Categories

gRPC Net Networking
GroupId

GroupId

com.salesforce.servicelibs
ArtifactId

ArtifactId

grpc-contrib
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-contrib

How to add to project

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

Dependencies

compile (4)

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

provided (2)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.7
org.slf4j : slf4j-api jar 1.7.21

test (5)

Group / Artifact Type Version
io.grpc : grpc-testing jar 1.12.0
junit : junit jar 4.12
org.assertj : assertj-core jar 3.6.2
org.awaitility : awaitility jar 2.0.0
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