Wednesday, July 24, 2013

Reporting REST Module – Current Status

                           

                             This document describes the operations that I have implemented and the operations that are to implemented.


  •    In ReportDefinitionResource class, “baseCohort” was added to the representation. In                        ReportDefinitionResource class, “dataSetDefintion” was added to the representation.


  •  In DataSetDefinitionResource class, “columnNames” was added to the representation. In the Design page it only has the “name” attribute under the “columnNames”. But in the DataSetMetaDataConvertor class has 3 attributes as name,lable,dataType under the “columnNames”. So I added lable,dataType in addition to the name attribute under the “columnNames”.

  •  I added a new ReportResource class as in the design page. All necessary methods have overriden in that class.  Special attributes like ContentType, Extension,Contentes were added to the representation.

          GET/ ReportResource
          GET/ ReportResource/uuid were implemented.
          Purge/delete/save operations are not yet implemented.

  • I added a new ReportProcessorResource class as in the design page. I added few special attributes to the representation like ProcessorType, Configuration, ProcessorMode, RunOnSuccess, RunOnError

          GET/reportProcessor
          GET/ reportProcessor /uuid were implemented.
          DELETE operation is not yet implemented.


  •   In ReportRequestResource class

     GET/reportRequest
     GET/ reportRequest?recent=
     Were implemented.  reportDefinition/ isProcessAutomatically/schedule attributes are added to the                   representation.
           POST/ reportRequest should be implemented.

  •  I added a new DataSetRequestResource class as in the design page.

          It now supports
          GET/ DataSetRequest
          DELETE/ DataSetRequest /uuid
          POST/ DataSetRequest
          GET/ DataSetRequest /uuid

          Currently GET/ DataSetRequest /uuid only give the status of the DataSetRequest. It should be                       modified to give the result of the DataSetRequest, if it is COMPLETE.                       

  • I added a new CohortRequestResource class as in the design page.

         It now supports
         GET/ CohortRequest
         DELETE/ CohortRequest /uuid
         POST /CohortRequest
         GET/ CohortRequest /uuid

        Currently GET/ CohortRequest /uuid only give the status of the CohortRequest. It should be modified           to give the result of the DataSetRequest, if it is COMPLETE.           


No comments:

Post a Comment