{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/pulls/2","id":56372869,"html_url":"https://github.com/ARGOeu/argo-ncg-eudat/pull/2","diff_url":"https://github.com/ARGOeu/argo-ncg-eudat/pull/2.diff","patch_url":"https://github.com/ARGOeu/argo-ncg-eudat/pull/2.patch","issue_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/issues/2","number":2,"state":"closed","locked":false,"title":"ARGO-309 Support new POEM schema. Remove MRS related code.","user":{"login":"dpavlos","id":3921516,"avatar_url":"https://avatars.githubusercontent.com/u/3921516?v=3","gravatar_id":"","url":"https://api.github.com/users/dpavlos","html_url":"https://github.com/dpavlos","followers_url":"https://api.github.com/users/dpavlos/followers","following_url":"https://api.github.com/users/dpavlos/following{/other_user}","gists_url":"https://api.github.com/users/dpavlos/gists{/gist_id}","starred_url":"https://api.github.com/users/dpavlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpavlos/subscriptions","organizations_url":"https://api.github.com/users/dpavlos/orgs","repos_url":"https://api.github.com/users/dpavlos/repos","events_url":"https://api.github.com/users/dpavlos/events{/privacy}","received_events_url":"https://api.github.com/users/dpavlos/received_events","type":"User","site_admin":false},"body":"- [x] Update NCG POEM perl module to support the new json schema directly from the poem api call (example below).\r\n- [x] Remove deprecated nagios flag `failure_prediction_enabled` .\r\n- [x] Remove MRS related code including the nagios checks for the DB.\r\n- [x] Remove default GOCDB urls from SiteSet and SiteInfo modules. Add proper error messages.\r\n\r\n`poem_sync/api/0.1/json/metricinstances/`\r\n```\r\n[\r\n  [\r\n    \"my.metric-TCP\",\r\n    \"MY-CERVICE\",\r\n    \"vo_name\",\r\n    <vo_fqan>\r\n  ],\r\n   ...\r\n]\r\n```\r\n\r\nNew call:\r\n`poem/api/0.2/json/profiles`\r\n```\r\n[\r\n  {\r\n    name: \"CRITICAL\",\r\n    atp_vo: \"vo_name\",\r\n    version: \"1.0\",\r\n    description: \"Test monitoring\",\r\n    metric_instances: [\r\n     {\r\n       metric: \"my.metric-TCP\",\r\n       fqan: \"vo_fqan\",\r\n      vo: \"vo_name\",\r\n      atp_service_type_flavour: \"service_flavour_name\"\r\n     },\r\n     ...\r\n   ]\r\n  }\r\n]\r\n```  ","created_at":"2016-01-18T17:47:25Z","updated_at":"2016-01-19T16:55:12Z","closed_at":"2016-01-19T16:55:12Z","merged_at":"2016-01-19T16:55:12Z","merge_commit_sha":"0a2d18e7ce5f9d990e87edc5ffa29b4cd410c0fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/issues/2/comments","statuses_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/statuses/d84fd146a908d723dde81d244d787df793cdf614","head":{"label":"dpavlos:cleaning_up","ref":"cleaning_up","sha":"d84fd146a908d723dde81d244d787df793cdf614","user":{"login":"dpavlos","id":3921516,"avatar_url":"https://avatars.githubusercontent.com/u/3921516?v=3","gravatar_id":"","url":"https://api.github.com/users/dpavlos","html_url":"https://github.com/dpavlos","followers_url":"https://api.github.com/users/dpavlos/followers","following_url":"https://api.github.com/users/dpavlos/following{/other_user}","gists_url":"https://api.github.com/users/dpavlos/gists{/gist_id}","starred_url":"https://api.github.com/users/dpavlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpavlos/subscriptions","organizations_url":"https://api.github.com/users/dpavlos/orgs","repos_url":"https://api.github.com/users/dpavlos/repos","events_url":"https://api.github.com/users/dpavlos/events{/privacy}","received_events_url":"https://api.github.com/users/dpavlos/received_events","type":"User","site_admin":false},"repo":{"id":49661194,"name":"argo-ncg-eudat","full_name":"dpavlos/argo-ncg-eudat","owner":{"login":"dpavlos","id":3921516,"avatar_url":"https://avatars.githubusercontent.com/u/3921516?v=3","gravatar_id":"","url":"https://api.github.com/users/dpavlos","html_url":"https://github.com/dpavlos","followers_url":"https://api.github.com/users/dpavlos/followers","following_url":"https://api.github.com/users/dpavlos/following{/other_user}","gists_url":"https://api.github.com/users/dpavlos/gists{/gist_id}","starred_url":"https://api.github.com/users/dpavlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpavlos/subscriptions","organizations_url":"https://api.github.com/users/dpavlos/orgs","repos_url":"https://api.github.com/users/dpavlos/repos","events_url":"https://api.github.com/users/dpavlos/events{/privacy}","received_events_url":"https://api.github.com/users/dpavlos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dpavlos/argo-ncg-eudat","description":"","fork":true,"url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat","forks_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/forks","keys_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/teams","hooks_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/hooks","issue_events_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/issues/events{/number}","events_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/events","assignees_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/assignees{/user}","branches_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/branches{/branch}","tags_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/tags","blobs_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/git/refs{/sha}","trees_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/statuses/{sha}","languages_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/languages","stargazers_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/stargazers","contributors_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/contributors","subscribers_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/subscribers","subscription_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/subscription","commits_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/commits{/sha}","git_commits_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/git/commits{/sha}","comments_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/comments{/number}","issue_comment_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/issues/comments{/number}","contents_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/contents/{+path}","compare_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/merges","archive_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/downloads","issues_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/issues{/number}","pulls_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/pulls{/number}","milestones_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/milestones{/number}","notifications_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/labels{/name}","releases_url":"https://api.github.com/repos/dpavlos/argo-ncg-eudat/releases{/id}","created_at":"2016-01-14T16:53:01Z","updated_at":"2016-01-14T16:53:02Z","pushed_at":"2016-01-19T15:59:52Z","git_url":"git://github.com/dpavlos/argo-ncg-eudat.git","ssh_url":"git@github.com:dpavlos/argo-ncg-eudat.git","clone_url":"https://github.com/dpavlos/argo-ncg-eudat.git","svn_url":"https://github.com/dpavlos/argo-ncg-eudat","homepage":null,"size":150,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ARGOeu:devel","ref":"devel","sha":"0bbdcc88637656756582044f0a37063d5bd971bc","user":{"login":"ARGOeu","id":6882712,"avatar_url":"https://avatars.githubusercontent.com/u/6882712?v=3","gravatar_id":"","url":"https://api.github.com/users/ARGOeu","html_url":"https://github.com/ARGOeu","followers_url":"https://api.github.com/users/ARGOeu/followers","following_url":"https://api.github.com/users/ARGOeu/following{/other_user}","gists_url":"https://api.github.com/users/ARGOeu/gists{/gist_id}","starred_url":"https://api.github.com/users/ARGOeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARGOeu/subscriptions","organizations_url":"https://api.github.com/users/ARGOeu/orgs","repos_url":"https://api.github.com/users/ARGOeu/repos","events_url":"https://api.github.com/users/ARGOeu/events{/privacy}","received_events_url":"https://api.github.com/users/ARGOeu/received_events","type":"Organization","site_admin":false},"repo":{"id":49571737,"name":"argo-ncg-eudat","full_name":"ARGOeu/argo-ncg-eudat","owner":{"login":"ARGOeu","id":6882712,"avatar_url":"https://avatars.githubusercontent.com/u/6882712?v=3","gravatar_id":"","url":"https://api.github.com/users/ARGOeu","html_url":"https://github.com/ARGOeu","followers_url":"https://api.github.com/users/ARGOeu/followers","following_url":"https://api.github.com/users/ARGOeu/following{/other_user}","gists_url":"https://api.github.com/users/ARGOeu/gists{/gist_id}","starred_url":"https://api.github.com/users/ARGOeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARGOeu/subscriptions","organizations_url":"https://api.github.com/users/ARGOeu/orgs","repos_url":"https://api.github.com/users/ARGOeu/repos","events_url":"https://api.github.com/users/ARGOeu/events{/privacy}","received_events_url":"https://api.github.com/users/ARGOeu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ARGOeu/argo-ncg-eudat","description":"","fork":false,"url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat","forks_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/forks","keys_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/teams","hooks_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/hooks","issue_events_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/issues/events{/number}","events_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/events","assignees_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/assignees{/user}","branches_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/branches{/branch}","tags_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/tags","blobs_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/statuses/{sha}","languages_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/languages","stargazers_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/stargazers","contributors_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/contributors","subscribers_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/subscribers","subscription_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/subscription","commits_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/contents/{+path}","compare_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/merges","archive_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/downloads","issues_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/issues{/number}","pulls_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/pulls{/number}","milestones_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/milestones{/number}","notifications_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/labels{/name}","releases_url":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/releases{/id}","created_at":"2016-01-13T12:14:14Z","updated_at":"2016-01-14T16:51:23Z","pushed_at":"2016-01-19T16:55:13Z","git_url":"git://github.com/ARGOeu/argo-ncg-eudat.git","ssh_url":"git@github.com:ARGOeu/argo-ncg-eudat.git","clone_url":"https://github.com/ARGOeu/argo-ncg-eudat.git","svn_url":"https://github.com/ARGOeu/argo-ncg-eudat","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/pulls/2"},"html":{"href":"https://github.com/ARGOeu/argo-ncg-eudat/pull/2"},"issue":{"href":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/issues/2"},"comments":{"href":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ARGOeu/argo-ncg-eudat/statuses/d84fd146a908d723dde81d244d787df793cdf614"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pkoro","id":824785,"avatar_url":"https://avatars.githubusercontent.com/u/824785?v=3","gravatar_id":"","url":"https://api.github.com/users/pkoro","html_url":"https://github.com/pkoro","followers_url":"https://api.github.com/users/pkoro/followers","following_url":"https://api.github.com/users/pkoro/following{/other_user}","gists_url":"https://api.github.com/users/pkoro/gists{/gist_id}","starred_url":"https://api.github.com/users/pkoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkoro/subscriptions","organizations_url":"https://api.github.com/users/pkoro/orgs","repos_url":"https://api.github.com/users/pkoro/repos","events_url":"https://api.github.com/users/pkoro/events{/privacy}","received_events_url":"https://api.github.com/users/pkoro/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":4,"additions":24,"deletions":240,"changed_files":9}}