{"action":"created","issue":{"url":"https://api.github.com/repos/CrunchyData/postgres-operator/issues/420","repository_url":"https://api.github.com/repos/CrunchyData/postgres-operator","labels_url":"https://api.github.com/repos/CrunchyData/postgres-operator/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/CrunchyData/postgres-operator/issues/420/comments","events_url":"https://api.github.com/repos/CrunchyData/postgres-operator/issues/420/events","html_url":"https://github.com/CrunchyData/postgres-operator/issues/420","id":372645650,"node_id":"MDU6SXNzdWUzNzI2NDU2NTA=","number":420,"title":"operator REST API enhancement","user":{"login":"pmereddy1","id":36273111,"node_id":"MDQ6VXNlcjM2MjczMTEx","avatar_url":"https://avatars1.githubusercontent.com/u/36273111?v=4","gravatar_id":"","url":"https://api.github.com/users/pmereddy1","html_url":"https://github.com/pmereddy1","followers_url":"https://api.github.com/users/pmereddy1/followers","following_url":"https://api.github.com/users/pmereddy1/following{/other_user}","gists_url":"https://api.github.com/users/pmereddy1/gists{/gist_id}","starred_url":"https://api.github.com/users/pmereddy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmereddy1/subscriptions","organizations_url":"https://api.github.com/users/pmereddy1/orgs","repos_url":"https://api.github.com/users/pmereddy1/repos","events_url":"https://api.github.com/users/pmereddy1/events{/privacy}","received_events_url":"https://api.github.com/users/pmereddy1/received_events","type":"User","site_admin":false},"labels":[{"id":549297494,"node_id":"MDU6TGFiZWw1NDkyOTc0OTQ=","url":"https://api.github.com/repos/CrunchyData/postgres-operator/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"jmccormick2001","id":863211,"node_id":"MDQ6VXNlcjg2MzIxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/863211?v=4","gravatar_id":"","url":"https://api.github.com/users/jmccormick2001","html_url":"https://github.com/jmccormick2001","followers_url":"https://api.github.com/users/jmccormick2001/followers","following_url":"https://api.github.com/users/jmccormick2001/following{/other_user}","gists_url":"https://api.github.com/users/jmccormick2001/gists{/gist_id}","starred_url":"https://api.github.com/users/jmccormick2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmccormick2001/subscriptions","organizations_url":"https://api.github.com/users/jmccormick2001/orgs","repos_url":"https://api.github.com/users/jmccormick2001/repos","events_url":"https://api.github.com/users/jmccormick2001/events{/privacy}","received_events_url":"https://api.github.com/users/jmccormick2001/received_events","type":"User","site_admin":false},"assignees":[{"login":"jmccormick2001","id":863211,"node_id":"MDQ6VXNlcjg2MzIxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/863211?v=4","gravatar_id":"","url":"https://api.github.com/users/jmccormick2001","html_url":"https://github.com/jmccormick2001","followers_url":"https://api.github.com/users/jmccormick2001/followers","following_url":"https://api.github.com/users/jmccormick2001/following{/other_user}","gists_url":"https://api.github.com/users/jmccormick2001/gists{/gist_id}","starred_url":"https://api.github.com/users/jmccormick2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmccormick2001/subscriptions","organizations_url":"https://api.github.com/users/jmccormick2001/orgs","repos_url":"https://api.github.com/users/jmccormick2001/repos","events_url":"https://api.github.com/users/jmccormick2001/events{/privacy}","received_events_url":"https://api.github.com/users/jmccormick2001/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/CrunchyData/postgres-operator/milestones/7","html_url":"https://github.com/CrunchyData/postgres-operator/milestone/7","labels_url":"https://api.github.com/repos/CrunchyData/postgres-operator/milestones/7/labels","id":3678557,"node_id":"MDk6TWlsZXN0b25lMzY3ODU1Nw==","number":7,"title":"3.4","description":"","creator":{"login":"jmccormick2001","id":863211,"node_id":"MDQ6VXNlcjg2MzIxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/863211?v=4","gravatar_id":"","url":"https://api.github.com/users/jmccormick2001","html_url":"https://github.com/jmccormick2001","followers_url":"https://api.github.com/users/jmccormick2001/followers","following_url":"https://api.github.com/users/jmccormick2001/following{/other_user}","gists_url":"https://api.github.com/users/jmccormick2001/gists{/gist_id}","starred_url":"https://api.github.com/users/jmccormick2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmccormick2001/subscriptions","organizations_url":"https://api.github.com/users/jmccormick2001/orgs","repos_url":"https://api.github.com/users/jmccormick2001/repos","events_url":"https://api.github.com/users/jmccormick2001/events{/privacy}","received_events_url":"https://api.github.com/users/jmccormick2001/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":38,"state":"open","created_at":"2018-09-21T18:22:35Z","updated_at":"2018-11-09T05:16:36Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-10-22T18:40:05Z","updated_at":"2018-11-09T05:16:36Z","closed_at":"2018-11-09T05:16:36Z","author_association":"COLLABORATOR","body":"**What is the motivation or use case for the change? **\r\nCurrent Postgres-operator REST API does not provide a way to query the status of a long running requests. \r\nExample(s): create/delete cluster, create backup, etc.\r\n\r\n\r\n**Describe the solution you'd like**\r\nA clear and concise description of what you want to happen.\r\n\r\nIn order to check the status, clients have to be knowledgeable about the REST endpoint to check and this depends on the previous request. Typical REST API implementations have requestId in the response structure that could be used by client to get the status of request.\r\n\r\nThis enhancement request is to investigate possible solutions and implement it.\r\n\r\nThe other alternative approach could be to use REST stream API to get notifications as they happen.\r\n\r\n\r\n**Please tell us about your environment:**\r\nKubernetes\r\n\r\n* Operating System: Centos7\r\n\r\n* Where is this running ( Local, Cloud Provider)\r\nlocal\r\n\r\n* Storage being used (NFS, Hostpath, Gluster, etc):\r\n* Container Image Tag:\r\n9.6-2.1.0 and 10.5-2.1.0\r\n* PostgreSQL Version: 9.6 and 10.5\r\n\r\n* Platform (Docker, Kubernetes, OpenShift):\r\n* Platform Version:\r\n\r\n**Additional context**\r\nAdd any other context or screenshots about the enhancement request here.\r\n"},"comment":{"url":"https://api.github.com/repos/CrunchyData/postgres-operator/issues/comments/437252876","html_url":"https://github.com/CrunchyData/postgres-operator/issues/420#issuecomment-437252876","issue_url":"https://api.github.com/repos/CrunchyData/postgres-operator/issues/420","id":437252876,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzI1Mjg3Ng==","user":{"login":"jmccormick2001","id":863211,"node_id":"MDQ6VXNlcjg2MzIxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/863211?v=4","gravatar_id":"","url":"https://api.github.com/users/jmccormick2001","html_url":"https://github.com/jmccormick2001","followers_url":"https://api.github.com/users/jmccormick2001/followers","following_url":"https://api.github.com/users/jmccormick2001/following{/other_user}","gists_url":"https://api.github.com/users/jmccormick2001/gists{/gist_id}","starred_url":"https://api.github.com/users/jmccormick2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmccormick2001/subscriptions","organizations_url":"https://api.github.com/users/jmccormick2001/orgs","repos_url":"https://api.github.com/users/jmccormick2001/repos","events_url":"https://api.github.com/users/jmccormick2001/events{/privacy}","received_events_url":"https://api.github.com/users/jmccormick2001/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T05:16:36Z","updated_at":"2018-11-09T05:16:36Z","author_association":"MEMBER","body":"[oper@doppio-ocp311 postgres-operator]$ pgo show workflow a6f97e56-9c24-4afe-83ce-6eb346a89c14\r\nparameter           value\r\n---------           -----\r\ncompleted           2018-11-09.05.00.44\r\npg-cluster          lastone\r\nsubmitted           2018-11-09.05.00.14\r\nworkflowid          a6f97e56-9c24-4afe-83ce-6eb346a89c14\r\n\r\n\r\nan initial attempt at workflow mgmt, when you run 'pgo create cluster', you will get back in the response a workflow ID, you can then query that workflow with that ID to know the lifecycle of events for that workflow."}}
{"actor":{"display_login":"jmccormick2001"}}