{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3281","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3281/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3281/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3281/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/3281","id":144191400,"number":3281,"title":"Gateway has no Zuul routes configured","user":{"login":"tomvanrossom","id":2822060,"avatar_url":"https://avatars.githubusercontent.com/u/2822060?v=3","gravatar_id":"","url":"https://api.github.com/users/tomvanrossom","html_url":"https://github.com/tomvanrossom","followers_url":"https://api.github.com/users/tomvanrossom/followers","following_url":"https://api.github.com/users/tomvanrossom/following{/other_user}","gists_url":"https://api.github.com/users/tomvanrossom/gists{/gist_id}","starred_url":"https://api.github.com/users/tomvanrossom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomvanrossom/subscriptions","organizations_url":"https://api.github.com/users/tomvanrossom/orgs","repos_url":"https://api.github.com/users/tomvanrossom/repos","events_url":"https://api.github.com/users/tomvanrossom/events{/privacy}","received_events_url":"https://api.github.com/users/tomvanrossom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-29T08:17:20Z","updated_at":"2016-03-29T20:20:42Z","closed_at":"2016-03-29T08:41:17Z","body":"<!--\r\n> Please follow the issue template below for bug reports and quiries.\r\n> Bug reports or quiries opened without any of these info will be **closed** without any explanation.\r\n> For feature requests, label the title with [FEATURE] and explain your use case and ideas clearly below, you can remove sections which are not relevant.\r\n> For bug reports your `.yo-rc.json` file is mandatory else we will close the issue.\r\n-->\r\n\r\n##### **Overview of the issue**\r\n\r\nAfter generating a gateway, the `application.yml` file does not contain any Zuul routes. When running the application, any request return an empty page (200), and the logs contains: \r\n`o.s.c.n.zuul.web.ZuulHandlerMapping      : No routes found from RouteLocator`\r\n\r\n##### **Motivation for or Use Case** \r\n\r\nShouldn't there be any routes configured for the gateway?\r\n\r\n##### **JHipster Version(s)** \r\n\r\n3.0.0\r\n\r\n##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder** \r\n\r\n`{\r\n  \"generator-jhipster\": {\r\n    \"jhipsterVersion\": \"3.0.0\",\r\n    \"baseName\": \"...\",\r\n    \"packageName\": \"...\",\r\n    \"packageFolder\": \"...\",\r\n    \"serverPort\": \"8080\",\r\n    \"authenticationType\": \"jwt\",\r\n    \"hibernateCache\": \"hazelcast\",\r\n    \"clusteredHttpSession\": \"hazelcast\",\r\n    \"websocket\": \"no\",\r\n    \"databaseType\": \"sql\",\r\n    \"devDatabaseType\": \"postgresql\",\r\n    \"prodDatabaseType\": \"postgresql\",\r\n    \"searchEngine\": \"elasticsearch\",\r\n    \"buildTool\": \"maven\",\r\n    \"jwtSecretKey\": \"...\",\r\n    \"useSass\": true,\r\n    \"applicationType\": \"gateway\",\r\n    \"testFrameworks\": [\r\n      \"protractor\"\r\n    ],\r\n    \"enableTranslation\": true,\r\n    \"nativeLanguage\": \"en\",\r\n    \"languages\": [\r\n      \"en\",\r\n      \"nl\",\r\n      \"fr\"\r\n    ],\r\n    \"enableSocialSignIn\": false\r\n  }\r\n}`\r\n\r\n##### **Browsers and Operating System** \r\n\r\nWindows 10 - Chrome\r\n\r\n##### **Reproduce the error** \r\n\r\nStartup the registry and generated gateway, go to localhost:8080\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/203083996","html_url":"https://github.com/jhipster/generator-jhipster/issues/3281#issuecomment-203083996","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3281","id":203083996,"user":{"login":"jdubois","id":316835,"avatar_url":"https://avatars.githubusercontent.com/u/316835?v=3","gravatar_id":"","url":"https://api.github.com/users/jdubois","html_url":"https://github.com/jdubois","followers_url":"https://api.github.com/users/jdubois/followers","following_url":"https://api.github.com/users/jdubois/following{/other_user}","gists_url":"https://api.github.com/users/jdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdubois/subscriptions","organizations_url":"https://api.github.com/users/jdubois/orgs","repos_url":"https://api.github.com/users/jdubois/repos","events_url":"https://api.github.com/users/jdubois/events{/privacy}","received_events_url":"https://api.github.com/users/jdubois/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T20:20:42Z","updated_at":"2016-03-29T20:20:42Z","body":"If you have a blank page with the gateway, then that's another issue, here you were asking about Zuul routes not being created.\r\nCan you create a new ticket, with your exact configuration and stacktrace?"}}