I am using jhipster version v6.5.0
When I am creating microservice gateway it asks for a database with the following error.
ERROR! Error: The entity cannot be generated as the application does not have a database configured!
Actually First I created a gateway with database and entities will work after my microservices are not running. That means it works as monolithic and I could see all JPA servicers in the gateway. Swagger API showing fine. But menu from Entities not using microservices.
.yo-rc.json
{
"generator-jhipster": {
"promptValues": {
"packageName": "com.xxx.gate",
"nativeLanguage": "en"
},
"jhipsterVersion": "6.5.0",
"applicationType": "gateway",
"baseName": "myGate2",
"packageName": "com.xxx.gate",
"packageFolder": "com/xxx/gate",
"serverPort": "8080",
"authenticationType": "jwt",
"cacheProvider": "hazelcast",
"enableHibernateCache": false,
"websocket": "spring-websocket",
"databaseType": "no",
"devDatabaseType": "no",
"prodDatabaseType": "no",
"searchEngine": false,
"messageBroker": false,
"serviceDiscoveryType": "eureka",
"buildTool": "maven",
"enableSwaggerCodegen": false,
"jwtSecretKey": "XXXXXXXX",
"embeddableLaunchScript": false,
"useSass": true,
"clientPackageManager": "npm",
"clientFramework": "angularX",
"clientTheme": "lumen",
"clientThemeVariant": "dark",
"jhiPrefix": "jhi",
"entitySuffix": "",
"dtoSuffix": "DTO",
"otherModules": [],
"enableTranslation": true,
"nativeLanguage": "en",
"languages": [
"en"
],
"blueprints": []
}
Please help