{"action":"closed","issue":{"url":"https://api.github.com/repos/vmware/purser/issues/46","repository_url":"https://api.github.com/repos/vmware/purser","labels_url":"https://api.github.com/repos/vmware/purser/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/vmware/purser/issues/46/comments","events_url":"https://api.github.com/repos/vmware/purser/issues/46/events","html_url":"https://github.com/vmware/purser/issues/46","id":372802974,"node_id":"MDU6SXNzdWUzNzI4MDI5NzQ=","number":46,"title":"Expose the application discovery components through RESTful APIs.","user":{"login":"hemani19","id":42761785,"node_id":"MDQ6VXNlcjQyNzYxNzg1","avatar_url":"https://avatars0.githubusercontent.com/u/42761785?v=4","gravatar_id":"","url":"https://api.github.com/users/hemani19","html_url":"https://github.com/hemani19","followers_url":"https://api.github.com/users/hemani19/followers","following_url":"https://api.github.com/users/hemani19/following{/other_user}","gists_url":"https://api.github.com/users/hemani19/gists{/gist_id}","starred_url":"https://api.github.com/users/hemani19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemani19/subscriptions","organizations_url":"https://api.github.com/users/hemani19/orgs","repos_url":"https://api.github.com/users/hemani19/repos","events_url":"https://api.github.com/users/hemani19/events{/privacy}","received_events_url":"https://api.github.com/users/hemani19/received_events","type":"User","site_admin":false},"labels":[{"id":1053011391,"node_id":"MDU6TGFiZWwxMDUzMDExMzkx","url":"https://api.github.com/repos/vmware/purser/labels/Controller","name":"Controller","color":"6dc5c6","default":false},{"id":1100927478,"node_id":"MDU6TGFiZWwxMTAwOTI3NDc4","url":"https://api.github.com/repos/vmware/purser/labels/appd","name":"appd","color":"bfdadc","default":false},{"id":1030879619,"node_id":"MDU6TGFiZWwxMDMwODc5NjE5","url":"https://api.github.com/repos/vmware/purser/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"kreddyj","id":42461220,"node_id":"MDQ6VXNlcjQyNDYxMjIw","avatar_url":"https://avatars2.githubusercontent.com/u/42461220?v=4","gravatar_id":"","url":"https://api.github.com/users/kreddyj","html_url":"https://github.com/kreddyj","followers_url":"https://api.github.com/users/kreddyj/followers","following_url":"https://api.github.com/users/kreddyj/following{/other_user}","gists_url":"https://api.github.com/users/kreddyj/gists{/gist_id}","starred_url":"https://api.github.com/users/kreddyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreddyj/subscriptions","organizations_url":"https://api.github.com/users/kreddyj/orgs","repos_url":"https://api.github.com/users/kreddyj/repos","events_url":"https://api.github.com/users/kreddyj/events{/privacy}","received_events_url":"https://api.github.com/users/kreddyj/received_events","type":"User","site_admin":false},"assignees":[{"login":"kreddyj","id":42461220,"node_id":"MDQ6VXNlcjQyNDYxMjIw","avatar_url":"https://avatars2.githubusercontent.com/u/42461220?v=4","gravatar_id":"","url":"https://api.github.com/users/kreddyj","html_url":"https://github.com/kreddyj","followers_url":"https://api.github.com/users/kreddyj/followers","following_url":"https://api.github.com/users/kreddyj/following{/other_user}","gists_url":"https://api.github.com/users/kreddyj/gists{/gist_id}","starred_url":"https://api.github.com/users/kreddyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreddyj/subscriptions","organizations_url":"https://api.github.com/users/kreddyj/orgs","repos_url":"https://api.github.com/users/kreddyj/repos","events_url":"https://api.github.com/users/kreddyj/events{/privacy}","received_events_url":"https://api.github.com/users/kreddyj/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-23T04:26:19Z","updated_at":"2018-11-20T06:14:41Z","closed_at":"2018-11-20T06:14:41Z","author_association":"CONTRIBUTOR","body":"The details of purser components such as cluster hierarchy, resource distribution, pods interactions, service interactions etc. should be exposed as REST endpoints for easy consumption for the UI as well as other services.\r\n\r\n- [x] Add basic api routes and handlers\r\n- [x] Add api for getting interactions(inbound and outbound) of pods endpoint: `/interactions/pod` with option to query by name i.e, `/interactions/pod?name=<pod-name>`\r\n- [x] Add api for getting first level data of Cluster hierarchy(Logical and physical). Endpoint: `/hierarchy` with default view as logical and option `?view=physical` for physical view.\r\n- [x] Add api endpoints to get hierarchy data for a selected resource. i.e, `/hierarchy/<resource-type>?name=<resource-name>`\r\n- [x]  Add api endpoints to get metrics data for a selected resource. i.e, `/metrics/<resource-type>?name=<resource-name>` and cluster level data: `/metrics`\r\n- [x] Add api endpoints to get graph-nodes and graph-edges for pod interactions. Endpoints: `/nodes` and `edges`"}}
{"actor":{"display_login":"kreddyj"}}