Package energy.eddie.aiida.web
Class InstallerController
java.lang.Object
energy.eddie.aiida.web.InstallerController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> deleteService(String chartName, String releaseName) org.springframework.http.ResponseEntity<Void> health()installNewService(String chartName, InstallerSetupDto installerSetupDto) installOrUpgradeService(String chartName, String releaseName) serviceVersion(String chartName, String releaseName)
-
Constructor Details
-
InstallerController
-
-
Method Details
-
health
@GetMapping(path="/health") public org.springframework.http.ResponseEntity<Void> health() throws InstallerException- Throws:
InstallerException
-
aiidaVersion
@Nullable @GetMapping(path="/aiida", produces="application/json") public VersionInfoDto aiidaVersion() throws InstallerException, InvalidUserException -
installOrUpgradeAiida
@Nullable @PostMapping(path="/aiida", produces="application/json") public VersionInfoDto installOrUpgradeAiida() throws InstallerException, InvalidUserException -
servicesVersions
@Nullable @GetMapping(path="/services/user", produces="application/json") public List<VersionInfoDto> servicesVersions() throws InstallerException, InvalidUserException -
installNewService
@Nullable @PostMapping(path="/services/user/{chartName}", consumes="application/json", produces="application/json") public VersionInfoDto installNewService(@PathVariable String chartName, @RequestBody(required=false) InstallerSetupDto installerSetupDto) throws InstallerException, InvalidUserException -
serviceVersion
@Nullable @GetMapping(path="/services/user/{chartName}/{releaseName}", produces="application/json") public VersionInfoDto serviceVersion(@PathVariable String chartName, @PathVariable String releaseName) throws InstallerException, InvalidUserException -
installOrUpgradeService
@Nullable @PostMapping(path="/services/user/{chartName}/{releaseName}", produces="application/json") public VersionInfoDto installOrUpgradeService(@PathVariable String chartName, @PathVariable String releaseName) throws InstallerException, InvalidUserException -
deleteService
@DeleteMapping(path="/services/user/{chartName}/{releaseName}") public org.springframework.http.ResponseEntity<Void> deleteService(@PathVariable String chartName, @PathVariable String releaseName) throws InstallerException, InvalidUserException
-