Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDL Studio #135

Open
1 task
paris0120 opened this issue Jul 7, 2022 · 4 comments
Open
1 task

JDL Studio #135

paris0120 opened this issue Jul 7, 2022 · 4 comments

Comments

@paris0120
Copy link

Overview of the issue

This is a bug for jdl studio. If there is a microservice with no entities, all entities will show in the application. The generator generates applications correctly.

Motivation for or Use Case

Microservice without entities.

Reproduce the error

Check out myApp1

application {
config {
baseName myApp,
applicationType gateway,
packageName com.myapp,
authenticationType jwt,
prodDatabaseType mysql,
clientFramework react
}
entities *
}

application {
config {
baseName myApp1,
applicationType microservice,
packageName com.myapp,
authenticationType jwt,
prodDatabaseType mysql,
}
}

application {
config {
baseName myApp2,
applicationType microservice,
packageName com.myapp,
authenticationType jwt,
prodDatabaseType mysql,
}
entities C
}

entity A {}

entity B {}

entity C {}

entity D {}

relationship OneToMany {
A to B
}

Related issues
Suggest a Fix
JHipster Version(s)
JHipster configuration
Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System
  • Checking this box is mandatory (this is just to show you read everything)
@nomuna
Copy link

nomuna commented Jul 26, 2022

jdl_visualization_error

Just uploaded a screenshot to clarify the issue. But I think the issue belongs to jhipster-online.

@deepu105
Copy link
Member

deepu105 commented Aug 1, 2022

what is the issue here? I don't understand what you are trying to say, please clarify

@deepu105 deepu105 closed this as completed Aug 1, 2022
@nomuna
Copy link

nomuna commented Aug 3, 2022

what is the issue here? I don't understand what you are trying to say, please clarify

As the OP mentioned the myApp1 has no reference to any entities so in the code no domain classes/entities are generated as expected. But in the JDL visualization all the entities are listed under myApp1 just like for myApp.

I am guessing the JDL visualization is buggy?

@deepu105
Copy link
Member

deepu105 commented Aug 4, 2022

Ah ok. This is issue for another repo then

@deepu105 deepu105 reopened this Aug 4, 2022
@deepu105 deepu105 transferred this issue from jhipster/generator-jhipster Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants