add GET application/{appID} to REST

Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/b511a65e
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/b511a65e
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/b511a65e

Branch: refs/heads/4.1.0-test
Commit: b511a65e8dc660ad0caf49f5ca50b6aff0ce924d
Parents: c00cb4f
Author: Dakshika Jayathilaka <[email protected]>
Authored: Tue Dec 9 11:19:42 2014 +0530
Committer: Lahiru Sandaruwan <[email protected]>
Committed: Tue Dec 9 14:09:31 2014 +0530

----------------------------------------------------------------------
 .../console/controllers/rest/rest_calls.jag                      | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/b511a65e/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag
 
b/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag
index 2220b37..331d3a8 100644
--- 
a/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag
+++ 
b/components/org.apache.stratos.manager.console/console/controllers/rest/rest_calls.jag
@@ -166,6 +166,10 @@ RESTCalls = new function(){
         return this.sendReceive("GET","/application",{});
     };
 
+    this.getApplicationTopology = function(appId){
+        return this.sendReceive("GET","/application/" + appId,{});
+    };
+
     this.getClusterInfo = function(clusterId){
         return this.sendReceive("GET","/cluster/clusterId/" + clusterId,{});
     };

Reply via email to