Package energy.eddie.core.web
Class ManagementController
java.lang.Object
energy.eddie.core.web.ManagementController
-
Constructor Summary
ConstructorsConstructorDescriptionManagementController(SupportedFeatureService supportedFeatureService, MetadataService metadataService) -
Method Summary
Modifier and TypeMethodDescriptionvoidindex()This is required, since spring picks up the thymeleaf dependency from the admin-console module and automatically returns the index template from the admin-console when the index of the webserver is requested.org.springframework.http.ResponseEntity<List<SupportedDataNeeds>> org.springframework.http.ResponseEntity<List<RegionConnectorSupportedFeatureExtension>>
-
Constructor Details
-
ManagementController
public ManagementController(SupportedFeatureService supportedFeatureService, MetadataService metadataService)
-
-
Method Details
-
supportedFeatures
@GetMapping("/${eddie.management.server.urlprefix}/region-connectors/supported-features") public org.springframework.http.ResponseEntity<List<RegionConnectorSupportedFeatureExtension>> supportedFeatures() -
supportedDataNeeds
@GetMapping("/${eddie.management.server.urlprefix}/region-connectors/supported-data-needs") public org.springframework.http.ResponseEntity<List<SupportedDataNeeds>> supportedDataNeeds() -
index
@GetMapping public void index()This is required, since spring picks up the thymeleaf dependency from the admin-console module and automatically returns the index template from the admin-console when the index of the webserver is requested. By overriding the index, we can force spring not to return the index template. For more information, see GH-1365
-