{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/comments/192181448","pull_request_review_id":124907679,"id":192181448,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjE4MTQ0OA==","diff_hunk":"@@ -391,6 +410,329 @@ public Response siddhiAppsStatsEnable(boolean statsEnabled) throws NotFoundExcep\n         return Response.status(Response.Status.OK).entity(jsonString).build();\n     }\n \n+    public Response siddhiAppElementsGet(String appName) throws NotFoundException {\n+        String jsonString;\n+        Map<String, SiddhiAppData> siddhiAppDataMap = StreamProcessorDataHolder.getStreamProcessorService()\n+                .getSiddhiAppMap();\n+        if (siddhiAppDataMap.containsKey(appName)) {\n+            String siddhiAppString = siddhiAppDataMap.get(appName).getSiddhiApp();\n+            SiddhiApp siddhiApp = SiddhiCompiler.parse(String.valueOf(siddhiAppString));\n+            SiddhiAppRuntime siddhiAppRuntime = new SiddhiManager().createSiddhiAppRuntime(siddhiApp);\n+            List<SiddhiAppElements> listOfSiddhiAppElements = new ArrayList<>();\n+\n+            for (int i = 0; i < siddhiApp.getExecutionElementList().size(); i++) {\n+                ExecutionElement executionElement = siddhiApp.getExecutionElementList().get(i);\n+                if (executionElement instanceof Query) {\n+                    loadQueryExecutionElements(siddhiApp, siddhiAppRuntime, executionElement, siddhiAppString,\n+                            listOfSiddhiAppElements);\n+                } else if (executionElement instanceof Partition) {\n+                    loadPartitionExecutionElements(siddhiApp, siddhiAppRuntime, executionElement, siddhiAppString,\n+                            listOfSiddhiAppElements);\n+                }\n+            }\n+\n+            loadAggregarionData(siddhiApp, siddhiAppRuntime, listOfSiddhiAppElements, siddhiAppString);\n+            return Response.ok().entity(listOfSiddhiAppElements).build();\n+        }\n+\n+        jsonString = new Gson().toJson(new ApiResponseMessage(ApiResponseMessage.NOT_FOUND,\n+                \"There is no Siddhi App exist with provided name : \" + appName));\n+        return Response.status(Response.Status.NOT_FOUND).entity(jsonString).build();\n+    }\n+\n+    /**\n+     * Load all the elements of query\n+     */\n+    private void loadQueryExecutionElements(SiddhiApp siddhiApp, SiddhiAppRuntime siddhiAppRuntime, ExecutionElement\n+            executionElement, String siddhiAppString, List<SiddhiAppElements> listOfSiddhiAppElements) {\n+        for (String inputStreamId : (((Query) executionElement).getInputStream()\n+                .getUniqueStreamIds())) {\n+            SiddhiAppElements siddhiAppElements = new SiddhiAppElements();\n+            siddhiAppElements.setInputStreamId(inputStreamId);\n+            loadInputData(siddhiApp, siddhiAppRuntime, inputStreamId, siddhiAppString, siddhiAppElements);\n+            String outPutStreamId = ((Query) executionElement)\n+                    .getOutputStream().getId();\n+            siddhiAppElements.setOutputStreamId(outPutStreamId);\n+            loadOutputData(siddhiApp, siddhiAppRuntime, outPutStreamId, siddhiAppString, siddhiAppElements);\n+            loadFunctionData(siddhiApp, ((Query) executionElement).getSelector\n+                    ().getSelectionList(), siddhiAppElements, siddhiAppString);\n+            loadQueryName(executionElement.getAnnotations(), siddhiAppElements);\n+            Query query = (Query) executionElement;\n+            siddhiAppElements.setQuery(getDefinition(query, siddhiAppString));\n+            listOfSiddhiAppElements.add(siddhiAppElements);\n+        }\n+    }\n+\n+    /**\n+     * Load all the elements of partition\n+     */\n+    private void loadPartitionExecutionElements(SiddhiApp siddhiApp, SiddhiAppRuntime siddhiAppRuntime,\n+                                                ExecutionElement executionElement, String siddhiAppString,\n+                                                List<SiddhiAppElements> listOfSiddhiAppElements) {\n+        List<Query> partitionStream = ((Partition) executionElement).getQueryList();\n+        for (Query query : partitionStream) {\n+            for (String inputStreamId : query.getInputStream().getUniqueStreamIds()) {\n+                SiddhiAppElements siddhiAppElements = new SiddhiAppElements();\n+\n+                siddhiAppElements.setInputStreamId(inputStreamId);\n+                siddhiAppElements.setOutputStreamId(query.getOutputStream().getId());\n+                siddhiAppElements.setPartitionQuery(getDefinition(query, siddhiAppString));\n+                loadQueryName(executionElement.getAnnotations(), siddhiAppElements);\n+                loadInputData(siddhiApp, siddhiAppRuntime, inputStreamId, siddhiAppString, siddhiAppElements);\n+                String outputStreamId = query.getOutputStream().getId();\n+                loadOutputData(siddhiApp, siddhiAppRuntime, outputStreamId, siddhiAppString, siddhiAppElements);\n+                loadFunctionData(siddhiApp, query.getSelector().getSelectionList(), siddhiAppElements, siddhiAppString);\n+\n+                for (PartitionType partitionType : ((Partition) executionElement)\n+                        .getPartitionTypeMap().values()) {\n+                    if (partitionType instanceof ValuePartitionType) {\n+                        siddhiAppElements.setPartitionType(Constants.VALUE_PARTITION_TYPE);\n+                        String partitionTypeDefinition = getDefinition(partitionType, siddhiAppString);\n+                        siddhiAppElements.setPartitionTypeQuery(partitionTypeDefinition);\n+                    } else if (partitionType instanceof RangePartitionType) {\n+                        siddhiAppElements.setPartitionType(Constants.RANGE_PARTITION_TYPE);\n+                        String partitionTypeDefinition = getDefinition(partitionType, siddhiAppString);\n+                        siddhiAppElements.setPartitionTypeQuery(partitionTypeDefinition);\n+                    } else {\n+                        throw new IllegalArgumentException(\"An unidentified instance of the PartitionType\" +\n+                                \" \" + \"Class was found\");\n+                    }\n+                }\n+\n+                Partition partitionQuery = (Partition) executionElement;\n+                siddhiAppElements.setQuery(getDefinition(partitionQuery, siddhiAppString));\n+                listOfSiddhiAppElements.add(siddhiAppElements);\n+            }\n+        }\n+    }\n+\n+    /**\n+     * Obtain the siddhi app and the type of input stream.\n+     */\n+    private void loadInputData(SiddhiApp siddhiApp, SiddhiAppRuntime siddhiAppRuntime, String inputStream, String\n+            appData, SiddhiAppElements siddhiAppElements) {\n+        Map<String, StreamDefinition> streamDefinitionMap = (siddhiAppRuntime.getStreamDefinitionMap());\n+        Map<String, TableDefinition> tableDefinitionMap = siddhiAppRuntime.getTableDefinitionMap();\n+        Map<String, TriggerDefinition> triggerDefinitionMap = siddhiApp.getTriggerDefinitionMap();\n+        Map<String, WindowDefinition> windowDefinitionMap = siddhiAppRuntime.getWindowDefinitionMap();\n+        Map<String, AggregationDefinition> aggregationDefinitionMap = siddhiApp.getAggregationDefinitionMap();\n+        for (Map.Entry<String, StreamDefinition> entry : streamDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(inputStream)) {\n+                siddhiAppElements.setInputStreamSiddhiApp(String.valueOf(entry.getValue()));\n+                siddhiAppElements.setInputStreamType(Constants.STREAM_TYPE);\n+                break;\n+            }\n+        }\n+\n+        for (Map.Entry<String, TableDefinition> entry : tableDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(inputStream)) {\n+                siddhiAppElements.setInputStreamSiddhiApp(String.valueOf(entry.getValue()));\n+                siddhiAppElements.setInputStreamType(Constants.TABLE_TYPE);\n+                break;\n+            }\n+        }\n+\n+        for (Map.Entry<String, TriggerDefinition> entry : triggerDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(inputStream)) {\n+                siddhiAppElements.setInputStreamSiddhiApp(getDefinition(entry.getValue(), appData));\n+                siddhiAppElements.setInputStreamType(Constants.TRIGGER_TYPE);\n+                break;\n+            }\n+        }\n+\n+        for (Map.Entry<String, WindowDefinition> entry : windowDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(inputStream)) {\n+                siddhiAppElements.setInputStreamSiddhiApp(getDefinition(entry.getValue(), appData));\n+                siddhiAppElements.setInputStreamType(Constants.WINDOW_TYPE);\n+                break;\n+            }\n+        }\n+\n+        for (Map.Entry<String, AggregationDefinition> entry : aggregationDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(inputStream)) {\n+                siddhiAppElements.setInputStreamSiddhiApp(getDefinition(entry.getValue(), appData));\n+                siddhiAppElements.setInputStreamType(Constants.AGGREGATION);\n+                break;\n+            }\n+        }\n+        loadSources(siddhiAppRuntime, siddhiAppElements, inputStream, appData);\n+        loadSinks(siddhiAppRuntime, siddhiAppElements, inputStream, appData);\n+    }\n+\n+    /**\n+     * Obtain the siddhi app and the type of output stream.\n+     */\n+    private void loadOutputData(SiddhiApp siddhiApp, SiddhiAppRuntime siddhiAppRuntime, String outputStream, String\n+            appData, SiddhiAppElements siddhiAppElements) {\n+        Map<String, StreamDefinition> streamDefinitionMap = (siddhiAppRuntime.getStreamDefinitionMap());\n+        Map<String, TableDefinition> tableDefinitionMap = siddhiAppRuntime.getTableDefinitionMap();\n+        Map<String, TriggerDefinition> triggerDefinitionMap = siddhiApp.getTriggerDefinitionMap();\n+        Map<String, WindowDefinition> windowDefinitionMap = siddhiAppRuntime.getWindowDefinitionMap();\n+        Map<String, AggregationDefinition> aggregationDefinitionMap = siddhiApp.getAggregationDefinitionMap();\n+\n+        for (Map.Entry<String, StreamDefinition> entry : streamDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(outputStream)) {\n+                siddhiAppElements.setOutputStreamSiddhiApp(String.valueOf(entry.getValue()));\n+                siddhiAppElements.setOutputStreamType(Constants.STREAM_TYPE);\n+                break;\n+            }\n+        }\n+\n+        for (Map.Entry<String, TableDefinition> entry : tableDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(outputStream)) {\n+                siddhiAppElements.setOutputStreamSiddhiApp(String.valueOf(entry.getValue()));\n+                siddhiAppElements.setOutputStreamType(Constants.TABLE_TYPE);\n+                break;\n+            }\n+        }\n+\n+        for (Map.Entry<String, TriggerDefinition> entry : triggerDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(outputStream)) {\n+                siddhiAppElements.setOutputStreamSiddhiApp(getDefinition(entry.getValue(), appData));\n+                siddhiAppElements.setOutputStreamType(Constants.TRIGGER_TYPE);\n+                break;\n+            }\n+        }\n+\n+        for (Map.Entry<String, WindowDefinition> entry : windowDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(outputStream)) {\n+                siddhiAppElements.setOutputStreamSiddhiApp(getDefinition(entry.getValue(), appData));\n+                siddhiAppElements.setOutputStreamType(Constants.WINDOW_TYPE);\n+                break;\n+            }\n+        }\n+\n+        for (Map.Entry<String, AggregationDefinition> entry : aggregationDefinitionMap.entrySet()) {\n+            if (entry.getKey().equals(outputStream)) {\n+                siddhiAppElements.setOutputStreamSiddhiApp(getDefinition(entry.getValue(), appData));\n+                siddhiAppElements.setOutputStreamType(Constants.AGGREGATION);\n+                break;\n+            }\n+        }\n+        loadSources(siddhiAppRuntime, siddhiAppElements, outputStream, appData);\n+        loadSinks(siddhiAppRuntime, siddhiAppElements, outputStream, appData);\n+    }\n+\n+    /**\n+     * obtains information of all the user defined Functions.\n+     */\n+    private void loadFunctionData(SiddhiApp siddhiApp, List<OutputAttribute> functionList, SiddhiAppElements\n+            siddhiAppElements, String appData) {\n+        for (FunctionDefinition functionDefinition : siddhiApp.getFunctionDefinitionMap().values()) {\n+            for (OutputAttribute app : functionList) {\n+\n+                if (app.getExpression() instanceof AttributeFunction) {\n+                    if (functionDefinition.getId().equals(((AttributeFunction) app.getExpression()).getName())) {\n+                        String functionDefinitionStr = getDefinition(functionDefinition, appData);\n+                        siddhiAppElements.setFunction(functionDefinition.getId());\n+                        siddhiAppElements.setFunctionQuery(functionDefinitionStr);\n+                        break;\n+                    }\n+                }\n+            }\n+        }\n+    }\n+\n+    /**\n+     * Obtains information of all the Aggregations.\n+     */\n+    private void loadAggregarionData(SiddhiApp siddhiApp, SiddhiAppRuntime siddhiAppRuntime, List<SiddhiAppElements>\n+            streams, String appData) {\n+        for (AggregationDefinition aggregationDefinition : siddhiApp.getAggregationDefinitionMap().values()) {\n+            SiddhiAppElements siddhiAppElements = new SiddhiAppElements();\n+            siddhiAppElements.setInputStreamId(aggregationDefinition.getBasicSingleInputStream().getStreamId());\n+            siddhiAppElements.setOutputStreamId(aggregationDefinition.getId());\n+            loadInputData(siddhiApp, siddhiAppRuntime, aggregationDefinition.getBasicSingleInputStream()\n+                    .getStreamId(), appData, siddhiAppElements);\n+            String aggregationDefinitionStr = getDefinition(aggregationDefinition, appData);\n+            siddhiAppElements.setOutputStreamSiddhiApp(aggregationDefinitionStr);\n+            siddhiAppElements.setOutputStreamType(Constants.AGGREGATION);\n+            streams.add(siddhiAppElements);\n+        }\n+    }\n+\n+    /**\n+     * Obtain query name of each siddhi app elements\n+     */\n+    private void loadQueryName(List<Annotation> queryAnnotations, SiddhiAppElements siddhiAppElements) {\n+        for (Annotation annotation : queryAnnotations) {\n+            for (Element element : annotation.getElements()) {\n+                siddhiAppElements.setQueryName(element.getValue());\n+            }\n+        }\n+        if (siddhiAppElements.getQueryName() == null) {\n+            siddhiAppElements.setQueryName(Constants.DEFAULT_QUERY_NAME);\n+        }\n+    }\n+\n+","path":"components/org.wso2.carbon.stream.processor.core/src/main/java/org/wso2/carbon/stream/processor/core/impl/SiddhiAppsApiServiceImpl.java","position":313,"original_position":313,"commit_id":"5ad1d899e624c72fdd6422591ffe8dcb70e6db68","original_commit_id":"5ad1d899e624c72fdd6422591ffe8dcb70e6db68","user":{"login":"pcnfernando","id":15815199,"node_id":"MDQ6VXNlcjE1ODE1MTk5","avatar_url":"https://avatars3.githubusercontent.com/u/15815199?v=4","gravatar_id":"","url":"https://api.github.com/users/pcnfernando","html_url":"https://github.com/pcnfernando","followers_url":"https://api.github.com/users/pcnfernando/followers","following_url":"https://api.github.com/users/pcnfernando/following{/other_user}","gists_url":"https://api.github.com/users/pcnfernando/gists{/gist_id}","starred_url":"https://api.github.com/users/pcnfernando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcnfernando/subscriptions","organizations_url":"https://api.github.com/users/pcnfernando/orgs","repos_url":"https://api.github.com/users/pcnfernando/repos","events_url":"https://api.github.com/users/pcnfernando/events{/privacy}","received_events_url":"https://api.github.com/users/pcnfernando/received_events","type":"User","site_admin":false},"body":"Remove unecessary spaces. Check all places","created_at":"2018-05-31T17:45:02Z","updated_at":"2018-05-31T17:45:02Z","html_url":"https://github.com/wso2/carbon-analytics/pull/1265#discussion_r192181448","pull_request_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1265","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/comments/192181448"},"html":{"href":"https://github.com/wso2/carbon-analytics/pull/1265#discussion_r192181448"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1265"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1265","id":191471274,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNDcxMjc0","html_url":"https://github.com/wso2/carbon-analytics/pull/1265","diff_url":"https://github.com/wso2/carbon-analytics/pull/1265.diff","patch_url":"https://github.com/wso2/carbon-analytics/pull/1265.patch","issue_url":"https://api.github.com/repos/wso2/carbon-analytics/issues/1265","number":1265,"state":"open","locked":false,"title":"[Status Dashboard] Implement graphical view for deployed siddhi application","user":{"login":"GowthamyVaseekaran","id":25835439,"node_id":"MDQ6VXNlcjI1ODM1NDM5","avatar_url":"https://avatars0.githubusercontent.com/u/25835439?v=4","gravatar_id":"","url":"https://api.github.com/users/GowthamyVaseekaran","html_url":"https://github.com/GowthamyVaseekaran","followers_url":"https://api.github.com/users/GowthamyVaseekaran/followers","following_url":"https://api.github.com/users/GowthamyVaseekaran/following{/other_user}","gists_url":"https://api.github.com/users/GowthamyVaseekaran/gists{/gist_id}","starred_url":"https://api.github.com/users/GowthamyVaseekaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GowthamyVaseekaran/subscriptions","organizations_url":"https://api.github.com/users/GowthamyVaseekaran/orgs","repos_url":"https://api.github.com/users/GowthamyVaseekaran/repos","events_url":"https://api.github.com/users/GowthamyVaseekaran/events{/privacy}","received_events_url":"https://api.github.com/users/GowthamyVaseekaran/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n> Display graphical view for siddhi applications that are deployed in the worker node\r\n\r\n## Approach\r\n> \r\n![image](https://user-images.githubusercontent.com/25835439/40774994-a3319c9c-64e4-11e8-9c0b-79f507d58493.png)\r\n\r\n\r\n\r\n","created_at":"2018-05-30T14:23:37Z","updated_at":"2018-05-31T17:45:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b58e6bcdf84972be2b2743eac16446b7b054ba99","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1265/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1265/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-analytics/issues/1265/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-analytics/statuses/5ad1d899e624c72fdd6422591ffe8dcb70e6db68","head":{"label":"GowthamyVaseekaran:improvement","ref":"improvement","sha":"5ad1d899e624c72fdd6422591ffe8dcb70e6db68","user":{"login":"GowthamyVaseekaran","id":25835439,"node_id":"MDQ6VXNlcjI1ODM1NDM5","avatar_url":"https://avatars0.githubusercontent.com/u/25835439?v=4","gravatar_id":"","url":"https://api.github.com/users/GowthamyVaseekaran","html_url":"https://github.com/GowthamyVaseekaran","followers_url":"https://api.github.com/users/GowthamyVaseekaran/followers","following_url":"https://api.github.com/users/GowthamyVaseekaran/following{/other_user}","gists_url":"https://api.github.com/users/GowthamyVaseekaran/gists{/gist_id}","starred_url":"https://api.github.com/users/GowthamyVaseekaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GowthamyVaseekaran/subscriptions","organizations_url":"https://api.github.com/users/GowthamyVaseekaran/orgs","repos_url":"https://api.github.com/users/GowthamyVaseekaran/repos","events_url":"https://api.github.com/users/GowthamyVaseekaran/events{/privacy}","received_events_url":"https://api.github.com/users/GowthamyVaseekaran/received_events","type":"User","site_admin":false},"repo":{"id":119357442,"node_id":"MDEwOlJlcG9zaXRvcnkxMTkzNTc0NDI=","name":"carbon-analytics","full_name":"GowthamyVaseekaran/carbon-analytics","owner":{"login":"GowthamyVaseekaran","id":25835439,"node_id":"MDQ6VXNlcjI1ODM1NDM5","avatar_url":"https://avatars0.githubusercontent.com/u/25835439?v=4","gravatar_id":"","url":"https://api.github.com/users/GowthamyVaseekaran","html_url":"https://github.com/GowthamyVaseekaran","followers_url":"https://api.github.com/users/GowthamyVaseekaran/followers","following_url":"https://api.github.com/users/GowthamyVaseekaran/following{/other_user}","gists_url":"https://api.github.com/users/GowthamyVaseekaran/gists{/gist_id}","starred_url":"https://api.github.com/users/GowthamyVaseekaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GowthamyVaseekaran/subscriptions","organizations_url":"https://api.github.com/users/GowthamyVaseekaran/orgs","repos_url":"https://api.github.com/users/GowthamyVaseekaran/repos","events_url":"https://api.github.com/users/GowthamyVaseekaran/events{/privacy}","received_events_url":"https://api.github.com/users/GowthamyVaseekaran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GowthamyVaseekaran/carbon-analytics","description":null,"fork":true,"url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics","forks_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/forks","keys_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/teams","hooks_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/hooks","issue_events_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/events","assignees_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/tags","blobs_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/languages","stargazers_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/stargazers","contributors_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/contributors","subscribers_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/subscribers","subscription_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/subscription","commits_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/merges","archive_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/downloads","issues_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/labels{/name}","releases_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/GowthamyVaseekaran/carbon-analytics/deployments","created_at":"2018-01-29T08:56:25Z","updated_at":"2018-05-09T04:28:21Z","pushed_at":"2018-05-31T17:28:09Z","git_url":"git://github.com/GowthamyVaseekaran/carbon-analytics.git","ssh_url":"git@github.com:GowthamyVaseekaran/carbon-analytics.git","clone_url":"https://github.com/GowthamyVaseekaran/carbon-analytics.git","svn_url":"https://github.com/GowthamyVaseekaran/carbon-analytics","homepage":null,"size":91257,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"44cef60bbdbf05690bc239b29676ad4f4acda107","user":{"login":"wso2","id":533043,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzA0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","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":16543113,"node_id":"MDEwOlJlcG9zaXRvcnkxNjU0MzExMw==","name":"carbon-analytics","full_name":"wso2/carbon-analytics","owner":{"login":"wso2","id":533043,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzA0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","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-analytics","description":null,"fork":false,"url":"https://api.github.com/repos/wso2/carbon-analytics","forks_url":"https://api.github.com/repos/wso2/carbon-analytics/forks","keys_url":"https://api.github.com/repos/wso2/carbon-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-analytics/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-analytics/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-analytics/events","assignees_url":"https://api.github.com/repos/wso2/carbon-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-analytics/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-analytics/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-analytics/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-analytics/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-analytics/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-analytics/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-analytics/merges","archive_url":"https://api.github.com/repos/wso2/carbon-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-analytics/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-analytics/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-analytics/deployments","created_at":"2014-02-05T11:40:58Z","updated_at":"2018-05-31T17:01:57Z","pushed_at":"2018-05-31T17:28:11Z","git_url":"git://github.com/wso2/carbon-analytics.git","ssh_url":"git@github.com:wso2/carbon-analytics.git","clone_url":"https://github.com/wso2/carbon-analytics.git","svn_url":"https://github.com/wso2/carbon-analytics","homepage":null,"size":92346,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":129,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":129,"open_issues":35,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1265"},"html":{"href":"https://github.com/wso2/carbon-analytics/pull/1265"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-analytics/issues/1265"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-analytics/issues/1265/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1265/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-analytics/pulls/1265/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-analytics/statuses/5ad1d899e624c72fdd6422591ffe8dcb70e6db68"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"pcnfernando"}}