Class Packages
java.lang.Object
org.apache.pulsar.broker.web.PulsarWebResource
org.apache.pulsar.broker.admin.AdminResource
org.apache.pulsar.broker.admin.impl.PackagesBase
org.apache.pulsar.broker.admin.v3.Packages
@Path("/packages")
@Produces("application/json")
@Consumes("application/json")
public class Packages
extends PackagesBase
-
Field Summary
Fields inherited from class org.apache.pulsar.broker.admin.AdminResource
namespaceName, topicNameFields inherited from class org.apache.pulsar.broker.web.PulsarWebResource
httpRequest, servletContext, uri -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(String type, String tenant, String namespace, String packageName, String version, javax.ws.rs.container.AsyncResponse asyncResponse) javax.ws.rs.core.StreamingOutputvoidgetMeta(String type, String tenant, String namespace, String packageName, String version, javax.ws.rs.container.AsyncResponse asyncResponse) voidlistPackages(String type, String tenant, String namespace, javax.ws.rs.container.AsyncResponse asyncResponse) voidlistPackageVersion(String type, String tenant, String namespace, String packageName, javax.ws.rs.container.AsyncResponse asyncResponse) voidupdateMeta(String type, String tenant, String namespace, String packageName, String version, org.apache.pulsar.packages.management.core.common.PackageMetadata metadata, javax.ws.rs.container.AsyncResponse asyncResponse) voidupload(String type, String tenant, String namespace, String packageName, String version, org.apache.pulsar.packages.management.core.common.PackageMetadata packageMetadata, InputStream uploadedInputStream, javax.ws.rs.container.AsyncResponse asyncResponse) Methods inherited from class org.apache.pulsar.broker.admin.impl.PackagesBase
internalDelete, internalDownload, internalGetMetadata, internalListPackages, internalListVersions, internalUpdateMetadata, internalUploadMethods inherited from class org.apache.pulsar.broker.admin.AdminResource
bookKeeper, checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, clustersAsync, dispatchRate, domain, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, filterSystemTopic, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getNamespaceReplicatedClustersAsync, getPartitionedTopicList, getPartitionedTopicListAsync, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getPartitionedTopicNotFoundErrorMessage, getSchemaCompatibilityStrategyAsync, getSchemaCompatibilityStrategyAsyncWithoutAuth, getSubNotFoundErrorMessage, getTopicNotFoundErrorMessage, getTopicPartitionList, getTopicPoliciesAsyncWithRetry, getTopicPoliciesAsyncWithRetry, internalCreatePartitionedTopic, internalCreatePartitionedTopic, isLeaderBroker, isManagedLedgerNotFoundException, isNamespaceReplicated, isNotFoundException, isRedirectException, jsonMapper, namespaceBacklogQuota, replicatorDispatchRate, setServletContext, subscribeRate, subscriptionDispatchRate, tryCreateExtendedPartitionsAsync, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateAndGetWorkerService, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validatePartitionedTopicMetadataAsync, validatePartitionedTopicName, validatePersistencePolicies, validatePersistentTopicName, validatePersistentTopicName, validatePoliciesReadOnlyAccess, validatePoliciesReadOnlyAccessAsync, validateSuperUserAccess, validateTopicName, validateTopicNameMethods inherited from class org.apache.pulsar.broker.web.PulsarWebResource
bookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, resumeAsyncResponseExceptionally, setPulsar, splitPath, sync, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateBundleOwnershipAsync, validateClusterForTenant, validateClusterForTenantAsync, validateClusterOwnership, validateClusterOwnershipAsync, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleOwnershipAsync, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validateNamespacePolicyOperationAsync, validatePeerClusterConflict, validatePeerClusterConflictAsync, validateSuperUserAccessAsync, validateTenantOperation, validateTenantOperationAsync, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperation, validateTopicPolicyOperationAsync
-
Constructor Details
-
Packages
public Packages()
-
-
Method Details
-
getMeta
@GET @Path("/{type}/{tenant}/{namespace}/{packageName}/{version}/metadata") public void getMeta(@PathParam("type") String type, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("packageName") String packageName, @PathParam("version") String version, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse) -
updateMeta
@PUT @Path("/{type}/{tenant}/{namespace}/{packageName}/{version}/metadata") @Consumes("application/json") public void updateMeta(@PathParam("type") String type, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("packageName") String packageName, @PathParam("version") String version, org.apache.pulsar.packages.management.core.common.PackageMetadata metadata, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse) -
upload
@POST @Path("/{type}/{tenant}/{namespace}/{packageName}/{version}") @Consumes("multipart/form-data") public void upload(@PathParam("type") String type, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("packageName") String packageName, @PathParam("version") String version, org.apache.pulsar.packages.management.core.common.PackageMetadata packageMetadata, InputStream uploadedInputStream, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse) -
download
@GET @Path("/{type}/{tenant}/{namespace}/{packageName}/{version}") public javax.ws.rs.core.StreamingOutput download(@PathParam("type") String type, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("packageName") String packageName, @PathParam("version") String version) -
delete
@DELETE @Path("/{type}/{tenant}/{namespace}/{packageName}/{version}") public void delete(@PathParam("type") String type, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("packageName") String packageName, @PathParam("version") String version, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse) -
listPackageVersion
@GET @Path("/{type}/{tenant}/{namespace}/{packageName}") public void listPackageVersion(@PathParam("type") String type, @PathParam("tenant") String tenant, @PathParam("namespace") String namespace, @PathParam("packageName") String packageName, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse) -
listPackages
-