code
code

Reputation: 4221

Jhipster Gateway / Service usage

Within Jhipster the documentation states:

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.

No lets say I have multiple Gateways. Does this mean if I have a common Microservice Application. I create the Microservice Application entity then run the generator within each Gateway that would use this service?

Is this the intent of the generator?

Upvotes: 0

Views: 604

Answers (1)

William Marques
William Marques

Reputation: 141

Yes, you can have multiple gateways which use the same microservice. As you said, you will have to run the generator within each Gateway and enter the path for your microservice.

The main intent was having one gateway communicating with multiple microservices.

Upvotes: 5

Related Questions