@Test public void shouldGetReportingRateReport() throws Exception { List<GeoZoneReportingRate> reportData = new ArrayList<GeoZoneReportingRate>(); reportData.add(new GeoZoneReportingRate()); when(mapper.getGeoReportingRate(1l,1L,1L, 1L)).thenReturn(reportData); OpenLmisResponse response = new OpenLmisResponse(); response.addData("map", reportData); ResponseEntity<OpenLmisResponse> expectResponse = new ResponseEntity<>(response, HttpStatus.OK); ResponseEntity<OpenLmisResponse> actual = controller.getReportingRateReport(1L, 1L,1L,httpServletRequest); verify(mapper).getGeoReportingRate(1l,1L,1L, 1L); }
@RequestMapping(value = "/reporting-rate", method = GET, headers = BaseController.ACCEPT_JSON) public ResponseEntity<OpenLmisResponse> getReportingRateReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program, @RequestParam(value = "period", required = true, defaultValue = "0") Long period, @RequestParam(value = "schedule", required = true, defaultValue = "0") Long schedule, HttpServletRequest request) { Long userId = loggedInUserId(request); return OpenLmisResponse.response(MAP, this.geographicZoneReportMapper.getGeoReportingRate(userId, program,schedule, period)); }
GeoDataController extends BaseController { @RequestMapping(value = "/reporting-rate", method = GET, headers = BaseController.ACCEPT_JSON) public ResponseEntity<OpenLmisResponse> getReportingRateReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program, @RequestParam(value = "period", required = true, defaultValue = "0") Long period, @RequestParam(value = "schedule", required = true, defaultValue = "0") Long schedule, HttpServletRequest request) { Long userId = loggedInUserId(request); return OpenLmisResponse.response(MAP, this.geographicZoneReportMapper.getGeoReportingRate(userId, program,schedule, period)); } }
GeoDataController extends BaseController { @RequestMapping(value = "/reporting-rate", method = GET, headers = BaseController.ACCEPT_JSON) public ResponseEntity<OpenLmisResponse> getReportingRateReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program, @RequestParam(value = "period", required = true, defaultValue = "0") Long period, @RequestParam(value = "schedule", required = true, defaultValue = "0") Long schedule, HttpServletRequest request) { Long userId = loggedInUserId(request); return OpenLmisResponse.response(MAP, this.geographicZoneReportMapper.getGeoReportingRate(userId, program,schedule, period)); }  }
GeoDataController extends BaseController { @RequestMapping(value = "/reporting-rate", method = GET, headers = BaseController.ACCEPT_JSON) public ResponseEntity<OpenLmisResponse> getReportingRateReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program, @RequestParam(value = "period", required = true, defaultValue = "0") Long period, @RequestParam(value = "schedule", required = true, defaultValue = "0") Long schedule, HttpServletRequest request) { Long userId = loggedInUserId(request); return OpenLmisResponse.response(MAP, this.geographicZoneReportMapper.getGeoReportingRate(userId, program,schedule, period)); }  static String getCommaSeparatedIds(List<Long> idList); @RequestMapping(value = "/reporting-rate", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getReportingRateReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                   @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                   @RequestParam(value = "schedule", required = true, defaultValue = "0") Long schedule,
                                                                   HttpServletRequest request); @RequestMapping(value = "/reporting-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getReportingFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                   @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                   @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId,
             HttpServletRequest request
    ); @RequestMapping(value = "/non-reporting-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getNonReportingFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                      @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                      @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId,
                                                                      @RequestParam(value = "schedule", required = true, defaultValue = "0") Long schedule,
                                                                      HttpServletRequest request
    ); @RequestMapping(value = "/stock-status-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockStatusSummaryFacilityReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                                @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                                @RequestParam(value = "product", required = true, defaultValue = "0") Long product); @RequestMapping(value = "/stocked-out-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockedOutFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                    @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                    @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                    @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/under-stocked-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getUnderStockedFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                      @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                      @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                      @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/over-stocked-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getOverStockedFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                     @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                     @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                     @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/adequately-stocked-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getAdequatelyStockedFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                           @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                           @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                           @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/stock-status-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockStatusProductReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                        @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                        @RequestParam(value = "zone", required = true, defaultValue = "0") Long geoZoneId); @RequestMapping(value = "/stocked-out-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockedOutProducts(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                  @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                  @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                  @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/under-stocked-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getUnderStockedProducts(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                    @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                    @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                    @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/over-stocked-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getOverStockedProducts(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                   @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                   @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                   @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/adequately-stocked-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getAdequatelyStockedProducts(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                         @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                         @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                         @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/facilitiesEquipments", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getFacilitiesLabEquipmentStatus(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                            @RequestParam(value = "zone", required = true, defaultValue = "0") Long zone,
                                                                            @RequestParam(value = "facilityType", required = true, defaultValue = "0") Long facilityType,
                                                                            @RequestParam(value = "facility", required = true, defaultValue = "0") Long facility,
                                                                            @RequestParam(value = "equipmentType", required = true, defaultValue = "0") Long equipmentType,
                                                                            @RequestParam(value = "equipment", required = true, defaultValue = "0") Long equipment,
                                                                            HttpServletRequest request
    ); @RequestMapping(value = "/facilitiesEquipmentsStatusGeo", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getFacilitiesLabEquipmentStatus2(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                             @RequestParam(value = "zone", required = true, defaultValue = "0") Long zone,
                                                                             @RequestParam(value = "facilityType", required = true, defaultValue = "0") Long facilityType,
                                                                             @RequestParam(value = "facility", required = true, defaultValue = "0") Long facility,
                                                                             @RequestParam(value = "equipmentType", required = true, defaultValue = "0") Long equipmentType,
                                                                             @RequestParam(value = "equipment", required = true, defaultValue = "0") Long equipment,
                                                                             HttpServletRequest request

    ); @RequestMapping(value = "/facilitiesByEquipmentOperationalStatus", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getFacilitiesByEquipmentOperationalStatus(@RequestParam(value = "status", required = true, defaultValue = "") String status,
                                                                                      @RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                                      @RequestParam(value = "zone", required = true, defaultValue = "0") Long zone,
                                                                                      @RequestParam(value = "facilityType", required = true, defaultValue = "0") Long facilityType,
                                                                                      @RequestParam(value = "facility", required = true, defaultValue = "0") Long facility,
                                                                                      @RequestParam(value = "equipmentType", required = true, defaultValue = "0") Long equipmentType,
                                                                                      @RequestParam(value = "equipment", required = true, defaultValue = "0") Long equipment,
                                                                                      HttpServletRequest request
    ); @RequestMapping(value = "/facilitiesEquipmentStatusSummary", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getFacilitiesEquipmentStatusSummary(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                                @RequestParam(value = "zone", required = true, defaultValue = "0") Long zone,
                                                                                @RequestParam(value = "facilityType", required = true, defaultValue = "0") Long facilityType,
                                                                                @RequestParam(value = "facility", required = true, defaultValue = "0") Long facility,
                                                                                @RequestParam(value = "equipmentType", required = true, defaultValue = "0") Long equipmentType,
                                                                                @RequestParam(value = "equipment", required = true, defaultValue = "0") Long equipment,
                                                                                HttpServletRequest request
    ); @RequestMapping(value = "/stock-status-product-consumption", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockStatusProductConsumption(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                             @RequestParam(value = "product", required = true, defaultValue = "0") List<Long> productListId,
                                                                             @RequestParam(value = "period", required = true, defaultValue = "0") Long periodId,
                                                                             @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/geo-zone-geometry", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getGeoZoneGeometryJson(); }
GeoDataController extends BaseController { @RequestMapping(value = "/reporting-rate", method = GET, headers = BaseController.ACCEPT_JSON) public ResponseEntity<OpenLmisResponse> getReportingRateReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program, @RequestParam(value = "period", required = true, defaultValue = "0") Long period, @RequestParam(value = "schedule", required = true, defaultValue = "0") Long schedule, HttpServletRequest request) { Long userId = loggedInUserId(request); return OpenLmisResponse.response(MAP, this.geographicZoneReportMapper.getGeoReportingRate(userId, program,schedule, period)); }  static String getCommaSeparatedIds(List<Long> idList); @RequestMapping(value = "/reporting-rate", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getReportingRateReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                   @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                   @RequestParam(value = "schedule", required = true, defaultValue = "0") Long schedule,
                                                                   HttpServletRequest request); @RequestMapping(value = "/reporting-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getReportingFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                   @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                   @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId,
             HttpServletRequest request
    ); @RequestMapping(value = "/non-reporting-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getNonReportingFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                      @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                      @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId,
                                                                      @RequestParam(value = "schedule", required = true, defaultValue = "0") Long schedule,
                                                                      HttpServletRequest request
    ); @RequestMapping(value = "/stock-status-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockStatusSummaryFacilityReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                                @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                                @RequestParam(value = "product", required = true, defaultValue = "0") Long product); @RequestMapping(value = "/stocked-out-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockedOutFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                    @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                    @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                    @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/under-stocked-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getUnderStockedFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                      @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                      @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                      @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/over-stocked-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getOverStockedFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                     @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                     @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                     @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/adequately-stocked-facilities", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getAdequatelyStockedFacilities(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                           @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                           @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                           @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/stock-status-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockStatusProductReport(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                        @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                        @RequestParam(value = "zone", required = true, defaultValue = "0") Long geoZoneId); @RequestMapping(value = "/stocked-out-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockedOutProducts(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                  @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                  @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                  @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/under-stocked-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getUnderStockedProducts(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                    @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                    @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                    @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/over-stocked-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getOverStockedProducts(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                   @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                   @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                   @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/adequately-stocked-products", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getAdequatelyStockedProducts(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                         @RequestParam(value = "period", required = true, defaultValue = "0") Long period,
                                                                         @RequestParam(value = "product", required = true, defaultValue = "0") Long product,
                                                                         @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/facilitiesEquipments", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getFacilitiesLabEquipmentStatus(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                            @RequestParam(value = "zone", required = true, defaultValue = "0") Long zone,
                                                                            @RequestParam(value = "facilityType", required = true, defaultValue = "0") Long facilityType,
                                                                            @RequestParam(value = "facility", required = true, defaultValue = "0") Long facility,
                                                                            @RequestParam(value = "equipmentType", required = true, defaultValue = "0") Long equipmentType,
                                                                            @RequestParam(value = "equipment", required = true, defaultValue = "0") Long equipment,
                                                                            HttpServletRequest request
    ); @RequestMapping(value = "/facilitiesEquipmentsStatusGeo", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getFacilitiesLabEquipmentStatus2(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                             @RequestParam(value = "zone", required = true, defaultValue = "0") Long zone,
                                                                             @RequestParam(value = "facilityType", required = true, defaultValue = "0") Long facilityType,
                                                                             @RequestParam(value = "facility", required = true, defaultValue = "0") Long facility,
                                                                             @RequestParam(value = "equipmentType", required = true, defaultValue = "0") Long equipmentType,
                                                                             @RequestParam(value = "equipment", required = true, defaultValue = "0") Long equipment,
                                                                             HttpServletRequest request

    ); @RequestMapping(value = "/facilitiesByEquipmentOperationalStatus", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getFacilitiesByEquipmentOperationalStatus(@RequestParam(value = "status", required = true, defaultValue = "") String status,
                                                                                      @RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                                      @RequestParam(value = "zone", required = true, defaultValue = "0") Long zone,
                                                                                      @RequestParam(value = "facilityType", required = true, defaultValue = "0") Long facilityType,
                                                                                      @RequestParam(value = "facility", required = true, defaultValue = "0") Long facility,
                                                                                      @RequestParam(value = "equipmentType", required = true, defaultValue = "0") Long equipmentType,
                                                                                      @RequestParam(value = "equipment", required = true, defaultValue = "0") Long equipment,
                                                                                      HttpServletRequest request
    ); @RequestMapping(value = "/facilitiesEquipmentStatusSummary", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getFacilitiesEquipmentStatusSummary(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                                @RequestParam(value = "zone", required = true, defaultValue = "0") Long zone,
                                                                                @RequestParam(value = "facilityType", required = true, defaultValue = "0") Long facilityType,
                                                                                @RequestParam(value = "facility", required = true, defaultValue = "0") Long facility,
                                                                                @RequestParam(value = "equipmentType", required = true, defaultValue = "0") Long equipmentType,
                                                                                @RequestParam(value = "equipment", required = true, defaultValue = "0") Long equipment,
                                                                                HttpServletRequest request
    ); @RequestMapping(value = "/stock-status-product-consumption", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getStockStatusProductConsumption(@RequestParam(value = "program", required = true, defaultValue = "0") Long program,
                                                                             @RequestParam(value = "product", required = true, defaultValue = "0") List<Long> productListId,
                                                                             @RequestParam(value = "period", required = true, defaultValue = "0") Long periodId,
                                                                             @RequestParam(value = "geo_zone", required = true, defaultValue = "0") Long geoZoneId
    ); @RequestMapping(value = "/geo-zone-geometry", method = GET, headers = BaseController.ACCEPT_JSON) ResponseEntity<OpenLmisResponse> getGeoZoneGeometryJson(); static final String USER_ID; static final String MAP; static final String FACILITIES; static final String PRODUCTS; static final String EQUIPMENTS_STATUS; static final String GEO_ZONE; static final String CONSUMPTION; static final String EQUIPMENTS_STATUS_SUMMARY; }