generator-jhipster: import-jdl sub generator does not work for all the options as per document

Overview of the issue

The JDL documentation mention keywords like ‘microservice’ and ‘skipClient’. The JDL Studio it self does not recognise them neither does the ‘import-jdl’ subgenerator.

Motivation for or Use Case

Correct me if I’m wrong, but the idea behind JDL is that I can generate the domain and basic ui with it. Or am I using it wrong?

JHipster Version(s)

I’m using the current jhipster version 3.1.0

JHipster configuration, a .yo-rc.json file generated in the root folder
{
  "generator-jhipster": {
    "jhipsterVersion": "3.1.0",
    "baseName": "playgroundDemo",
    "packageName": "io.ntf.playground.demo",
    "packageFolder": "io/ntf/playground/demo",
    "serverPort": "8081",
    "authenticationType": "jwt",
    "hibernateCache": "no",
    "databaseType": "sql",
    "devDatabaseType": "postgresql",
    "prodDatabaseType": "postgresql",
    "searchEngine": "no",
    "buildTool": "gradle",
    "jwtSecretKey": "197aad57c73870745e33d590a03d46cb7454cee9",
    "enableTranslation": true,
    "applicationType": "microservice",
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "skipClient": true,
    "skipUserManagement": true,
    "nativeLanguage": "en",
    "languages": [
      "en",
      "de"
    ]
  }
}
Entity configuration(s) entityName.json files generated in the .jhipster directory
entity Task {
    id Long,
    userId Long,
    title String required,
    note String
}

entity Session {
    id Long,
    start ZonedDateTime,
    end ZonedDateTime
}

relationship OneToMany {
    Task{session} to Session{task}
}

paginate all with pagination

dto all with mapstruct

service all with serviceClass

skipClient for Task,Session
microservice all with myfancyapp
Browsers and Operating System

OS: OS X 10.11.4 (El Capitan)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (14 by maintainers)

Most upvoted comments

we are working on it.

Thanks & Regards, Deepu

On Mon, May 23, 2016 at 7:55 PM, Lazaro Jr notifications@github.com wrote:

Hi everyone.

Some news about this?

I created a JDL file, I have begotten the entities from this file at my microservices. I went to my gateway app and I passed the path to my microservice but I got an error too.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/jhipster/generator-jhipster/issues/3532#issuecomment-220959899