Package energy.eddie.core.web
Class PermissionFacadeController
java.lang.Object
energy.eddie.core.web.PermissionFacadeController
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionFacadeController(ApplicationInformationService applicationInformationService, MetadataService metadataService, DataNeedCalculationRouter dataNeedCalculationRouter) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ApplicationInformation> dataNeedCalculation(String regionConnector, String dataNeedId) dataNeedCalculations(String dataNeedId) org.springframework.http.ResponseEntity<Collection<RegionConnectorMetadata>>
-
Constructor Details
-
PermissionFacadeController
public PermissionFacadeController(ApplicationInformationService applicationInformationService, MetadataService metadataService, DataNeedCalculationRouter dataNeedCalculationRouter)
-
-
Method Details
-
applicationInformation
@GetMapping("/application-information") public org.springframework.http.ResponseEntity<ApplicationInformation> applicationInformation() -
regionConnectorsMetadata
@GetMapping("/region-connectors-metadata") public org.springframework.http.ResponseEntity<Collection<RegionConnectorMetadata>> regionConnectorsMetadata() -
dataNeedCalculation
@GetMapping("/region-connectors/{region-connector}/data-needs/{data-need-id}") public DataNeedCalculation dataNeedCalculation(@PathVariable("region-connector") String regionConnector, @PathVariable("data-need-id") String dataNeedId) throws UnknownRegionConnectorException, DataNeedNotFoundException -
dataNeedCalculations
@GetMapping("/region-connectors/data-needs/{data-need-id}") public Map<String,DataNeedCalculation> dataNeedCalculations(@PathVariable("data-need-id") String dataNeedId) throws DataNeedNotFoundException, DataNeedDisabledException
-