{"action":"created","comment":{"url":"https://api.github.com/repos/apache/falcon/pulls/comments/87768759","pull_request_review_id":8363224,"id":87768759,"diff_hunk":"@@ -0,0 +1,114 @@\n+/**\n+ * Licensed to the Apache Software Foundation (ASF) under one\n+ * or more contributor license agreements.  See the NOTICE file\n+ * distributed with this work for additional information\n+ * regarding copyright ownership.  The ASF licenses this file\n+ * to you under the Apache License, Version 2.0 (the\n+ * \"License\"); you may not use this file except in compliance\n+ * with the License.  You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.apache.falcon.persistence;\n+\n+import javax.persistence.Basic;\n+import javax.persistence.Column;\n+import javax.persistence.Entity;\n+import javax.persistence.Id;\n+import javax.persistence.NamedQueries;\n+import javax.persistence.NamedQuery;\n+import javax.persistence.Table;\n+import javax.validation.constraints.NotNull;\n+import java.util.Date;\n+\n+\n+//SUSPEND CHECKSTYLE CHECK LineLengthCheck\n+/**\n+ * Table to store recipe metadata.\n+ */\n+\n+@Table(name = \"EXTENSION_METADATA\")\n+@Entity\n+@NamedQueries({\n+        @NamedQuery(name = PersistenceConstants.GET_ALL_RECIPES, query = \"select OBJECT(a) from ExtensionMetadataBean a \"),\n+        @NamedQuery(name = PersistenceConstants.GET_RECIPE_LOCATION, query = \"select a.location from ExtensionMetadataBean a where a.recipeName = :recipeName\"),\n+        @NamedQuery(name = PersistenceConstants.DELETE_ALL_RECIPES , query = \"delete from ExtensionMetadataBean\")\n+})\n+//RESUME CHECKSTYLE CHECK  LineLengthCheck\n+public class ExtensionMetadataBean {\n+    @Basic\n+    @NotNull\n+    @Id\n+\n+    @Column(name = \"recipe_name\")\n+    private String recipeName;\n+\n+\n+    @Basic\n+    @NotNull\n+    @Column(name = \"extension_type\")\n+    private String extensionType;\n+\n+    @Basic\n+    @NotNull\n+    @Column(name = \"description\")\n+    private String description;","path":"common/src/main/java/org/apache/falcon/persistence/ExtensionMetadataBean.java","position":60,"original_position":61,"commit_id":"617ccc61ecc0f83f61f593ad07375877faff3e36","original_commit_id":"b0373e4bfa74ed592b4c4c7510a0017c5110421a","user":{"login":"PraveenAdlakha","id":1464653,"avatar_url":"https://avatars.githubusercontent.com/u/1464653?v=3","gravatar_id":"","url":"https://api.github.com/users/PraveenAdlakha","html_url":"https://github.com/PraveenAdlakha","followers_url":"https://api.github.com/users/PraveenAdlakha/followers","following_url":"https://api.github.com/users/PraveenAdlakha/following{/other_user}","gists_url":"https://api.github.com/users/PraveenAdlakha/gists{/gist_id}","starred_url":"https://api.github.com/users/PraveenAdlakha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PraveenAdlakha/subscriptions","organizations_url":"https://api.github.com/users/PraveenAdlakha/orgs","repos_url":"https://api.github.com/users/PraveenAdlakha/repos","events_url":"https://api.github.com/users/PraveenAdlakha/events{/privacy}","received_events_url":"https://api.github.com/users/PraveenAdlakha/received_events","type":"User","site_admin":false},"body":"I believe one line description should be there. As we are using this field in the enumerate command.","created_at":"2016-11-14T10:02:02Z","updated_at":"2016-11-14T10:43:49Z","html_url":"https://github.com/apache/falcon/pull/297#discussion_r87768759","pull_request_url":"https://api.github.com/repos/apache/falcon/pulls/297","_links":{"self":{"href":"https://api.github.com/repos/apache/falcon/pulls/comments/87768759"},"html":{"href":"https://github.com/apache/falcon/pull/297#discussion_r87768759"},"pull_request":{"href":"https://api.github.com/repos/apache/falcon/pulls/297"}}},"pull_request":{"url":"https://api.github.com/repos/apache/falcon/pulls/297","id":93528458,"html_url":"https://github.com/apache/falcon/pull/297","diff_url":"https://github.com/apache/falcon/pull/297.diff","patch_url":"https://github.com/apache/falcon/pull/297.patch","issue_url":"https://api.github.com/repos/apache/falcon/issues/297","number":297,"state":"open","locked":false,"title":"FALCON-2181 Support for storing metadata of non trusted recipe","user":{"login":"PraveenAdlakha","id":1464653,"avatar_url":"https://avatars.githubusercontent.com/u/1464653?v=3","gravatar_id":"","url":"https://api.github.com/users/PraveenAdlakha","html_url":"https://github.com/PraveenAdlakha","followers_url":"https://api.github.com/users/PraveenAdlakha/followers","following_url":"https://api.github.com/users/PraveenAdlakha/following{/other_user}","gists_url":"https://api.github.com/users/PraveenAdlakha/gists{/gist_id}","starred_url":"https://api.github.com/users/PraveenAdlakha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PraveenAdlakha/subscriptions","organizations_url":"https://api.github.com/users/PraveenAdlakha/orgs","repos_url":"https://api.github.com/users/PraveenAdlakha/repos","events_url":"https://api.github.com/users/PraveenAdlakha/events{/privacy}","received_events_url":"https://api.github.com/users/PraveenAdlakha/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-14T08:57:10Z","updated_at":"2016-11-14T10:43:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27fb1d8123063815e613a4e7285da9a53d8a7fa8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/falcon/pulls/297/commits","review_comments_url":"https://api.github.com/repos/apache/falcon/pulls/297/comments","review_comment_url":"https://api.github.com/repos/apache/falcon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/falcon/issues/297/comments","statuses_url":"https://api.github.com/repos/apache/falcon/statuses/617ccc61ecc0f83f61f593ad07375877faff3e36","head":{"label":"PraveenAdlakha:751","ref":"751","sha":"617ccc61ecc0f83f61f593ad07375877faff3e36","user":{"login":"PraveenAdlakha","id":1464653,"avatar_url":"https://avatars.githubusercontent.com/u/1464653?v=3","gravatar_id":"","url":"https://api.github.com/users/PraveenAdlakha","html_url":"https://github.com/PraveenAdlakha","followers_url":"https://api.github.com/users/PraveenAdlakha/followers","following_url":"https://api.github.com/users/PraveenAdlakha/following{/other_user}","gists_url":"https://api.github.com/users/PraveenAdlakha/gists{/gist_id}","starred_url":"https://api.github.com/users/PraveenAdlakha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PraveenAdlakha/subscriptions","organizations_url":"https://api.github.com/users/PraveenAdlakha/orgs","repos_url":"https://api.github.com/users/PraveenAdlakha/repos","events_url":"https://api.github.com/users/PraveenAdlakha/events{/privacy}","received_events_url":"https://api.github.com/users/PraveenAdlakha/received_events","type":"User","site_admin":false},"repo":{"id":50416166,"name":"falcon","full_name":"PraveenAdlakha/falcon","owner":{"login":"PraveenAdlakha","id":1464653,"avatar_url":"https://avatars.githubusercontent.com/u/1464653?v=3","gravatar_id":"","url":"https://api.github.com/users/PraveenAdlakha","html_url":"https://github.com/PraveenAdlakha","followers_url":"https://api.github.com/users/PraveenAdlakha/followers","following_url":"https://api.github.com/users/PraveenAdlakha/following{/other_user}","gists_url":"https://api.github.com/users/PraveenAdlakha/gists{/gist_id}","starred_url":"https://api.github.com/users/PraveenAdlakha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PraveenAdlakha/subscriptions","organizations_url":"https://api.github.com/users/PraveenAdlakha/orgs","repos_url":"https://api.github.com/users/PraveenAdlakha/repos","events_url":"https://api.github.com/users/PraveenAdlakha/events{/privacy}","received_events_url":"https://api.github.com/users/PraveenAdlakha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PraveenAdlakha/falcon","description":"Mirror of Apache Falcon","fork":true,"url":"https://api.github.com/repos/PraveenAdlakha/falcon","forks_url":"https://api.github.com/repos/PraveenAdlakha/falcon/forks","keys_url":"https://api.github.com/repos/PraveenAdlakha/falcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PraveenAdlakha/falcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PraveenAdlakha/falcon/teams","hooks_url":"https://api.github.com/repos/PraveenAdlakha/falcon/hooks","issue_events_url":"https://api.github.com/repos/PraveenAdlakha/falcon/issues/events{/number}","events_url":"https://api.github.com/repos/PraveenAdlakha/falcon/events","assignees_url":"https://api.github.com/repos/PraveenAdlakha/falcon/assignees{/user}","branches_url":"https://api.github.com/repos/PraveenAdlakha/falcon/branches{/branch}","tags_url":"https://api.github.com/repos/PraveenAdlakha/falcon/tags","blobs_url":"https://api.github.com/repos/PraveenAdlakha/falcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PraveenAdlakha/falcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PraveenAdlakha/falcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/PraveenAdlakha/falcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PraveenAdlakha/falcon/statuses/{sha}","languages_url":"https://api.github.com/repos/PraveenAdlakha/falcon/languages","stargazers_url":"https://api.github.com/repos/PraveenAdlakha/falcon/stargazers","contributors_url":"https://api.github.com/repos/PraveenAdlakha/falcon/contributors","subscribers_url":"https://api.github.com/repos/PraveenAdlakha/falcon/subscribers","subscription_url":"https://api.github.com/repos/PraveenAdlakha/falcon/subscription","commits_url":"https://api.github.com/repos/PraveenAdlakha/falcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/PraveenAdlakha/falcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/PraveenAdlakha/falcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/PraveenAdlakha/falcon/issues/comments{/number}","contents_url":"https://api.github.com/repos/PraveenAdlakha/falcon/contents/{+path}","compare_url":"https://api.github.com/repos/PraveenAdlakha/falcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PraveenAdlakha/falcon/merges","archive_url":"https://api.github.com/repos/PraveenAdlakha/falcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PraveenAdlakha/falcon/downloads","issues_url":"https://api.github.com/repos/PraveenAdlakha/falcon/issues{/number}","pulls_url":"https://api.github.com/repos/PraveenAdlakha/falcon/pulls{/number}","milestones_url":"https://api.github.com/repos/PraveenAdlakha/falcon/milestones{/number}","notifications_url":"https://api.github.com/repos/PraveenAdlakha/falcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PraveenAdlakha/falcon/labels{/name}","releases_url":"https://api.github.com/repos/PraveenAdlakha/falcon/releases{/id}","deployments_url":"https://api.github.com/repos/PraveenAdlakha/falcon/deployments","created_at":"2016-01-26T08:53:12Z","updated_at":"2016-01-26T08:53:16Z","pushed_at":"2016-11-14T10:43:40Z","git_url":"git://github.com/PraveenAdlakha/falcon.git","ssh_url":"git@github.com:PraveenAdlakha/falcon.git","clone_url":"https://github.com/PraveenAdlakha/falcon.git","svn_url":"https://github.com/PraveenAdlakha/falcon","homepage":null,"size":30303,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"c980aa800afdcf38fcdafe004586abb3bafd4732","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":11543457,"name":"falcon","full_name":"apache/falcon","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/falcon","description":"Mirror of Apache Falcon","fork":false,"url":"https://api.github.com/repos/apache/falcon","forks_url":"https://api.github.com/repos/apache/falcon/forks","keys_url":"https://api.github.com/repos/apache/falcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/falcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/falcon/teams","hooks_url":"https://api.github.com/repos/apache/falcon/hooks","issue_events_url":"https://api.github.com/repos/apache/falcon/issues/events{/number}","events_url":"https://api.github.com/repos/apache/falcon/events","assignees_url":"https://api.github.com/repos/apache/falcon/assignees{/user}","branches_url":"https://api.github.com/repos/apache/falcon/branches{/branch}","tags_url":"https://api.github.com/repos/apache/falcon/tags","blobs_url":"https://api.github.com/repos/apache/falcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/falcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/falcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/falcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/falcon/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/falcon/languages","stargazers_url":"https://api.github.com/repos/apache/falcon/stargazers","contributors_url":"https://api.github.com/repos/apache/falcon/contributors","subscribers_url":"https://api.github.com/repos/apache/falcon/subscribers","subscription_url":"https://api.github.com/repos/apache/falcon/subscription","commits_url":"https://api.github.com/repos/apache/falcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/falcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/falcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/falcon/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/falcon/contents/{+path}","compare_url":"https://api.github.com/repos/apache/falcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/falcon/merges","archive_url":"https://api.github.com/repos/apache/falcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/falcon/downloads","issues_url":"https://api.github.com/repos/apache/falcon/issues{/number}","pulls_url":"https://api.github.com/repos/apache/falcon/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/falcon/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/falcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/falcon/labels{/name}","releases_url":"https://api.github.com/repos/apache/falcon/releases{/id}","deployments_url":"https://api.github.com/repos/apache/falcon/deployments","created_at":"2013-07-20T07:00:14Z","updated_at":"2016-11-10T14:30:33Z","pushed_at":"2016-11-14T10:43:41Z","git_url":"git://github.com/apache/falcon.git","ssh_url":"git@github.com:apache/falcon.git","clone_url":"https://github.com/apache/falcon.git","svn_url":"https://github.com/apache/falcon","homepage":null,"size":33428,"stargazers_count":61,"watchers_count":61,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":86,"mirror_url":"git://git.apache.org/falcon.git","open_issues_count":13,"forks":86,"open_issues":13,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/falcon/pulls/297"},"html":{"href":"https://github.com/apache/falcon/pull/297"},"issue":{"href":"https://api.github.com/repos/apache/falcon/issues/297"},"comments":{"href":"https://api.github.com/repos/apache/falcon/issues/297/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/falcon/pulls/297/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/falcon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/falcon/pulls/297/commits"},"statuses":{"href":"https://api.github.com/repos/apache/falcon/statuses/617ccc61ecc0f83f61f593ad07375877faff3e36"}}}}
{"actor":{"display_login":"PraveenAdlakha"}}