Reputation: 1
I'm trying to generate a Gateway from an existing microservice hosted in AWS (I also have it on my local machine). According to the JHipster Doing Microservices under the 'Creating Microservices' section, it states: "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."
To me this means if I can generate an entity from a microservice, I should be able to generate the Gateway from the generated entity.
Does anyone know the commands, or setup steps, or have a guide on how to do such a thing? I'm stumped.
Upvotes: 0
Views: 313
Reputation: 16284
Yes your understanding is correct.
Assuming you already have generated a microservice app with Foo
entity.
yo jhipster
yo jhipster:entity Foo
. Choose to generate the entity from a microservice, enter the path to this microservice on your local computer, and then JHipster will generate the front-end code on the gateway according to the definition of the entity in the service .jhipster/Foo.json
Upvotes: 0