Add Netty server starter module
This adds a new starter module (`spring-grpc-server-spring-boot-starter`) for gRPC Netty server and updates the current coarse-grained starter (`spring-grpc-spring-boot-starter`) to include the newly added server and client starter modules. Signed-off-by: Chris Bono <chris.bono@gmail.com>
This commit is contained in:
1
pom.xml
1
pom.xml
@@ -21,6 +21,7 @@
|
||||
<module>spring-grpc-spring-boot-autoconfigure</module>
|
||||
<module>spring-grpc-spring-boot-starter</module>
|
||||
<module>spring-grpc-client-spring-boot-starter</module>
|
||||
<module>spring-grpc-server-spring-boot-starter</module>
|
||||
<module>spring-grpc-server-web-spring-boot-starter</module>
|
||||
<module>samples</module>
|
||||
</modules>
|
||||
|
||||
@@ -80,6 +80,11 @@
|
||||
<artifactId>spring-grpc-client-spring-boot-starter</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.grpc</groupId>
|
||||
<artifactId>spring-grpc-server-spring-boot-starter</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.grpc</groupId>
|
||||
<artifactId>spring-grpc-server-web-spring-boot-starter</artifactId>
|
||||
|
||||
43
spring-grpc-server-spring-boot-starter/pom.xml
Normal file
43
spring-grpc-server-spring-boot-starter/pom.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.springframework.grpc</groupId>
|
||||
<artifactId>spring-grpc</artifactId>
|
||||
<version>0.4.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>spring-grpc-server-spring-boot-starter</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Spring gRPC Server (Netty) Spring Boot Starter</name>
|
||||
<description>Spring gRPC Server (Netty) Spring Boot Starter</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.grpc</groupId>
|
||||
<artifactId>spring-grpc-core</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.grpc</groupId>
|
||||
<artifactId>spring-grpc-spring-boot-autoconfigure</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-netty</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-services</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -10,33 +10,17 @@
|
||||
</parent>
|
||||
<artifactId>spring-grpc-spring-boot-starter</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Spring gRPC Server Spring Boot Starter</name>
|
||||
<description>Spring gRPC Server Spring Boot Starter</description>
|
||||
<name>Spring gRPC Server and Client Spring Boot Starter</name>
|
||||
<description>Spring gRPC Server and Client Spring Boot Starter</description>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.grpc</groupId>
|
||||
<artifactId>spring-grpc-core</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<artifactId>spring-grpc-client-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.grpc</groupId>
|
||||
<artifactId>spring-grpc-spring-boot-autoconfigure</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-netty</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-services</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<artifactId>spring-grpc-server-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user