{"action":"opened","number":68,"pull_request":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/pulls/68","id":170636225,"html_url":"https://github.com/terraform-providers/terraform-provider-pagerduty/pull/68","diff_url":"https://github.com/terraform-providers/terraform-provider-pagerduty/pull/68.diff","patch_url":"https://github.com/terraform-providers/terraform-provider-pagerduty/pull/68.patch","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/issues/68","number":68,"state":"open","locked":false,"title":"Don't re-create services if support hours or scheduled actions change","user":{"login":"mbelekar","id":1658005,"avatar_url":"https://avatars2.githubusercontent.com/u/1658005?v=4","gravatar_id":"","url":"https://api.github.com/users/mbelekar","html_url":"https://github.com/mbelekar","followers_url":"https://api.github.com/users/mbelekar/followers","following_url":"https://api.github.com/users/mbelekar/following{/other_user}","gists_url":"https://api.github.com/users/mbelekar/gists{/gist_id}","starred_url":"https://api.github.com/users/mbelekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbelekar/subscriptions","organizations_url":"https://api.github.com/users/mbelekar/orgs","repos_url":"https://api.github.com/users/mbelekar/repos","events_url":"https://api.github.com/users/mbelekar/events{/privacy}","received_events_url":"https://api.github.com/users/mbelekar/received_events","type":"User","site_admin":false},"body":"We have added a fix so that services don't get recreated when we change scheduled action or support hours. Fixes #53 \r\n\r\nAcceptance tests results : \r\n```\r\n➜  terraform-provider-pagerduty git:(service-recreate) ✗ TF_ACC=1 go test github.com/terraform-providers/terraform-provider-pagerduty/pagerduty -v -run=TestAccPagerDutyService_SupportHoursChange -timeout 120m\r\n=== RUN   TestAccPagerDutyService_SupportHoursChange\r\n--- PASS: TestAccPagerDutyService_SupportHoursChange (19.35s)\r\nPASS\r\nok  \tgithub.com/terraform-providers/terraform-provider-pagerduty/pagerduty\t19.441s\r\n➜  terraform-provider-pagerduty git:(service-recreate) ✗\r\n➜  terraform-provider-pagerduty git:(service-recreate) ✗\r\n➜  terraform-provider-pagerduty git:(service-recreate) ✗ TF_ACC=1 go test github.com/terraform-providers/terraform-provider-pagerduty/pagerduty -v -run=TestAccPagerDutyService_ScheduledActionsChange -timeout 120m\r\n=== RUN   TestAccPagerDutyService_ScheduledActionsChange\r\n--- PASS: TestAccPagerDutyService_ScheduledActionsChange (20.15s)\r\nPASS\r\nok  \tgithub.com/terraform-providers/terraform-provider-pagerduty/pagerduty\t20.235s\r\n```","created_at":"2018-02-22T01:40:18Z","updated_at":"2018-02-22T01:40:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/pulls/68/commits","review_comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/pulls/68/comments","review_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/pulls/comments{/number}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/issues/68/comments","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/statuses/f68aa53390ad1a4d5d41186da6006fa4a434cd05","head":{"label":"mbelekar:service-recreate","ref":"service-recreate","sha":"f68aa53390ad1a4d5d41186da6006fa4a434cd05","user":{"login":"mbelekar","id":1658005,"avatar_url":"https://avatars2.githubusercontent.com/u/1658005?v=4","gravatar_id":"","url":"https://api.github.com/users/mbelekar","html_url":"https://github.com/mbelekar","followers_url":"https://api.github.com/users/mbelekar/followers","following_url":"https://api.github.com/users/mbelekar/following{/other_user}","gists_url":"https://api.github.com/users/mbelekar/gists{/gist_id}","starred_url":"https://api.github.com/users/mbelekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbelekar/subscriptions","organizations_url":"https://api.github.com/users/mbelekar/orgs","repos_url":"https://api.github.com/users/mbelekar/repos","events_url":"https://api.github.com/users/mbelekar/events{/privacy}","received_events_url":"https://api.github.com/users/mbelekar/received_events","type":"User","site_admin":false},"repo":{"id":119328676,"name":"terraform-provider-pagerduty","full_name":"mbelekar/terraform-provider-pagerduty","owner":{"login":"mbelekar","id":1658005,"avatar_url":"https://avatars2.githubusercontent.com/u/1658005?v=4","gravatar_id":"","url":"https://api.github.com/users/mbelekar","html_url":"https://github.com/mbelekar","followers_url":"https://api.github.com/users/mbelekar/followers","following_url":"https://api.github.com/users/mbelekar/following{/other_user}","gists_url":"https://api.github.com/users/mbelekar/gists{/gist_id}","starred_url":"https://api.github.com/users/mbelekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbelekar/subscriptions","organizations_url":"https://api.github.com/users/mbelekar/orgs","repos_url":"https://api.github.com/users/mbelekar/repos","events_url":"https://api.github.com/users/mbelekar/events{/privacy}","received_events_url":"https://api.github.com/users/mbelekar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbelekar/terraform-provider-pagerduty","description":"Terraform PagerDuty provider","fork":true,"url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty","forks_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/forks","keys_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/teams","hooks_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/hooks","issue_events_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/issues/events{/number}","events_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/events","assignees_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/assignees{/user}","branches_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/branches{/branch}","tags_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/tags","blobs_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/statuses/{sha}","languages_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/languages","stargazers_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/stargazers","contributors_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/contributors","subscribers_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/subscribers","subscription_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/subscription","commits_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/contents/{+path}","compare_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/merges","archive_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/downloads","issues_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/issues{/number}","pulls_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/pulls{/number}","milestones_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/milestones{/number}","notifications_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/labels{/name}","releases_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/releases{/id}","deployments_url":"https://api.github.com/repos/mbelekar/terraform-provider-pagerduty/deployments","created_at":"2018-01-29T03:48:46Z","updated_at":"2018-01-29T03:48:48Z","pushed_at":"2018-02-22T01:35:43Z","git_url":"git://github.com/mbelekar/terraform-provider-pagerduty.git","ssh_url":"git@github.com:mbelekar/terraform-provider-pagerduty.git","clone_url":"https://github.com/mbelekar/terraform-provider-pagerduty.git","svn_url":"https://github.com/mbelekar/terraform-provider-pagerduty","homepage":"https://www.terraform.io/docs/providers/pagerduty/","size":2087,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"terraform-providers:master","ref":"master","sha":"1f6d6efee87408c85ace418f3bc98ff775550819","user":{"login":"terraform-providers","id":29154831,"avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"repo":{"id":93446054,"name":"terraform-provider-pagerduty","full_name":"terraform-providers/terraform-provider-pagerduty","owner":{"login":"terraform-providers","id":29154831,"avatar_url":"https://avatars0.githubusercontent.com/u/29154831?v=4","gravatar_id":"","url":"https://api.github.com/users/terraform-providers","html_url":"https://github.com/terraform-providers","followers_url":"https://api.github.com/users/terraform-providers/followers","following_url":"https://api.github.com/users/terraform-providers/following{/other_user}","gists_url":"https://api.github.com/users/terraform-providers/gists{/gist_id}","starred_url":"https://api.github.com/users/terraform-providers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terraform-providers/subscriptions","organizations_url":"https://api.github.com/users/terraform-providers/orgs","repos_url":"https://api.github.com/users/terraform-providers/repos","events_url":"https://api.github.com/users/terraform-providers/events{/privacy}","received_events_url":"https://api.github.com/users/terraform-providers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/terraform-providers/terraform-provider-pagerduty","description":"Terraform PagerDuty provider","fork":false,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty","forks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/forks","keys_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/teams","hooks_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/hooks","issue_events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/issues/events{/number}","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/events","assignees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/assignees{/user}","branches_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/branches{/branch}","tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/tags","blobs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/git/refs{/sha}","trees_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/statuses/{sha}","languages_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/languages","stargazers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/stargazers","contributors_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/contributors","subscribers_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/subscribers","subscription_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/subscription","commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/commits{/sha}","git_commits_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/git/commits{/sha}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/comments{/number}","issue_comment_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/issues/comments{/number}","contents_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/contents/{+path}","compare_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/merges","archive_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/downloads","issues_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/issues{/number}","pulls_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/pulls{/number}","milestones_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/milestones{/number}","notifications_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/labels{/name}","releases_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/releases{/id}","deployments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/deployments","created_at":"2017-06-05T20:53:58Z","updated_at":"2018-02-14T17:46:36Z","pushed_at":"2018-02-22T01:35:44Z","git_url":"git://github.com/terraform-providers/terraform-provider-pagerduty.git","ssh_url":"git@github.com:terraform-providers/terraform-provider-pagerduty.git","clone_url":"https://github.com/terraform-providers/terraform-provider-pagerduty.git","svn_url":"https://github.com/terraform-providers/terraform-provider-pagerduty","homepage":"https://www.terraform.io/docs/providers/pagerduty/","size":2098,"stargazers_count":12,"watchers_count":12,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":12,"open_issues":9,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/pulls/68"},"html":{"href":"https://github.com/terraform-providers/terraform-provider-pagerduty/pull/68"},"issue":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/issues/68"},"comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/terraform-providers/terraform-provider-pagerduty/statuses/f68aa53390ad1a4d5d41186da6006fa4a434cd05"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":231,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"mbelekar"}}