{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes-client/java/issues/187","repository_url":"https://api.github.com/repos/kubernetes-client/java","labels_url":"https://api.github.com/repos/kubernetes-client/java/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-client/java/issues/187/comments","events_url":"https://api.github.com/repos/kubernetes-client/java/issues/187/events","html_url":"https://github.com/kubernetes-client/java/pull/187","id":297365241,"number":187,"title":"working example of patch deployment","user":{"login":"kondapally1989","id":8391050,"avatar_url":"https://avatars3.githubusercontent.com/u/8391050?v=4","gravatar_id":"","url":"https://api.github.com/users/kondapally1989","html_url":"https://github.com/kondapally1989","followers_url":"https://api.github.com/users/kondapally1989/followers","following_url":"https://api.github.com/users/kondapally1989/following{/other_user}","gists_url":"https://api.github.com/users/kondapally1989/gists{/gist_id}","starred_url":"https://api.github.com/users/kondapally1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kondapally1989/subscriptions","organizations_url":"https://api.github.com/users/kondapally1989/orgs","repos_url":"https://api.github.com/users/kondapally1989/repos","events_url":"https://api.github.com/users/kondapally1989/events{/privacy}","received_events_url":"https://api.github.com/users/kondapally1989/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T08:38:28Z","updated_at":"2018-02-16T06:24:04Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kubernetes-client/java/pulls/187","html_url":"https://github.com/kubernetes-client/java/pull/187","diff_url":"https://github.com/kubernetes-client/java/pull/187.diff","patch_url":"https://github.com/kubernetes-client/java/pull/187.patch"},"body":"as this library doesn't support strategic merge patch(<i>application/strategic-merge-patch+json</i>) yet (issue https://github.com/kubernetes-client/java/issues/127), following example demonstrates patching of deployment using Json Patch (<i>application/json-patch+json</i>). this can also be extended to patching of other k8 objects<br> \r\n\r\n For generating Json Patches, <a href=\"http://jsonpatch.com/\">http://jsonpatch.com</a>.\r\n\r\n<p> PatchExample does following:</p>\r\n<ul>\r\n<li>Creates deployment hello-node with <b>terminationGracePeriodSeconds</b> value as 30.\r\n<li>Patches deployment hello-node with <b>terminationGracePeriodSeconds</b> value as 27.\r\n </ul>"},"comment":{"url":"https://api.github.com/repos/kubernetes-client/java/issues/comments/366154248","html_url":"https://github.com/kubernetes-client/java/pull/187#issuecomment-366154248","issue_url":"https://api.github.com/repos/kubernetes-client/java/issues/187","id":366154248,"user":{"login":"brendandburns","id":5751682,"avatar_url":"https://avatars2.githubusercontent.com/u/5751682?v=4","gravatar_id":"","url":"https://api.github.com/users/brendandburns","html_url":"https://github.com/brendandburns","followers_url":"https://api.github.com/users/brendandburns/followers","following_url":"https://api.github.com/users/brendandburns/following{/other_user}","gists_url":"https://api.github.com/users/brendandburns/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandburns/subscriptions","organizations_url":"https://api.github.com/users/brendandburns/orgs","repos_url":"https://api.github.com/users/brendandburns/repos","events_url":"https://api.github.com/users/brendandburns/events{/privacy}","received_events_url":"https://api.github.com/users/brendandburns/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T06:24:04Z","updated_at":"2018-02-16T06:24:04Z","author_association":"COLLABORATOR","body":"one little nit, but I'm ok to merge anyway..."}}
{"actor":{"display_login":"brendandburns"}}