使用Gradle运行多个Spring Boot微服务 [英] Running multiple spring boot microservices with Gradle

查看:61
本文介绍了使用Gradle运行多个Spring Boot微服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Gradle构建一个Spring Boot应用程序.我们有多个微服务作为此应用程序的子项目.

I am working on a Spring Boot application built using Gradle. We have multiple microservices as subprojects for this application.

我正在尝试通过命令行中的单个bootRun命令使用Spring Boot的bootRun任务来运行应用程序和所有微服务.

I'm trying to run the application and all microservices using Spring Boot's bootRun task from the command line with single bootRun command.

类似地,我们希望使用单个测试命令对应用程序和所有微服务运行一些集成测试.

Similarly, we would like to run some integration tests with the application and all microservices with single test command.

感谢您的帮助或为我提供了一些文档.

I appreciate for any help or pointing me some documentation.

先谢谢您.

推荐答案

我们决定使用gradle --parallel选项.

We decided to use gradle --parallel option.

这篇关于使用Gradle运行多个Spring Boot微服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆