Class LicenseResource
java.lang.Object
io.confluent.kafkarest.resources.v3.LicenseResource
-
Constructor Summary
ConstructorsConstructorDescriptionLicenseResource(jakarta.inject.Provider<LicenseManager> licenseManager, io.confluent.kafkarest.response.UrlFactory urlFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetLicense(jakarta.ws.rs.container.AsyncResponse asyncResponse, String clusterId, String categoryShortName) voidlistLicenses(jakarta.ws.rs.container.AsyncResponse asyncResponse, String clusterId) voidupdateLicense(jakarta.ws.rs.container.AsyncResponse asyncResponse, String clusterId, boolean dryRun, @Valid UpdateLicenseRequest request)
-
Constructor Details
-
LicenseResource
@Inject public LicenseResource(jakarta.inject.Provider<LicenseManager> licenseManager, io.confluent.kafkarest.response.UrlFactory urlFactory)
-
-
Method Details
-
listLicenses
@GET @Produces("application/json") @PerformanceMetric("v3.licenses.list") public void listLicenses(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse, @PathParam("clusterId") String clusterId) -
getLicense
-
updateLicense
@PUT @Consumes("application/json") @Produces("application/json") @PerformanceMetric("v3.licenses.update") public void updateLicense(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse, @PathParam("clusterId") String clusterId, @QueryParam("dry_run") @DefaultValue("false") boolean dryRun, @Valid @Valid UpdateLicenseRequest request)
-