{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/jhipster-core/issues/38","repository_url":"https://api.github.com/repos/jhipster/jhipster-core","labels_url":"https://api.github.com/repos/jhipster/jhipster-core/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/jhipster-core/issues/38/comments","events_url":"https://api.github.com/repos/jhipster/jhipster-core/issues/38/events","html_url":"https://github.com/jhipster/jhipster-core/issues/38","id":164373302,"number":38,"title":"Generate application from JDL","user":{"login":"MathieuAA","id":2753381,"avatar_url":"https://avatars.githubusercontent.com/u/2753381?v=3","gravatar_id":"","url":"https://api.github.com/users/MathieuAA","html_url":"https://github.com/MathieuAA","followers_url":"https://api.github.com/users/MathieuAA/followers","following_url":"https://api.github.com/users/MathieuAA/following{/other_user}","gists_url":"https://api.github.com/users/MathieuAA/gists{/gist_id}","starred_url":"https://api.github.com/users/MathieuAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathieuAA/subscriptions","organizations_url":"https://api.github.com/users/MathieuAA/orgs","repos_url":"https://api.github.com/users/MathieuAA/repos","events_url":"https://api.github.com/users/MathieuAA/events{/privacy}","received_events_url":"https://api.github.com/users/MathieuAA/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jhipster/jhipster-core/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2016-07-07T18:12:48Z","updated_at":"2016-10-07T10:26:08Z","closed_at":null,"body":"This is a big thing, as the 2nd level cache is specified during the application's generation, and not during entity generation... But this has a direct impact on how the entity is to be generated (with or without the annotation in the Java class file).\r\n@jdubois If I'm not mistaken, if I call `yo jhipster` after modifying my app, it will add some new files (from `hibernateCache` with the `no` value, to the `hazelcast` value), but it won't remove any file if I do the opposite (could it be possible?).\r\nDo you think it's a good idea to extend the JDL to be a kind of input during app and entity generation? For instance, if I write something like:\r\n```\r\nentity A\r\nentity B\r\n...\r\nentity Z\r\nrelationship OneToOne {\r\n   ...\r\n}\r\n\r\ndto * with mapstruct except J, H, I, P, S, T, E, R\r\nhibernateCache with hazelcast\r\n```\r\nSome code, somewhere (like here) could parse it, write a yo file, and call `yo jhipster` to generate the app, then generate the entities.\r\nI've seriously thought about that for a while, and I think the idea of having a JDL-driven application generation is kind of nice.\r\n\r\nOf course, @jhipster/developers, I'd like your input too! It wouldn't happen for v1.0.2, of course =)"},"comment":{"url":"https://api.github.com/repos/jhipster/jhipster-core/issues/comments/252209452","html_url":"https://github.com/jhipster/jhipster-core/issues/38#issuecomment-252209452","issue_url":"https://api.github.com/repos/jhipster/jhipster-core/issues/38","id":252209452,"user":{"login":"MathieuAA","id":2753381,"avatar_url":"https://avatars.githubusercontent.com/u/2753381?v=3","gravatar_id":"","url":"https://api.github.com/users/MathieuAA","html_url":"https://github.com/MathieuAA","followers_url":"https://api.github.com/users/MathieuAA/followers","following_url":"https://api.github.com/users/MathieuAA/following{/other_user}","gists_url":"https://api.github.com/users/MathieuAA/gists{/gist_id}","starred_url":"https://api.github.com/users/MathieuAA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathieuAA/subscriptions","organizations_url":"https://api.github.com/users/MathieuAA/orgs","repos_url":"https://api.github.com/users/MathieuAA/repos","events_url":"https://api.github.com/users/MathieuAA/events{/privacy}","received_events_url":"https://api.github.com/users/MathieuAA/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T10:26:08Z","updated_at":"2016-10-07T10:26:08Z","body":"I doubt it. PegJS uses its own syntax. Converting it might do the trick, but I'm not sure at all.\n\nLe 7 octobre 2016 11:47:23 GMT+02:00, Deepu K Sasidharan <notifications@github.com> a écrit :\n>Also we need to see if the grammer for the IDE project can be used from\n>this repo instead of writing again there. Not sure if feasible but\n>worth a\n>try\n>\n>Thanks & regards,\n>Deepu\n>\n>On 7 Oct 2016 13:59, \"Mathieu ABOU-AICHI\" <notifications@github.com>\n>wrote:\n>\n>> I will create (today or tomorrow) two projects for this repo:\n>>\n>>    - Grammar improvement,\n>>    - Application generation from JDL.\n>>\n>> We will be able to discuss these kind of things in separate threads,\n>and\n>> write down what needs to be done.\n>>\n>> —\n>> You are receiving this because you were mentioned.\n>> Reply to this email directly, view it on GitHub\n>>\n><https://github.com/jhipster/jhipster-core/issues/38#issuecomment-252182499>,\n>> or mute the thread\n>>\n><https://github.com/notifications/unsubscribe-auth/ABDlF0HNLyggbuRtrEDSR_9EPUKNO0EIks5qxgMGgaJpZM4JHWoQ>\n>> .\n>>\n>\n>\n>-- \n>You are receiving this because you were mentioned.\n>Reply to this email directly or view it on GitHub:\n>https://github.com/jhipster/jhipster-core/issues/38#issuecomment-252199372\n\n-- \nMathieu ABOU-AICHI"}}
{"actor":{"display_login":"MathieuAA"}}