{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3649","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3649/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3649/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3649/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/3649","id":156944236,"number":3649,"title":"Comunication between two microservices","user":{"login":"MBenali","id":18579825,"avatar_url":"https://avatars.githubusercontent.com/u/18579825?v=3","gravatar_id":"","url":"https://api.github.com/users/MBenali","html_url":"https://github.com/MBenali","followers_url":"https://api.github.com/users/MBenali/followers","following_url":"https://api.github.com/users/MBenali/following{/other_user}","gists_url":"https://api.github.com/users/MBenali/gists{/gist_id}","starred_url":"https://api.github.com/users/MBenali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MBenali/subscriptions","organizations_url":"https://api.github.com/users/MBenali/orgs","repos_url":"https://api.github.com/users/MBenali/repos","events_url":"https://api.github.com/users/MBenali/events{/privacy}","received_events_url":"https://api.github.com/users/MBenali/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/feature%20request","name":"feature request","color":"0052cc"},{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/microservice","name":"microservice","color":"507889"},{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-05-26T09:42:04Z","updated_at":"2016-05-27T07:58:32Z","closed_at":null,"body":" **How to make Comunication between two microservices (microservices are generated with JWT security)**\r\n\r\nHi, \r\n_**In the first, I note that hhis is not a bug, but I did not know where to make my request**_\r\n\r\n Used JHipster (v3.1.0) to generate 2 microservices (2 gateway and 2 microservices, with JWT security):\r\n\r\n1st composant) Reference component \"ref_gw\" gateway app and \"ref_ms\" :  microservice\r\n\r\n2nd composant) \"Reception_gw\" : gateway app, and \"reception_ms\"   microservice\r\n\r\n\r\nOur need: the microservice \"reception_ms\" has to verify certain data which are quoted ref_ms, (by REST GET or POST Method)\r\n\r\nI saw some documentations (theory only) speaking of discovery server-side (or the passage by the registery, other on spring cloud and AMQP,...), but how to implement it (registery solution) I found nothing.\r\n\r\n\r\nThank you\r\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/222084457","html_url":"https://github.com/jhipster/generator-jhipster/issues/3649#issuecomment-222084457","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3649","id":222084457,"user":{"login":"xetys","id":2758003,"avatar_url":"https://avatars.githubusercontent.com/u/2758003?v=3","gravatar_id":"","url":"https://api.github.com/users/xetys","html_url":"https://github.com/xetys","followers_url":"https://api.github.com/users/xetys/followers","following_url":"https://api.github.com/users/xetys/following{/other_user}","gists_url":"https://api.github.com/users/xetys/gists{/gist_id}","starred_url":"https://api.github.com/users/xetys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xetys/subscriptions","organizations_url":"https://api.github.com/users/xetys/orgs","repos_url":"https://api.github.com/users/xetys/repos","events_url":"https://api.github.com/users/xetys/events{/privacy}","received_events_url":"https://api.github.com/users/xetys/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T07:58:32Z","updated_at":"2016-05-27T07:58:32Z","body":"thanks @cbornet, I will try that out"}}
{"actor":{"display_login":"xetys"}}