public ApDescribeNodesResponse DescribeNodes(ApDescribeNodesRequest request)
        {
            Log.Debug(this, "DescribeNodes()");

            try
            {
                Authenticate(request);

                // Update nodes
                UpdateNodes();
                // Update application instances in nodes
                UpdateApplications(Database.GetInstance().Nodes);

                ApDescribeNodesResponse response = new ApDescribeNodesResponse();
                response.Nodes = Database.GetInstance().Nodes;
                return response;
            }
            catch(Exception e)
            {
                Log.Error(this, e);
                throw e;
            }
        }
 private List<Node> DescribeNodes()
 {
     ApDescribeNodesRequest request = new ApDescribeNodesRequest(Credentials);
     ApDescribeNodesResponse response = EndPoints.ApDashboardService.DescribeNodes(request);
     return response.Nodes;
 }