Entity generation on microservices
Our JDL is ready to use now. The next step will be generating the entities in the gateway and the services. To start with, we will download our JDL files from the JDL studio. Once downloaded, we will move the files into our gateway and microservice applications respectively.
Once moved, run the following command after navigating into the gateway application folder. This will create the entities for the gateway and also create the UI for the microservice entities in the gateway:
> cd e-commerce-app/online-store > jhipster import-jdl online-store.jh > jhipster import-jdl ../notification/notification-jdl.jh --skip-ui- grouping > jhipster import-jdl ../invoice/invoice-jdl.jh --skip-ui-grouping
Note
The --skip-ui-grouping
flag disables the client-side entity component grouping behavior for microservices introduced in JHipster 5.x. This helps us to cherry-pick our changes from the monolithic application without many conflicts. This grouping behavior...