{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2990","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2990/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2990/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2990/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/2990","id":136412895,"number":2990,"title":"Error 404 on gateway for swagger-ui","user":{"login":"gmarziou","id":361007,"avatar_url":"https://avatars0.githubusercontent.com/u/361007?v=4","gravatar_id":"","url":"https://api.github.com/users/gmarziou","html_url":"https://github.com/gmarziou","followers_url":"https://api.github.com/users/gmarziou/followers","following_url":"https://api.github.com/users/gmarziou/following{/other_user}","gists_url":"https://api.github.com/users/gmarziou/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarziou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarziou/subscriptions","organizations_url":"https://api.github.com/users/gmarziou/orgs","repos_url":"https://api.github.com/users/gmarziou/repos","events_url":"https://api.github.com/users/gmarziou/events{/privacy}","received_events_url":"https://api.github.com/users/gmarziou/received_events","type":"User","site_admin":false},"labels":[{"id":61979571,"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/milestones/58","html_url":"https://github.com/jhipster/generator-jhipster/milestone/58","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/milestones/58/labels","id":1276888,"number":58,"title":"3.0.0","description":"","creator":{"login":"deepu105","id":1107223,"avatar_url":"https://avatars2.githubusercontent.com/u/1107223?v=4","gravatar_id":"","url":"https://api.github.com/users/deepu105","html_url":"https://github.com/deepu105","followers_url":"https://api.github.com/users/deepu105/followers","following_url":"https://api.github.com/users/deepu105/following{/other_user}","gists_url":"https://api.github.com/users/deepu105/gists{/gist_id}","starred_url":"https://api.github.com/users/deepu105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepu105/subscriptions","organizations_url":"https://api.github.com/users/deepu105/orgs","repos_url":"https://api.github.com/users/deepu105/repos","events_url":"https://api.github.com/users/deepu105/events{/privacy}","received_events_url":"https://api.github.com/users/deepu105/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":596,"state":"closed","created_at":"2015-08-28T02:37:13Z","updated_at":"2016-05-03T06:09:26Z","due_on":null,"closed_at":"2016-03-23T16:01:45Z"},"comments":16,"created_at":"2016-02-25T15:04:13Z","updated_at":"2017-08-27T11:56:24Z","closed_at":"2016-02-25T17:06:42Z","body":"##### **Overview of the issue**\n\nI generated a gateway from master\nThe app works on port 8080 but I get an error 404 on http://localhost:9000/swagger-ui/index.html\n##### **JHipster Version(s)**\n\n3.0 master at #c9f3e112739008bf0241678608407df419e6da53\n##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**\n\n``` json\n{\n  \"generator-jhipster\": {\n    \"jhipsterVersion\": \"2.27.0\",\n    \"baseName\": \"gateway\",\n    \"packageName\": \"com.a.e.central\",\n    \"packageFolder\": \"com/a/e/central\",\n    \"authenticationType\": \"jwt\",\n    \"hibernateCache\": \"ehcache\",\n    \"clusteredHttpSession\": \"no\",\n    \"websocket\": \"no\",\n    \"databaseType\": \"sql\",\n    \"devDatabaseType\": \"h2Memory\",\n    \"prodDatabaseType\": \"postgresql\",\n    \"searchEngine\": \"no\",\n    \"buildTool\": \"maven\",\n    \"jwtSecretKey\": \"***\",\n    \"rememberMeKey\": \"***\",\n    \"useSass\": true,\n    \"enableTranslation\": false,\n    \"applicationType\": \"gateway\",\n    \"testFrameworks\": [],\n    \"enableSocialSignIn\": false\n  }\n}\n```\n##### **Entity configuration(s) `entityName.json` files generated in the `.jhipster` directory**\n\nNo entities on gateway.\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/325193814","html_url":"https://github.com/jhipster/generator-jhipster/issues/2990#issuecomment-325193814","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/2990","id":325193814,"user":{"login":"mabuzagu","id":459106,"avatar_url":"https://avatars1.githubusercontent.com/u/459106?v=4","gravatar_id":"","url":"https://api.github.com/users/mabuzagu","html_url":"https://github.com/mabuzagu","followers_url":"https://api.github.com/users/mabuzagu/followers","following_url":"https://api.github.com/users/mabuzagu/following{/other_user}","gists_url":"https://api.github.com/users/mabuzagu/gists{/gist_id}","starred_url":"https://api.github.com/users/mabuzagu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mabuzagu/subscriptions","organizations_url":"https://api.github.com/users/mabuzagu/orgs","repos_url":"https://api.github.com/users/mabuzagu/repos","events_url":"https://api.github.com/users/mabuzagu/events{/privacy}","received_events_url":"https://api.github.com/users/mabuzagu/received_events","type":"User","site_admin":false},"created_at":"2017-08-27T11:56:24Z","updated_at":"2017-08-27T11:56:24Z","body":"@pascalgrimaud  @PierreBesson @yhjhoo I understand the discussion above, but I have not heard the why? Please explain why it is necessary to have a gateway to view the swagger docs for the microservice? i.e. if the microservice is being developed independently by a separate team why constrain them to having to fire up the gateway inorder to view their api? (I understand that you have the endpoint available.. I am talking specifically about the UI). Your solutions above make sense and I appreciate them, but if we are developing true microservices, then the microservice (and the team creating it) should not care about the Gateway. Any thoughts?"}}
{"actor":{"display_login":"mabuzagu"}}