{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow/issues/136","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow/issues/136/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow/issues/136/events","html_url":"https://github.com/spring-cloud/spring-cloud-dataflow/pull/136","id":115289619,"number":136,"title":"XD-3618: Add 'runtime modules' command","user":{"login":"ericbottard","id":313494,"avatar_url":"https://avatars.githubusercontent.com/u/313494?v=3","gravatar_id":"","url":"https://api.github.com/users/ericbottard","html_url":"https://github.com/ericbottard","followers_url":"https://api.github.com/users/ericbottard/followers","following_url":"https://api.github.com/users/ericbottard/following{/other_user}","gists_url":"https://api.github.com/users/ericbottard/gists{/gist_id}","starred_url":"https://api.github.com/users/ericbottard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericbottard/subscriptions","organizations_url":"https://api.github.com/users/ericbottard/orgs","repos_url":"https://api.github.com/users/ericbottard/repos","events_url":"https://api.github.com/users/ericbottard/events{/privacy}","received_events_url":"https://api.github.com/users/ericbottard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ilayaperumalg","id":151690,"avatar_url":"https://avatars.githubusercontent.com/u/151690?v=3","gravatar_id":"","url":"https://api.github.com/users/ilayaperumalg","html_url":"https://github.com/ilayaperumalg","followers_url":"https://api.github.com/users/ilayaperumalg/followers","following_url":"https://api.github.com/users/ilayaperumalg/following{/other_user}","gists_url":"https://api.github.com/users/ilayaperumalg/gists{/gist_id}","starred_url":"https://api.github.com/users/ilayaperumalg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilayaperumalg/subscriptions","organizations_url":"https://api.github.com/users/ilayaperumalg/orgs","repos_url":"https://api.github.com/users/ilayaperumalg/repos","events_url":"https://api.github.com/users/ilayaperumalg/events{/privacy}","received_events_url":"https://api.github.com/users/ilayaperumalg/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-05T14:04:33Z","updated_at":"2015-11-13T14:10:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow/pulls/136","html_url":"https://github.com/spring-cloud/spring-cloud-dataflow/pull/136","diff_url":"https://github.com/spring-cloud/spring-cloud-dataflow/pull/136.diff","patch_url":"https://github.com/spring-cloud/spring-cloud-dataflow/pull/136.patch"},"body":"This requires https://github.com/spring-projects/spring-shell/pull/86\r\n\r\nThis is best tested with the non-local deployer (which is not very interesting as it exposes no attributes).\r\n\r\nThis is what you'd get for example with the CF deployer for `time | log x3`:\r\n\r\n```\r\n╔════════════════════╤═════════╤═════════════════════════════════════════════╗\r\n║Module Id / Instance│  Unit   │        Nb of Instances / Attributes         ║\r\n║         Id         │ Status  │                                             ║\r\n╟────────────────────┼─────────┼─────────────────────────────────────────────╢\r\n║foobarbar.log       │deployed │                      3                      ║\r\n╟┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╢\r\n║                    │         │  usage.time = 2015-11-05 14:13:34           ║\r\n║                    │         │   uris = foobarbar-log.cfapps.pez.pivotal.io║\r\n║                    │         │   mem_quota = 1073741824                    ║\r\n║                    │         │        port = 63832                         ║\r\n║                    │         │   usage.cpu = 4.3499719577721606E-4         ║\r\n║foobarbar-log:0     │deployed │        name = foobarbar-log                 ║\r\n║                    │         │        host = 192.168.8.95                  ║\r\n║                    │         │  usage.disk = 182968320                     ║\r\n║                    │         │  disk_quota = 1073741824                    ║\r\n║                    │         │   fds_quota = 16384                         ║\r\n║                    │         │usage.memory = 664776704                     ║\r\n║                    │         │      uptime = 171098.0                      ║\r\n╟┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╢\r\n║                    │         │  usage.time = 2015-11-05 14:13:34           ║\r\n║                    │         │   uris = foobarbar-log.cfapps.pez.pivotal.io║\r\n║                    │         │   mem_quota = 1073741824                    ║\r\n║                    │         │        port = 64186                         ║\r\n║                    │         │   usage.cpu = 5.036031948609361E-4          ║\r\n║foobarbar-log:1     │deployed │        name = foobarbar-log                 ║\r\n║                    │         │        host = 192.168.9.21                  ║\r\n║                    │         │  usage.disk = 182968320                     ║\r\n║                    │         │  disk_quota = 1073741824                    ║\r\n║                    │         │   fds_quota = 16384                         ║\r\n║                    │         │usage.memory = 626724864                     ║\r\n║                    │         │      uptime = 171098.0                      ║\r\n╟┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╢\r\n║                    │         │  usage.time = 2015-11-05 14:13:34           ║\r\n║                    │         │   uris = foobarbar-log.cfapps.pez.pivotal.io║\r\n║                    │         │   mem_quota = 1073741824                    ║\r\n║                    │         │        port = 64949                         ║\r\n║                    │         │   usage.cpu = 6.484337514418791E-4          ║\r\n║foobarbar-log:2     │deployed │        name = foobarbar-log                 ║\r\n║                    │         │        host = 192.168.8.101                 ║\r\n║                    │         │  usage.disk = 182972416                     ║\r\n║                    │         │  disk_quota = 1073741824                    ║\r\n║                    │         │   fds_quota = 16384                         ║\r\n║                    │         │usage.memory = 635297792                     ║\r\n║                    │         │      uptime = 171098.0                      ║\r\n╟────────────────────┼─────────┼─────────────────────────────────────────────╢\r\n║foobarbar.time      │deployed │                      1                      ║\r\n╟┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╢\r\n║                    │         │  usage.time = 2015-11-05 14:13:38           ║\r\n║                    │         │  uris = foobarbar-time.cfapps.pez.pivotal.io║\r\n║                    │         │   mem_quota = 1073741824                    ║\r\n║                    │         │        port = 61980                         ║\r\n║                    │         │   usage.cpu = 7.549136888851503E-4          ║\r\n║foobarbar-time:0    │deployed │        name = foobarbar-time                ║\r\n║                    │         │        host = 192.168.8.61                  ║\r\n║                    │         │  usage.disk = 188022784                     ║\r\n║                    │         │  disk_quota = 1073741824                    ║\r\n║                    │         │   fds_quota = 16384                         ║\r\n║                    │         │usage.memory = 678387712                     ║\r\n║                    │         │      uptime = 171071.0                      ║\r\n╚════════════════════╧═════════╧═════════════════════════════════════════════╝\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow/issues/comments/156442157","html_url":"https://github.com/spring-cloud/spring-cloud-dataflow/pull/136#issuecomment-156442157","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow/issues/136","id":156442157,"user":{"login":"ericbottard","id":313494,"avatar_url":"https://avatars.githubusercontent.com/u/313494?v=3","gravatar_id":"","url":"https://api.github.com/users/ericbottard","html_url":"https://github.com/ericbottard","followers_url":"https://api.github.com/users/ericbottard/followers","following_url":"https://api.github.com/users/ericbottard/following{/other_user}","gists_url":"https://api.github.com/users/ericbottard/gists{/gist_id}","starred_url":"https://api.github.com/users/ericbottard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericbottard/subscriptions","organizations_url":"https://api.github.com/users/ericbottard/orgs","repos_url":"https://api.github.com/users/ericbottard/repos","events_url":"https://api.github.com/users/ericbottard/events{/privacy}","received_events_url":"https://api.github.com/users/ericbottard/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T14:10:28Z","updated_at":"2015-11-13T14:10:28Z","body":"@ilayaperumalg Updated this PR to use the latest API introduced in https://github.com/spring-projects/spring-shell/pull/86\r\n\r\nYou should be able to review/merge as soon as Mark merges the shell side of things (and a Spring Shell snapshot gets published)"}}