Exemplo n.º 1
0
        public HttpResponseMessage getStatusLastDaysByProjectIterations(HttpRequestMessage request, string subproject, string delivery, List <string> iterations)
        {
            var projectDAO = new ProjectDAO();
            var item       = projectDAO.getStatusLastDaysByProjectIterations(subproject, delivery, iterations);

            projectDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK, item));
        }
Exemplo n.º 2
0
        public HttpResponseMessage getDefectsGroupOriginIterations(HttpRequestMessage request, string subproject, string delivery, List <string> iterations)
        {
            var projectDAO = new ProjectDAO();
            var list       = projectDAO.getDefectsGroupOriginIterations(subproject, delivery, iterations);

            projectDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK, list));
        }
Exemplo n.º 3
0
        public HttpResponseMessage getProjectsByIds(HttpRequestMessage request, string ids)
        {
            var projectDAO = new ProjectDAO();
            var projects   = projectDAO.getProjectsByIds(ids);

            projectDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK, projects));
        }
Exemplo n.º 4
0
        public HttpResponseMessage getDefectStatusByProject(HttpRequestMessage request, string subproject, string delivery)
        {
            var projectDAO = new ProjectDAO();
            var list       = projectDAO.getDefectStatusByProject(subproject, delivery);

            projectDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK, list));
        }
Exemplo n.º 5
0
        public HttpResponseMessage getDetectableInDevByProject(HttpRequestMessage request, string subproject, string delivery)
        {
            var projectDAO      = new ProjectDAO();
            var detectableInDev = projectDAO.getDetectableInDevByProject(subproject, delivery);

            projectDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK, detectableInDev));
        }
Exemplo n.º 6
0
        public HttpResponseMessage getDefectReopenedByProject(HttpRequestMessage request, string subproject, string delivery)
        {
            var projectDAO     = new ProjectDAO();
            var densityDefects = projectDAO.getDefectReopenedByProject(subproject, delivery);

            projectDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK, densityDefects));
        }
Exemplo n.º 7
0
        public HttpResponseMessage getDefectsAverangeTimeGroupSeverityByProject(HttpRequestMessage request, string subproject, string delivery)
        {
            var projectDAO = new ProjectDAO();
            var defectAverangeTimeGroupSeverity = projectDAO.getDefectAverangeTimeGroupSeverityByProject(subproject, delivery);

            projectDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK, defectAverangeTimeGroupSeverity));
        }
Exemplo n.º 8
0
        public HttpResponseMessage getDefectsAverageTimeByProjectIterations(HttpRequestMessage request, string subproject, string delivery, string severity)
        {
            var           projectDAO = new ProjectDAO();
            List <string> iterations = projectDAO.getIterationsSelected(subproject, delivery);
            var           result     = projectDAO.getDefectsAverageTimeByProjectIterations(subproject, delivery, severity, iterations);

            projectDAO.Dispose();
            return(request.CreateResponse(HttpStatusCode.OK, result));
        }
Exemplo n.º 9
0
        public HttpResponseMessage getProductivityXDefectsGroupWeekly(HttpRequestMessage request, string subproject, string delivery)
        {
            var projectDAO = new ProjectDAO();
            var list       = projectDAO.getProductivityXDefectsGroupWeekly(subproject, delivery);

            projectDAO.Dispose();

            return(request.CreateResponse(HttpStatusCode.OK, list));
        }