Skip to content

Commit 1c1d6fe

Browse files
authored
DOC-4944 DOC-4945 Pulsar attributes, attribute cleanup (#127)
* pulsar, cdc, cpp attribute issues * remove unnecessary attributes * move examples repo attribute * fix attributes * remove unused attrib
1 parent c0744d3 commit 1c1d6fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+311
-312
lines changed

antora.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,20 @@ nav:
1212

1313
asciidoc:
1414
attributes:
15-
pulsar_version: '2.10' #DO NOT INCLUDE PATCH VERSION <MAJOR>.<MINOR>.<PATCH>
16-
pulsar_full_version: '2.10.1'
1715
product: 'Astra Streaming'
16+
pulsar: 'Apache Pulsar'
17+
pulsar-short: 'Pulsar'
18+
pulsar-reg: 'Apache Pulsar(TM)'
19+
pulsar-version: '2.10' #DO NOT INCLUDE PATCH VERSION <MAJOR>.<MINOR>.<PATCH>
20+
pulsar-version-patch: '2.10.1'
1821
kafka_for_astra: 'Starlight for Kafka'
1922
starlight_rabbitmq: 'Starlight for RabbitMQ'
2023
gpt-schema-translator: 'GPT schema translator'
21-
base_url: 'https://api.astra.datastax.com'
22-
base_api: '/v2/streaming'
23-
bearer_token: '$BEARER_TOKEN'
24-
tenant_name_with_topics: 'llp-test'
25-
cluster_name: 'astradev-aws'
26-
tenant_name: 'testcreate'
27-
topic_name: 'blah'
28-
request_feature_access_email: '[email protected]'
29-
streaming_signup_url: 'https://astra.datastax.com/streaming'
30-
login_url: 'https://astra.datastax.com'
31-
langstream: 'RAGStack'
32-
ragstack: 'RAGStack'
33-
db-serverless: 'Astra DB Serverless'
3424
url-astra: 'https://astra.datastax.com'
3525
link-astra-portal: '{url-astra}[{astra_ui}^]'
26+
astra-streaming-examples-repo: 'https://raw.githubusercontent.com/datastax/astra-streaming-examples/master'
27+
28+
# LEGACY ATTRIBUTES - CONSIDER REMOVING
29+
langstream: 'RAGStack'
30+
ragstack: 'RAGStack'
31+
streaming_signup_url: 'https://astra.datastax.com/streaming'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
curl --location --head '{base_url}{base_api}/tenants/test-llp' \
2-
--header "Authorization: Bearer {bearer_token}"
1+
curl --location --head 'https://api.astra.datastax.com/v2/streaming/tenants/test-llp' \
2+
--header "Authorization: Bearer $BEARER_TOKEN"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
curl --location --request POST '{base_url}{base_api}/tenants?topic={topic_name}' \
1+
curl --location --request POST 'https://api.astra.datastax.com/v2/streaming/tenants?topic=blah' \
22
--header 'Content-Type: application/json' \
3-
--header "Authorization: Bearer {bearer_token}" \
3+
--header "Authorization: Bearer $BEARER_TOKEN" \
44
--data-raw '{
55
"cloudProvider": "aws",
66
"cloudRegion": "useast2",
7-
"tenantName": "{tenant_name}",
7+
"tenantName": "testcreate",
88
"userEmail": "[email protected]"
99
}'

modules/ROOT/examples/curl_deflate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
curl -v -H 'Authorization: Bearer {bearer_token}' -H 'Accept-encoding: deflate' https://prometheus-aws-useast1.streaming.datastax.com/pulsarmetrics/tenant-1 --compressed
1+
curl -v -H 'Authorization: Bearer $BEARER_TOKEN' -H 'Accept-encoding: deflate' https://prometheus-aws-useast1.streaming.datastax.com/pulsarmetrics/tenant-1 --compressed

modules/ROOT/examples/curl_gzip.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
curl -v -H 'Authorization: Bearer {bearer_token}' -H 'Accept-encoding: gzip' https://prometheus-aws-useast1.streaming.datastax.com/pulsarmetrics/tenant-1 | zcat
1+
curl -v -H 'Authorization: Bearer $BEARER_TOKEN' -H 'Accept-encoding: gzip' https://prometheus-aws-useast1.streaming.datastax.com/pulsarmetrics/tenant-1 | zcat
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
curl --location --request DELETE '{base_url}{base_api}/tenants/{tenant_name}/clusters/{cluster_name}' \
2-
--header "Authorization: Bearer {bearer_token}"
1+
curl --location --request DELETE 'https://api.astra.datastax.com/v2/streaming/tenants/testcreate/clusters/astradev-aws' \
2+
--header "Authorization: Bearer $BEARER_TOKEN"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
curl --location --request DELETE '{base_url}{base_api}/tenants/{tenant_name}/clusters/{cluster_name}?opt={cluster_name}' \
2-
--header "Authorization: Bearer {bearer_token}"
1+
curl --location --request DELETE 'https://api.astra.datastax.com/v2/streaming/tenants/testcreate/clusters/astradev-aws?opt=astradev-aws' \
2+
--header "Authorization: Bearer $BEARER_TOKEN"

modules/ROOT/examples/get_clusters.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
curl --location --request GET '{base_url}{base_api}/clusters' \
2-
--header "Authorization: Bearer {bearer_token}"
1+
curl --location --request GET 'https://api.astra.datastax.com/v2/streaming/clusters' \
2+
--header "Authorization: Bearer $BEARER_TOKEN"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
curl --location --request GET '{base_url}{base_api}/providers' \
2-
--header "Authorization: Bearer {bearer_token}"
1+
curl --location --request GET 'https://api.astra.datastax.com/v2/streaming/providers' \
2+
--header "Authorization: Bearer $BEARER_TOKEN"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
curl --location --request GET '{base_url}{base_api}/tenants/{tenant_name_with_topics}/limits' \
2-
--header 'X-DataStax-Pulsar-Cluster: {cluster_name}' \
3-
--header "Authorization: Bearer {bearer_token}"
1+
curl --location --request GET 'https://api.astra.datastax.com/v2/streaming/tenants/llp-test/limits' \
2+
--header 'X-DataStax-Pulsar-Cluster: astradev-aws' \
3+
--header "Authorization: Bearer $BEARER_TOKEN"

0 commit comments

Comments
 (0)