jhipster / jhipster-core

JHipster Domain Language, used by JHipster UML and JDL-Studio to generate entities
Apache License 2.0
345 stars 116 forks source link

serviceDiscoveryType false doesn't work #284

Closed deepu105 closed 5 years ago

deepu105 commented 5 years ago

Seems like recent changes to make false work with serviceDiscoveryType instead of no is broken.


application {
  config {
    baseName store,
    applicationType gateway,
    packageName com.jhipster.demo.store,
    serviceDiscoveryType false,
    authenticationType jwt,
    prodDatabaseType mysql,
    cacheProvider hazelcast,
    buildTool gradle,
    clientFramework react,
    useSass true,
    testFrameworks [protractor]
  }
}

produces

{
  "generator-jhipster": {
    "databaseType": "sql",
    "devDatabaseType": "h2Disk",
    "enableHibernateCache": true,
    "enableSwaggerCodegen": false,
    "enableTranslation": true,
    "jhiPrefix": "jhi",
    "languages": [
      "en",
      "fr"
    ],
    "messageBroker": false,
    "nativeLanguage": "en",
    "packageName": "com.jhipster.demo.store",
    "packageFolder": "com/jhipster/demo/store",
    "prodDatabaseType": "mysql",
    "searchEngine": false,
    "serviceDiscoveryType": "eureka",
    "skipClient": false,
    "skipServer": false,
    "testFrameworks": [
      "protractor"
    ],
    "websocket": false,
    "baseName": "store",
    "applicationType": "gateway",
    "authenticationType": "jwt",
    "cacheProvider": "hazelcast",
    "buildTool": "gradle",
    "clientFramework": "react",
    "useSass": true,
    "jhipsterVersion": "5.6.1",
    "skipUserManagement": false,
    "clientPackageManager": "npm",
    "serverPort": "8080",
    "jwtSecretKey": "YTkyMzVkNDIxZDg3MDkzNGQ0MDQ3MGJiNTU3MDAxMjA4NGI2M2ZlZjYyYzIwZTcxNTM5OTE4MDMzYjcxMzk3MjM3YTg3MTY0MzQ4ZjFjZjZiNDhjNTM4MGY3OTE4NDhlZGZjY2Y1YTkwYjcyOTRkZjhjZjgzYmU1NDcwZTM5OTY="
  },
  "entities": []
}
deepu105 commented 5 years ago

closed via https://github.com/jhipster/jhipster-core/commit/f1f4ed2082f2423e523055dfa4729162a47380bd