{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/comments/29751282","id":29751282,"diff_hunk":"@@ -471,4 +471,16 @@ public void testValidateAttributesBadType5() throws InvalidEntityException, Alre\n \n         verify(systemPropertiesProvider, times(1)).getProperty(SystemPropertiesProvider.AVAILABLE_ATTRIBUTE_TYPES);\n     }\n+    @Test(expected = InvalidEntityException.class)\n+    public void testValidateMetadataDuplicated() throws Exception {","path":"rest-api/src/test/java/com/telefonica/euro_iaas/sdc/rest/validation/ProductResourceValidatorImplTest.java","position":5,"original_position":5,"commit_id":"d955aa6c3d126798a591da8370f0feb3a70ab1b2","original_commit_id":"d955aa6c3d126798a591da8370f0feb3a70ab1b2","user":{"login":"flopezag","id":1379796,"avatar_url":"https://avatars.githubusercontent.com/u/1379796?v=3","gravatar_id":"","url":"https://api.github.com/users/flopezag","html_url":"https://github.com/flopezag","followers_url":"https://api.github.com/users/flopezag/followers","following_url":"https://api.github.com/users/flopezag/following{/other_user}","gists_url":"https://api.github.com/users/flopezag/gists{/gist_id}","starred_url":"https://api.github.com/users/flopezag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flopezag/subscriptions","organizations_url":"https://api.github.com/users/flopezag/orgs","repos_url":"https://api.github.com/users/flopezag/repos","events_url":"https://api.github.com/users/flopezag/events{/privacy}","received_events_url":"https://api.github.com/users/flopezag/received_events","type":"User","site_admin":false},"body":"You have to add a new test in which the metadata are not duplicated...","created_at":"2015-05-06T12:02:51Z","updated_at":"2015-05-06T12:02:51Z","html_url":"https://github.com/telefonicaid/fiware-sdc/pull/192#discussion_r29751282","pull_request_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/192","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/comments/29751282"},"html":{"href":"https://github.com/telefonicaid/fiware-sdc/pull/192#discussion_r29751282"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/192"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/192","id":34713011,"html_url":"https://github.com/telefonicaid/fiware-sdc/pull/192","diff_url":"https://github.com/telefonicaid/fiware-sdc/pull/192.diff","patch_url":"https://github.com/telefonicaid/fiware-sdc/pull/192.patch","issue_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/192","number":192,"state":"open","locked":false,"title":"FIX: Duplicated metadata in product is not allowed","user":{"login":"jmmovilla","id":7262400,"avatar_url":"https://avatars.githubusercontent.com/u/7262400?v=3","gravatar_id":"","url":"https://api.github.com/users/jmmovilla","html_url":"https://github.com/jmmovilla","followers_url":"https://api.github.com/users/jmmovilla/followers","following_url":"https://api.github.com/users/jmmovilla/following{/other_user}","gists_url":"https://api.github.com/users/jmmovilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jmmovilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmmovilla/subscriptions","organizations_url":"https://api.github.com/users/jmmovilla/orgs","repos_url":"https://api.github.com/users/jmmovilla/repos","events_url":"https://api.github.com/users/jmmovilla/events{/privacy}","received_events_url":"https://api.github.com/users/jmmovilla/received_events","type":"User","site_admin":false},"body":"@jframos @hmunfru ","created_at":"2015-05-05T10:46:47Z","updated_at":"2015-05-06T12:02:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e616eeaa13a8dac1fedc566ae7925e37b162319c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/192/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/192/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/192/comments","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/statuses/d955aa6c3d126798a591da8370f0feb3a70ab1b2","head":{"label":"telefonicaid:bug/CLAUDIA-4706","ref":"bug/CLAUDIA-4706","sha":"d955aa6c3d126798a591da8370f0feb3a70ab1b2","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":18564172,"name":"fiware-sdc","full_name":"telefonicaid/fiware-sdc","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-sdc","description":"Software Deployment and Configuration for Fiware","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-sdc","forks_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/releases{/id}","created_at":"2014-04-08T15:44:41Z","updated_at":"2015-05-04T13:17:17Z","pushed_at":"2015-05-05T12:34:26Z","git_url":"git://github.com/telefonicaid/fiware-sdc.git","ssh_url":"git@github.com:telefonicaid/fiware-sdc.git","clone_url":"https://github.com/telefonicaid/fiware-sdc.git","svn_url":"https://github.com/telefonicaid/fiware-sdc","homepage":null,"size":37131,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":2,"default_branch":"develop"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"9055ea2a1085112d0e28e5c4c0e70c0de141264b","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":18564172,"name":"fiware-sdc","full_name":"telefonicaid/fiware-sdc","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-sdc","description":"Software Deployment and Configuration for Fiware","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-sdc","forks_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-sdc/releases{/id}","created_at":"2014-04-08T15:44:41Z","updated_at":"2015-05-04T13:17:17Z","pushed_at":"2015-05-05T12:34:26Z","git_url":"git://github.com/telefonicaid/fiware-sdc.git","ssh_url":"git@github.com:telefonicaid/fiware-sdc.git","clone_url":"https://github.com/telefonicaid/fiware-sdc.git","svn_url":"https://github.com/telefonicaid/fiware-sdc","homepage":null,"size":37131,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/192"},"html":{"href":"https://github.com/telefonicaid/fiware-sdc/pull/192"},"issue":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/192"},"comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/issues/192/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/192/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/pulls/192/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/fiware-sdc/statuses/d955aa6c3d126798a591da8370f0feb3a70ab1b2"}}}}