Jhipster 网关/服务使用
Jhipster Gateway / Service usage
在 Jhipster 中,文档指出:
Generating entities in a microservices architecture
If you choose to generate the entity from a microservice, you will need to enter the path to this microservice on your local computer, and then JHipster will generate the front-end code on the gateway.
不,假设我有多个网关。这是否意味着如果我有一个通用的微服务应用程序。我创建微服务应用程序实体,然后 运行 每个网关内的生成器将使用此服务?
这是生成器的意图吗?
是的,您可以有多个使用相同微服务的网关。如您所说,您必须 运行 每个网关中的生成器并输入微服务的路径。
主要目的是让一个网关与多个微服务通信。
在 Jhipster 中,文档指出:
Generating entities in a microservices architecture
If you choose to generate the entity from a microservice, you will need to enter the path to this microservice on your local computer, and then JHipster will generate the front-end code on the gateway.
不,假设我有多个网关。这是否意味着如果我有一个通用的微服务应用程序。我创建微服务应用程序实体,然后 运行 每个网关内的生成器将使用此服务?
这是生成器的意图吗?
是的,您可以有多个使用相同微服务的网关。如您所说,您必须 运行 每个网关中的生成器并输入微服务的路径。
主要目的是让一个网关与多个微服务通信。