@Path(value="/schemas") public class SchemasResource extends SchemasResourceBase
namespaceName, topicNamehttpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
SchemasResource() |
SchemasResource(Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteSchema(String tenant,
String cluster,
String namespace,
String topic,
boolean authoritative,
javax.ws.rs.container.AsyncResponse response) |
void |
getAllSchemas(String tenant,
String cluster,
String namespace,
String topic,
boolean authoritative,
javax.ws.rs.container.AsyncResponse response) |
void |
getSchema(String tenant,
String cluster,
String namespace,
String topic,
boolean authoritative,
javax.ws.rs.container.AsyncResponse response) |
void |
getSchema(String tenant,
String cluster,
String namespace,
String topic,
String version,
boolean authoritative,
javax.ws.rs.container.AsyncResponse response) |
void |
getVersionBySchema(String tenant,
String cluster,
String namespace,
String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload payload,
boolean authoritative,
javax.ws.rs.container.AsyncResponse response) |
void |
postSchema(String tenant,
String cluster,
String namespace,
String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload payload,
boolean authoritative,
javax.ws.rs.container.AsyncResponse response) |
void |
testCompatibility(String tenant,
String cluster,
String namespace,
String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload payload,
boolean authoritative,
javax.ws.rs.container.AsyncResponse response) |
deleteSchema, domain, getAllSchemas, getSchema, getSchema, getVersionBySchema, postSchema, testCompatibilitybookKeeper, checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, dispatchRate, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getPartitionedTopicList, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getSchemaCompatibilityStrategyAsync, getTopicPartitionList, getTopicPoliciesAsyncWithRetry, internalCreatePartitionedTopic, isLeaderBroker, isManagedLedgerNotFoundException, isNamespaceReplicated, jsonMapper, mergeNamespaceWithDefaults, namespaceBacklogQuota, replicatorDispatchRate, resumeAsyncResponseExceptionally, setServletContext, subscribeRate, subscriptionDispatchRate, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validatePartitionedTopicMetadata, validatePartitionedTopicName, validatePersistencePolicies, validatePersistentTopicName, validatePersistentTopicName, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateTopicName, validateTopicNamebookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, handleCommonRestAsyncException, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, setPulsar, splitPath, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validateTenantOperation, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperationpublic SchemasResource()
public SchemasResource(Clock clock)
@GET
@Path(value="/{tenant}/{cluster}/{namespace}/{topic}/schema")
@Produces(value="application/json")
public void getSchema(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic")
String topic,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@Suspended
javax.ws.rs.container.AsyncResponse response)
@GET
@Path(value="/{tenant}/{cluster}/{namespace}/{topic}/schema/{version}")
@Produces(value="application/json")
public void getSchema(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic")
String topic,
@PathParam(value="version") @Encoded
String version,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@Suspended
javax.ws.rs.container.AsyncResponse response)
@GET
@Path(value="/{tenant}/{cluster}/{namespace}/{topic}/schemas")
@Produces(value="application/json")
public void getAllSchemas(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic")
String topic,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@Suspended
javax.ws.rs.container.AsyncResponse response)
@DELETE
@Path(value="/{tenant}/{cluster}/{namespace}/{topic}/schema")
@Produces(value="application/json")
public void deleteSchema(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic")
String topic,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@Suspended
javax.ws.rs.container.AsyncResponse response)
@POST
@Path(value="/{tenant}/{cluster}/{namespace}/{topic}/schema")
@Produces(value="application/json")
@Consumes(value="application/json")
public void postSchema(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic")
String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload payload,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@Suspended
javax.ws.rs.container.AsyncResponse response)
@POST
@Path(value="/{tenant}/{cluster}/{namespace}/{topic}/compatibility")
@Produces(value="application/json")
@Consumes(value="application/json")
public void testCompatibility(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic")
String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload payload,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@Suspended
javax.ws.rs.container.AsyncResponse response)
@POST
@Path(value="/{tenant}/{cluster}/{namespace}/{topic}/version")
@Produces(value="application/json")
@Consumes(value="application/json")
public void getVersionBySchema(@PathParam(value="tenant")
String tenant,
@PathParam(value="cluster")
String cluster,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic")
String topic,
org.apache.pulsar.common.protocol.schema.PostSchemaPayload payload,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@Suspended
javax.ws.rs.container.AsyncResponse response)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.