{"action":"created","comment":{"url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/comments/29863749","id":29863749,"diff_hunk":"@@ -45,6 +47,7 @@\n     private String name;\n     private Instant lastUpdate;\n     private List<List<Element>> rows = new ArrayList<>();\n+    private List<Asset<Page>> assets = new ArrayList<>();","path":"backend/webapp/src/main/java/org/bonitasoft/web/designer/model/page/Page.java","position":21,"original_position":21,"commit_id":"c3273a54fdf615106553ba4f8b16b4d5185ae847","original_commit_id":"055e0e7bb0aec5ccf703d1ac2c929a3d3a9e41b3","user":{"login":"cpuy","id":1671164,"avatar_url":"https://avatars.githubusercontent.com/u/1671164?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuy","html_url":"https://github.com/cpuy","followers_url":"https://api.github.com/users/cpuy/followers","following_url":"https://api.github.com/users/cpuy/following{/other_user}","gists_url":"https://api.github.com/users/cpuy/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuy/subscriptions","organizations_url":"https://api.github.com/users/cpuy/orgs","repos_url":"https://api.github.com/users/cpuy/repos","events_url":"https://api.github.com/users/cpuy/events{/privacy}","received_events_url":"https://api.github.com/users/cpuy/received_events","type":"User","site_admin":false},"body":"Maybe we should not initialize our lists to not put empty lists in json model","created_at":"2015-05-07T15:34:21Z","updated_at":"2015-05-07T15:34:21Z","html_url":"https://github.com/bonitasoft/bonita-ui-designer/pull/6#discussion_r29863749","pull_request_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/comments/29863749"},"html":{"href":"https://github.com/bonitasoft/bonita-ui-designer/pull/6#discussion_r29863749"},"pull_request":{"href":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/6","id":34887655,"html_url":"https://github.com/bonitasoft/bonita-ui-designer/pull/6","diff_url":"https://github.com/bonitasoft/bonita-ui-designer/pull/6.diff","patch_url":"https://github.com/bonitasoft/bonita-ui-designer/pull/6.patch","issue_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues/6","number":6,"state":"open","locked":false,"title":"Webresources can be attached to a page ans saved in the same folder","user":{"login":"javamind","id":1812822,"avatar_url":"https://avatars.githubusercontent.com/u/1812822?v=3","gravatar_id":"","url":"https://api.github.com/users/javamind","html_url":"https://github.com/javamind","followers_url":"https://api.github.com/users/javamind/followers","following_url":"https://api.github.com/users/javamind/following{/other_user}","gists_url":"https://api.github.com/users/javamind/gists{/gist_id}","starred_url":"https://api.github.com/users/javamind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javamind/subscriptions","organizations_url":"https://api.github.com/users/javamind/orgs","repos_url":"https://api.github.com/users/javamind/repos","events_url":"https://api.github.com/users/javamind/events{/privacy}","received_events_url":"https://api.github.com/users/javamind/received_events","type":"User","site_admin":false},"body":"A webresource can be attached to a page or any component in the future\r\nWe have a Json description in the component (filename and mimetype)\r\nThe file is stored next to the page in the same folder. We can find a resource associated to a page by the filename.\r\n@velcrin @cpuy @lionelB  I wait for your remarks\r\n","created_at":"2015-05-07T06:53:16Z","updated_at":"2015-05-07T15:34:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4adb0854ec2c75e40540053a2dbb72beb129328b","assignee":{"login":"cpuy","id":1671164,"avatar_url":"https://avatars.githubusercontent.com/u/1671164?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuy","html_url":"https://github.com/cpuy","followers_url":"https://api.github.com/users/cpuy/followers","following_url":"https://api.github.com/users/cpuy/following{/other_user}","gists_url":"https://api.github.com/users/cpuy/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuy/subscriptions","organizations_url":"https://api.github.com/users/cpuy/orgs","repos_url":"https://api.github.com/users/cpuy/repos","events_url":"https://api.github.com/users/cpuy/events{/privacy}","received_events_url":"https://api.github.com/users/cpuy/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/6/commits","review_comments_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/6/comments","review_comment_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues/6/comments","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/statuses/c3273a54fdf615106553ba4f8b16b4d5185ae847","head":{"label":"bonitasoft:feat/resources-backend","ref":"feat/resources-backend","sha":"c3273a54fdf615106553ba4f8b16b4d5185ae847","user":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars.githubusercontent.com/u/4619712?v=3","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"repo":{"id":34387597,"name":"bonita-ui-designer","full_name":"bonitasoft/bonita-ui-designer","owner":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars.githubusercontent.com/u/4619712?v=3","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonitasoft/bonita-ui-designer","description":"","fork":false,"url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer","forks_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/forks","keys_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/teams","hooks_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/hooks","issue_events_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues/events{/number}","events_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/events","assignees_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/assignees{/user}","branches_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/branches{/branch}","tags_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/tags","blobs_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/statuses/{sha}","languages_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/languages","stargazers_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/stargazers","contributors_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/contributors","subscribers_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/subscribers","subscription_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/subscription","commits_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/contents/{+path}","compare_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/merges","archive_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/downloads","issues_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues{/number}","pulls_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls{/number}","milestones_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/milestones{/number}","notifications_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/labels{/name}","releases_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/releases{/id}","created_at":"2015-04-22T11:55:19Z","updated_at":"2015-05-07T14:25:42Z","pushed_at":"2015-05-07T15:17:45Z","git_url":"git://github.com/bonitasoft/bonita-ui-designer.git","ssh_url":"git@github.com:bonitasoft/bonita-ui-designer.git","clone_url":"https://github.com/bonitasoft/bonita-ui-designer.git","svn_url":"https://github.com/bonitasoft/bonita-ui-designer","homepage":null,"size":116,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"bonitasoft:master","ref":"master","sha":"31a48969141600eca3d679eda351e3f768cc02e9","user":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars.githubusercontent.com/u/4619712?v=3","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"repo":{"id":34387597,"name":"bonita-ui-designer","full_name":"bonitasoft/bonita-ui-designer","owner":{"login":"bonitasoft","id":4619712,"avatar_url":"https://avatars.githubusercontent.com/u/4619712?v=3","gravatar_id":"","url":"https://api.github.com/users/bonitasoft","html_url":"https://github.com/bonitasoft","followers_url":"https://api.github.com/users/bonitasoft/followers","following_url":"https://api.github.com/users/bonitasoft/following{/other_user}","gists_url":"https://api.github.com/users/bonitasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitasoft/subscriptions","organizations_url":"https://api.github.com/users/bonitasoft/orgs","repos_url":"https://api.github.com/users/bonitasoft/repos","events_url":"https://api.github.com/users/bonitasoft/events{/privacy}","received_events_url":"https://api.github.com/users/bonitasoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonitasoft/bonita-ui-designer","description":"","fork":false,"url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer","forks_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/forks","keys_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/teams","hooks_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/hooks","issue_events_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues/events{/number}","events_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/events","assignees_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/assignees{/user}","branches_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/branches{/branch}","tags_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/tags","blobs_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/statuses/{sha}","languages_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/languages","stargazers_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/stargazers","contributors_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/contributors","subscribers_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/subscribers","subscription_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/subscription","commits_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/contents/{+path}","compare_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/merges","archive_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/downloads","issues_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues{/number}","pulls_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls{/number}","milestones_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/milestones{/number}","notifications_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/labels{/name}","releases_url":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/releases{/id}","created_at":"2015-04-22T11:55:19Z","updated_at":"2015-05-07T14:25:42Z","pushed_at":"2015-05-07T15:17:45Z","git_url":"git://github.com/bonitasoft/bonita-ui-designer.git","ssh_url":"git@github.com:bonitasoft/bonita-ui-designer.git","clone_url":"https://github.com/bonitasoft/bonita-ui-designer.git","svn_url":"https://github.com/bonitasoft/bonita-ui-designer","homepage":null,"size":116,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/6"},"html":{"href":"https://github.com/bonitasoft/bonita-ui-designer/pull/6"},"issue":{"href":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues/6"},"comments":{"href":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/bonitasoft/bonita-ui-designer/statuses/c3273a54fdf615106553ba4f8b16b4d5185ae847"}}}}