Generator-jhipster: No database - Text duplicate in the generator step.

Created on 7 Sep 2018  ·  3Comments  ·  Source: jhipster/generator-jhipster

Overview of the issue

Is a simple visual bug, in the process to generate microservice show "No database" 2 times.

Motivation for or Use Case

Create new microservice.

Reproduce the error

run jhipster

WARNING! Your Node version is not LTS (Long Term Support), use it at your own risk! JHipster does not support non-LTS releases, so if you encounter a bug, please use a LTS version first.
? May JHipster anonymously report usage statistics to improve the tool over time? No
? Which type of application would you like to create? Microservice application
? What is the base name of your application? myApp
? As you are running in a microservice architecture, on which port would like your server to run? It should be unique to avoid port conflicts. 8081
? What is your default Java package name? com.mycompany.myapp
? Which service discovery server do you want to use? No service discovery
? Which type of authentication would you like to use? JWT authentication (stateless, with a token)
? Which type of database would you like to use?
SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle, MSSQL)
❯ MongoDB
Couchbase
No database
No database
Cassandra

Related issues

No

Suggest a Fix

N/A

JHipster Version(s)

5.3.1

JHipster configuration

Using JHipster version installed locally in current project's node_modules
Executing jhipster:info
Options:
Welcome to the JHipster Information Sub-Generator

JHipster Version(s)
[email protected] /usr/home/developer/Documents/Project/poc/myApp
└── [email protected] 

##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**
.yo-rc.json file
{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "com.mycompany.myapp"
    },
    "jhipsterVersion": "5.3.1",
    "applicationType": "microservice",
    "baseName": "myApp",
    "packageName": "com.mycompany.myapp",
    "packageFolder": "com/mycompany/myapp",
    "serverPort": "8081",
    "authenticationType": "jwt",
    "cacheProvider": "no",
    "enableHibernateCache": false,
    "websocket": false,
    "databaseType": "mongodb",
    "devDatabaseType": "mongodb",
    "prodDatabaseType": "mongodb",
    "searchEngine": false,
    "messageBroker": false,
    "serviceDiscoveryType": false,
    "buildTool": "maven",
    "enableSwaggerCodegen": false,
    "jwtSecretKey": "bXktc2VjcmV0LXRva2VuLXRvLWNoYW5nZS1pbi1wcm9kdWN0aW9uLWFuZC10by1rZWVwLWluLWEtc2VjdXJlLXBsYWNl",
    "enableTranslation": false,
    "testFrameworks": [
      "gatling"
    ],
    "jhiPrefix": "jhi",
    "clientPackageManager": "npm",
    "skipClient": true,
    "skipUserManagement": true
  }
}

JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory


JDL entity definitions


Environment and Tools

openjdk version "1.8.0_162"
OpenJDK Runtime Environment (build 1.8.0_162-b12)
OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)

git version 2.16.2

node: v9.5.0

npm: 5.6.0

yarn: 1.3.2

Docker version unknown-version, build unknown-commit

Entity configuration(s) entityName.json files generated in the .jhipster directory

N/A

Browsers and Operating System

N/A I used postman or curl for microservcies

  • [x] Checking this box is mandatory (this is just to show you read everything)

Most helpful comment

Thanks a lot @tomj0101

All 3 comments

Probably introduced with Reactive support.
See https://github.com/jhipster/generator-jhipster/blob/master/generators/server/prompts.js#L177-L193

Would you like to contribute to fix this ?

Hi @pascalgrimaud , sure I glad to help with this fix.

Thanks a lot @tomj0101

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lsadehaan picture lsadehaan  ·  3Comments

marcelinobadin picture marcelinobadin  ·  3Comments

chegola picture chegola  ·  4Comments

SudharakaP picture SudharakaP  ·  3Comments

trajakovic picture trajakovic  ·  4Comments