{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/pulls/10","id":174117781,"html_url":"https://github.com/openconnectivityfoundation/swagger2x/pull/10","diff_url":"https://github.com/openconnectivityfoundation/swagger2x/pull/10.diff","patch_url":"https://github.com/openconnectivityfoundation/swagger2x/pull/10.patch","issue_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/issues/10","number":10,"state":"open","locked":false,"title":"Update resource class and PICS","user":{"login":"gnash117","id":1868359,"avatar_url":"https://avatars3.githubusercontent.com/u/1868359?v=4","gravatar_id":"","url":"https://api.github.com/users/gnash117","html_url":"https://github.com/gnash117","followers_url":"https://api.github.com/users/gnash117/followers","following_url":"https://api.github.com/users/gnash117/following{/other_user}","gists_url":"https://api.github.com/users/gnash117/gists{/gist_id}","starred_url":"https://api.github.com/users/gnash117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnash117/subscriptions","organizations_url":"https://api.github.com/users/gnash117/orgs","repos_url":"https://api.github.com/users/gnash117/repos","events_url":"https://api.github.com/users/gnash117/events{/privacy}","received_events_url":"https://api.github.com/users/gnash117/received_events","type":"User","site_admin":false},"body":"The resource class no longer automatically registers\r\nthe resource. This was separated to make it possible\r\nfor the developer to catch and handle errors. Instead\r\nof throwing a generic runtime error.\r\n\r\nThe resource constructor was also updated to accept\r\nthe resource URI as an input parameter. If no uri\r\nis provided the code will still default to the uri\r\nfrom the input json. This makes it possible to specify\r\nmultiple instances of the same resource on a device.\r\n\r\nWhen registering the resource the developer has the option\r\nof passing in the resource properties making is simpler to\r\nchange that value at the time of registration. If no value\r\nis passed in when registering the resource it will default\r\nto OC_DISCOVERABLE | OC_OBSERVABLE | OC_SECURE.\r\n\r\nThe resources oic.r.csr, oic.r.crl, and oic.r.roles was\r\nadded to the PICS file since these resources are currently\r\nbeing added by default and the CTT will fail if the PICS\r\nfile does not contain those resources.\r\n\r\nThe PICS observableOICRES property was changes from true\r\nto false. Testing has shown that /oic/res is currently\r\nnot observable. If we want /oic/res to be observable\r\nthe code must be updated.\r\n\r\nSigned-off-by: George Nash <george.nash@intel.com>","created_at":"2018-03-09T21:52:57Z","updated_at":"2018-03-09T21:52:57Z","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/openconnectivityfoundation/swagger2x/pulls/10/commits","review_comments_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/pulls/10/comments","review_comment_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/issues/10/comments","statuses_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/statuses/ac63e0d8460e941e4173a0013f183144d5452630","head":{"label":"gnash117:cpp_template","ref":"cpp_template","sha":"ac63e0d8460e941e4173a0013f183144d5452630","user":{"login":"gnash117","id":1868359,"avatar_url":"https://avatars3.githubusercontent.com/u/1868359?v=4","gravatar_id":"","url":"https://api.github.com/users/gnash117","html_url":"https://github.com/gnash117","followers_url":"https://api.github.com/users/gnash117/followers","following_url":"https://api.github.com/users/gnash117/following{/other_user}","gists_url":"https://api.github.com/users/gnash117/gists{/gist_id}","starred_url":"https://api.github.com/users/gnash117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnash117/subscriptions","organizations_url":"https://api.github.com/users/gnash117/orgs","repos_url":"https://api.github.com/users/gnash117/repos","events_url":"https://api.github.com/users/gnash117/events{/privacy}","received_events_url":"https://api.github.com/users/gnash117/received_events","type":"User","site_admin":false},"repo":{"id":121795981,"name":"swagger2x","full_name":"gnash117/swagger2x","owner":{"login":"gnash117","id":1868359,"avatar_url":"https://avatars3.githubusercontent.com/u/1868359?v=4","gravatar_id":"","url":"https://api.github.com/users/gnash117","html_url":"https://github.com/gnash117","followers_url":"https://api.github.com/users/gnash117/followers","following_url":"https://api.github.com/users/gnash117/following{/other_user}","gists_url":"https://api.github.com/users/gnash117/gists{/gist_id}","starred_url":"https://api.github.com/users/gnash117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnash117/subscriptions","organizations_url":"https://api.github.com/users/gnash117/orgs","repos_url":"https://api.github.com/users/gnash117/repos","events_url":"https://api.github.com/users/gnash117/events{/privacy}","received_events_url":"https://api.github.com/users/gnash117/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gnash117/swagger2x","description":"Python based tool to generated from swagger documents implementations by means of templates","fork":true,"url":"https://api.github.com/repos/gnash117/swagger2x","forks_url":"https://api.github.com/repos/gnash117/swagger2x/forks","keys_url":"https://api.github.com/repos/gnash117/swagger2x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gnash117/swagger2x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gnash117/swagger2x/teams","hooks_url":"https://api.github.com/repos/gnash117/swagger2x/hooks","issue_events_url":"https://api.github.com/repos/gnash117/swagger2x/issues/events{/number}","events_url":"https://api.github.com/repos/gnash117/swagger2x/events","assignees_url":"https://api.github.com/repos/gnash117/swagger2x/assignees{/user}","branches_url":"https://api.github.com/repos/gnash117/swagger2x/branches{/branch}","tags_url":"https://api.github.com/repos/gnash117/swagger2x/tags","blobs_url":"https://api.github.com/repos/gnash117/swagger2x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gnash117/swagger2x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gnash117/swagger2x/git/refs{/sha}","trees_url":"https://api.github.com/repos/gnash117/swagger2x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gnash117/swagger2x/statuses/{sha}","languages_url":"https://api.github.com/repos/gnash117/swagger2x/languages","stargazers_url":"https://api.github.com/repos/gnash117/swagger2x/stargazers","contributors_url":"https://api.github.com/repos/gnash117/swagger2x/contributors","subscribers_url":"https://api.github.com/repos/gnash117/swagger2x/subscribers","subscription_url":"https://api.github.com/repos/gnash117/swagger2x/subscription","commits_url":"https://api.github.com/repos/gnash117/swagger2x/commits{/sha}","git_commits_url":"https://api.github.com/repos/gnash117/swagger2x/git/commits{/sha}","comments_url":"https://api.github.com/repos/gnash117/swagger2x/comments{/number}","issue_comment_url":"https://api.github.com/repos/gnash117/swagger2x/issues/comments{/number}","contents_url":"https://api.github.com/repos/gnash117/swagger2x/contents/{+path}","compare_url":"https://api.github.com/repos/gnash117/swagger2x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gnash117/swagger2x/merges","archive_url":"https://api.github.com/repos/gnash117/swagger2x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gnash117/swagger2x/downloads","issues_url":"https://api.github.com/repos/gnash117/swagger2x/issues{/number}","pulls_url":"https://api.github.com/repos/gnash117/swagger2x/pulls{/number}","milestones_url":"https://api.github.com/repos/gnash117/swagger2x/milestones{/number}","notifications_url":"https://api.github.com/repos/gnash117/swagger2x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gnash117/swagger2x/labels{/name}","releases_url":"https://api.github.com/repos/gnash117/swagger2x/releases{/id}","deployments_url":"https://api.github.com/repos/gnash117/swagger2x/deployments","created_at":"2018-02-16T20:14:29Z","updated_at":"2018-02-16T20:14:31Z","pushed_at":"2018-03-09T21:41:04Z","git_url":"git://github.com/gnash117/swagger2x.git","ssh_url":"git@github.com:gnash117/swagger2x.git","clone_url":"https://github.com/gnash117/swagger2x.git","svn_url":"https://github.com/gnash117/swagger2x","homepage":null,"size":245,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"openconnectivityfoundation:master","ref":"master","sha":"b75e43b39dcde91217dcb8c8b96c11671a7cf2ac","user":{"login":"openconnectivityfoundation","id":17390911,"avatar_url":"https://avatars2.githubusercontent.com/u/17390911?v=4","gravatar_id":"","url":"https://api.github.com/users/openconnectivityfoundation","html_url":"https://github.com/openconnectivityfoundation","followers_url":"https://api.github.com/users/openconnectivityfoundation/followers","following_url":"https://api.github.com/users/openconnectivityfoundation/following{/other_user}","gists_url":"https://api.github.com/users/openconnectivityfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/openconnectivityfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openconnectivityfoundation/subscriptions","organizations_url":"https://api.github.com/users/openconnectivityfoundation/orgs","repos_url":"https://api.github.com/users/openconnectivityfoundation/repos","events_url":"https://api.github.com/users/openconnectivityfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/openconnectivityfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":76286861,"name":"swagger2x","full_name":"openconnectivityfoundation/swagger2x","owner":{"login":"openconnectivityfoundation","id":17390911,"avatar_url":"https://avatars2.githubusercontent.com/u/17390911?v=4","gravatar_id":"","url":"https://api.github.com/users/openconnectivityfoundation","html_url":"https://github.com/openconnectivityfoundation","followers_url":"https://api.github.com/users/openconnectivityfoundation/followers","following_url":"https://api.github.com/users/openconnectivityfoundation/following{/other_user}","gists_url":"https://api.github.com/users/openconnectivityfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/openconnectivityfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openconnectivityfoundation/subscriptions","organizations_url":"https://api.github.com/users/openconnectivityfoundation/orgs","repos_url":"https://api.github.com/users/openconnectivityfoundation/repos","events_url":"https://api.github.com/users/openconnectivityfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/openconnectivityfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openconnectivityfoundation/swagger2x","description":"Python based tool to generated from swagger documents implementations by means of templates","fork":false,"url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x","forks_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/forks","keys_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/teams","hooks_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/hooks","issue_events_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/issues/events{/number}","events_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/events","assignees_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/assignees{/user}","branches_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/branches{/branch}","tags_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/tags","blobs_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/git/refs{/sha}","trees_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/statuses/{sha}","languages_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/languages","stargazers_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/stargazers","contributors_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/contributors","subscribers_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/subscribers","subscription_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/subscription","commits_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/commits{/sha}","git_commits_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/git/commits{/sha}","comments_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/comments{/number}","issue_comment_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/issues/comments{/number}","contents_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/contents/{+path}","compare_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/merges","archive_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/downloads","issues_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/issues{/number}","pulls_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/pulls{/number}","milestones_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/milestones{/number}","notifications_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/labels{/name}","releases_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/releases{/id}","deployments_url":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/deployments","created_at":"2016-12-12T19:08:20Z","updated_at":"2018-01-15T17:12:28Z","pushed_at":"2018-03-08T12:28:06Z","git_url":"git://github.com/openconnectivityfoundation/swagger2x.git","ssh_url":"git@github.com:openconnectivityfoundation/swagger2x.git","clone_url":"https://github.com/openconnectivityfoundation/swagger2x.git","svn_url":"https://github.com/openconnectivityfoundation/swagger2x","homepage":null,"size":251,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":3,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/pulls/10"},"html":{"href":"https://github.com/openconnectivityfoundation/swagger2x/pull/10"},"issue":{"href":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/issues/10"},"comments":{"href":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/openconnectivityfoundation/swagger2x/statuses/ac63e0d8460e941e4173a0013f183144d5452630"}},"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":1,"additions":126,"deletions":59,"changed_files":2}}
{"actor":{"display_login":"gnash117"}}