Class LicenseController

java.lang.Object
org.gridgain.internal.rest.license.LicenseController
All Implemented Interfaces:
org.apache.ignite.internal.rest.api.license.LicenseApi, org.apache.ignite.internal.rest.ResourceHolder, SecurityContextAware

@Controller("/management/v1/license") public class LicenseController extends Object implements org.apache.ignite.internal.rest.api.license.LicenseApi, org.apache.ignite.internal.rest.ResourceHolder, SecurityContextAware
Licence features checking controller.
  • Constructor Details

    • LicenseController

      public LicenseController(org.gridgain.internal.license.LicenseFeatureChecker licenseFeatureChecker, io.micronaut.security.utils.SecurityService securityService, org.gridgain.internal.license.GridLicenseManager licenseManager)
      Constructor.
      Parameters:
      licenseFeatureChecker - License feature checker.
      securityService - Security service.
      licenseManager - License manager.
  • Method Details

    • features

      public CompletableFuture<org.apache.ignite.internal.rest.api.license.LicenseFeatureSet> features()
      Specified by:
      features in interface org.apache.ignite.internal.rest.api.license.LicenseApi
    • limits

      public CompletableFuture<org.apache.ignite.internal.rest.api.license.LicenseLimits> limits()
      Specified by:
      limits in interface org.apache.ignite.internal.rest.api.license.LicenseApi
    • infos

      public CompletableFuture<org.apache.ignite.internal.rest.api.license.LicenseInfo> infos()
      Specified by:
      infos in interface org.apache.ignite.internal.rest.api.license.LicenseApi
    • id

      public CompletableFuture<org.apache.ignite.internal.rest.api.license.LicenseId> id()
      Specified by:
      id in interface org.apache.ignite.internal.rest.api.license.LicenseApi
    • get

      public CompletableFuture<org.apache.ignite.internal.rest.api.license.License> get()
      Specified by:
      get in interface org.apache.ignite.internal.rest.api.license.LicenseApi
    • post

      public CompletableFuture<Void> post(org.apache.ignite.internal.rest.api.license.License licenseInfo)
      Specified by:
      post in interface org.apache.ignite.internal.rest.api.license.LicenseApi
    • postRaw

      public CompletableFuture<Void> postRaw(String license)
      Specified by:
      postRaw in interface org.apache.ignite.internal.rest.api.license.LicenseApi
    • cleanResources

      public void cleanResources()
      Specified by:
      cleanResources in interface org.apache.ignite.internal.rest.ResourceHolder
    • securityService

      public io.micronaut.security.utils.SecurityService securityService()
      Description copied from interface: SecurityContextAware
      Get security service.
      Specified by:
      securityService in interface SecurityContextAware
      Returns:
      Security service.