{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/comments/84215485","pull_request_review_id":5005886,"id":84215485,"diff_hunk":"@@ -41,17 +46,108 @@ public void setup() {\n         InboundEPProviderRegistry.getInstance().registerInboundEPProvider(new TestProvider());\n         OutboundEPProviderRegistry.getInstance().registerOutboundEPProvider(new TestOutboundEPProvider());\n     }\n+\n     @Ignore\n     @Test()\n     public void testListernerConstantsIflow() {\n         Assert.assertTrue((parseIflow(\"/integration-flows/constants.iflow\")));\n     }\n+\n     @Ignore\n     @Test\n     public void testListernerVariableAssignmentIflow() {\n         Assert.assertTrue((parseIflow(\"/integration-flows/variable-assignment.iflow\")));\n     }\n \n+    @Test\n+    public void testPassThroughObjectModelCreation() {\n+        String iFlowResource = \"/integration-flows/passthrough.xyz\";\n+        String integrationName = \"passthrough\";\n+        String resourceName = \"passthrough\";\n+        Boolean asExpected;\n+\n+        Assert.assertTrue(\"Error while deploying config :\" + iFlowResource, deployArtifacts(iFlowResource));\n+\n+        Integration sampleIntegration = IntegrationConfigRegistry.getInstance().getIntegrationConfig(integrationName);\n+        MediatorCollection generatedMediatorCollection = sampleIntegration.getResource(resourceName).getDefaultWorker()\n+                .getMediators();\n+        List<Mediator> mediatorList = generatedMediatorCollection.getMediators();\n+\n+        // Evaluate the generated mediator collection\n+        if (mediatorList.size() == 3) {","path":"gateway-core/components/org.wso2.carbon.gateway.core/src/test/java/org/wso2/carbon/gateway/core/config/WUMLListenerTest.java","position":77,"original_position":77,"commit_id":"35196af135c8599d4e8c8aaf0405eacd511a82c3","original_commit_id":"35196af135c8599d4e8c8aaf0405eacd511a82c3","user":{"login":"erandacr","id":4003109,"avatar_url":"https://avatars.githubusercontent.com/u/4003109?v=3","gravatar_id":"","url":"https://api.github.com/users/erandacr","html_url":"https://github.com/erandacr","followers_url":"https://api.github.com/users/erandacr/followers","following_url":"https://api.github.com/users/erandacr/following{/other_user}","gists_url":"https://api.github.com/users/erandacr/gists{/gist_id}","starred_url":"https://api.github.com/users/erandacr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erandacr/subscriptions","organizations_url":"https://api.github.com/users/erandacr/orgs","repos_url":"https://api.github.com/users/erandacr/repos","events_url":"https://api.github.com/users/erandacr/events{/privacy}","received_events_url":"https://api.github.com/users/erandacr/received_events","type":"User","site_admin":false},"body":"Its 3 because according to the sample, there are three mediators. Its completely depend on the sample NEL config that I have used \"passthrough.xyz\". I will add a brief comment on this,\r\nThanks,","created_at":"2016-10-20T05:38:31Z","updated_at":"2016-10-20T05:38:31Z","html_url":"https://github.com/wso2/carbon-gateway-framework/pull/52#discussion_r84215485","pull_request_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/comments/84215485"},"html":{"href":"https://github.com/wso2/carbon-gateway-framework/pull/52#discussion_r84215485"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/52","id":89996907,"html_url":"https://github.com/wso2/carbon-gateway-framework/pull/52","diff_url":"https://github.com/wso2/carbon-gateway-framework/pull/52.diff","patch_url":"https://github.com/wso2/carbon-gateway-framework/pull/52.patch","issue_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/52","number":52,"state":"open","locked":false,"title":"Test cases added for parsing and object model creation","user":{"login":"erandacr","id":4003109,"avatar_url":"https://avatars.githubusercontent.com/u/4003109?v=3","gravatar_id":"","url":"https://api.github.com/users/erandacr","html_url":"https://github.com/erandacr","followers_url":"https://api.github.com/users/erandacr/followers","following_url":"https://api.github.com/users/erandacr/following{/other_user}","gists_url":"https://api.github.com/users/erandacr/gists{/gist_id}","starred_url":"https://api.github.com/users/erandacr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erandacr/subscriptions","organizations_url":"https://api.github.com/users/erandacr/orgs","repos_url":"https://api.github.com/users/erandacr/repos","events_url":"https://api.github.com/users/erandacr/events{/privacy}","received_events_url":"https://api.github.com/users/erandacr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-19T12:14:40Z","updated_at":"2016-10-20T05:38:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b9af8bc465bae03aa800dac2d5bdc06151eacc1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/52/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/52/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/52/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/statuses/35196af135c8599d4e8c8aaf0405eacd511a82c3","head":{"label":"erandacr:new-grammar-v6","ref":"new-grammar-v6","sha":"35196af135c8599d4e8c8aaf0405eacd511a82c3","user":{"login":"erandacr","id":4003109,"avatar_url":"https://avatars.githubusercontent.com/u/4003109?v=3","gravatar_id":"","url":"https://api.github.com/users/erandacr","html_url":"https://github.com/erandacr","followers_url":"https://api.github.com/users/erandacr/followers","following_url":"https://api.github.com/users/erandacr/following{/other_user}","gists_url":"https://api.github.com/users/erandacr/gists{/gist_id}","starred_url":"https://api.github.com/users/erandacr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erandacr/subscriptions","organizations_url":"https://api.github.com/users/erandacr/orgs","repos_url":"https://api.github.com/users/erandacr/repos","events_url":"https://api.github.com/users/erandacr/events{/privacy}","received_events_url":"https://api.github.com/users/erandacr/received_events","type":"User","site_admin":false},"repo":{"id":67666296,"name":"carbon-gateway-framework","full_name":"erandacr/carbon-gateway-framework","owner":{"login":"erandacr","id":4003109,"avatar_url":"https://avatars.githubusercontent.com/u/4003109?v=3","gravatar_id":"","url":"https://api.github.com/users/erandacr","html_url":"https://github.com/erandacr","followers_url":"https://api.github.com/users/erandacr/followers","following_url":"https://api.github.com/users/erandacr/following{/other_user}","gists_url":"https://api.github.com/users/erandacr/gists{/gist_id}","starred_url":"https://api.github.com/users/erandacr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erandacr/subscriptions","organizations_url":"https://api.github.com/users/erandacr/orgs","repos_url":"https://api.github.com/users/erandacr/repos","events_url":"https://api.github.com/users/erandacr/events{/privacy}","received_events_url":"https://api.github.com/users/erandacr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erandacr/carbon-gateway-framework","description":null,"fork":true,"url":"https://api.github.com/repos/erandacr/carbon-gateway-framework","forks_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/forks","keys_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/teams","hooks_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/hooks","issue_events_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/issues/events{/number}","events_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/events","assignees_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/assignees{/user}","branches_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/branches{/branch}","tags_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/tags","blobs_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/languages","stargazers_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/stargazers","contributors_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/contributors","subscribers_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/subscribers","subscription_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/subscription","commits_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/contents/{+path}","compare_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/merges","archive_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/downloads","issues_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/issues{/number}","pulls_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/labels{/name}","releases_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/releases{/id}","deployments_url":"https://api.github.com/repos/erandacr/carbon-gateway-framework/deployments","created_at":"2016-09-08T03:47:31Z","updated_at":"2016-09-08T03:47:34Z","pushed_at":"2016-10-19T12:14:06Z","git_url":"git://github.com/erandacr/carbon-gateway-framework.git","ssh_url":"git@github.com:erandacr/carbon-gateway-framework.git","clone_url":"https://github.com/erandacr/carbon-gateway-framework.git","svn_url":"https://github.com/erandacr/carbon-gateway-framework","homepage":null,"size":717,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"wso2:master","ref":"master","sha":"b54aba9f79a1bc6487ab5631d1e28a8dde921a1d","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":56567417,"name":"carbon-gateway-framework","full_name":"wso2/carbon-gateway-framework","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-gateway-framework","description":null,"fork":false,"url":"https://api.github.com/repos/wso2/carbon-gateway-framework","forks_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/forks","keys_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/events","assignees_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/merges","archive_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/deployments","created_at":"2016-04-19T05:33:44Z","updated_at":"2016-08-30T13:02:40Z","pushed_at":"2016-10-19T12:14:40Z","git_url":"git://github.com/wso2/carbon-gateway-framework.git","ssh_url":"git@github.com:wso2/carbon-gateway-framework.git","clone_url":"https://github.com/wso2/carbon-gateway-framework.git","svn_url":"https://github.com/wso2/carbon-gateway-framework","homepage":null,"size":916,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":9,"forks":37,"open_issues":9,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/52"},"html":{"href":"https://github.com/wso2/carbon-gateway-framework/pull/52"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/52"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/statuses/35196af135c8599d4e8c8aaf0405eacd511a82c3"}}}}
{"actor":{"display_login":"erandacr"}}