Skip to content

Commit

Permalink
Merge remote-tracking branch 'Anant/destination-astra' into flash1293…
Browse files Browse the repository at this point in the history
…/astra-ci-2
  • Loading branch information
Joe Reuter committed Jan 29, 2024
2 parents 74ceae0 + d5e766d commit a0e0c66
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
class AstraIndexingModel(BaseModel):
astra_db_app_token: str = Field(
...,
title="AstraDB Application Token",
title="Astra DB Application Token",
airbyte_secret=True,
description="AstraDB Application Token",
description="The application token authorizes a user to connect to a specific Astra DB database. It is created when the user clicks the Generate Token button on the Overview tab of the Database page in the Astra UI.",
)
astra_db_endpoint: str = Field(
...,
title="AstraDB Endpoint",
description="AstraDB Endpoint",
title="Astra DB Endpoint",
description="The endpoint specifies which Astra DB database queries are sent to. It can be copied from the Database Details section of the Overview tab of the Database page in the Astra UI.",
pattern="^https:\\/\\/([a-z]|[0-9]){8}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){12}-[^\\.]*?\\.apps\\.astra\\.datastax\\.com",
examples=["https://8292d414-dd1b-4c33-8431-e838bedc04f7-us-east1.apps.astra.datastax.com"],
)
astra_db_keyspace: str = Field(..., title="AstraDB Keyspace", description="Astra DB Keyspace")
collection: str = Field(..., title="AstraDB collection", description="AstraDB collection")
astra_db_keyspace: str = Field(..., title="Astra DB Keyspace", description="Keyspaces (or Namespaces) serve as containers for organizing data within a database. You can create a new keyspace uisng the Data Explorer tab in the Astra UI. The keyspace default_keyspace is created for you when you create a Vector Database in Astra DB.")
collection: str = Field(..., title="Astra DB collection", description="Collections hold data. They are analagous to tables in traditional Cassandra terminology. This tool will create the collection with the provided name automatically if it does not already exist. Alternatively, you can create one thorugh the Data Explorer tab in the Astra UI.")

class Config:
title = "Indexing"
Expand Down
57 changes: 12 additions & 45 deletions airbyte-integrations/connectors/destination-astra/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -317,28 +317,29 @@
"type": "object",
"properties": {
"astra_db_app_token": {
"title": "AstraDB Application Token",
"description": "AstraDB Application Token",
"title": "Astra DB Application Token",
"description": "The application token authorizes a user to connect to a specific Astra DB database. It is created when the user clicks the Generate Token button on the Overview tab of the Database page in the Astra UI.",
"airbyte_secret": true,
"type": "string"
},
"astra_db_endpoint": {
"title": "AstraDB Endpoint",
"description": "AstraDB Endpoint",
"title": "Astra DB Endpoint",
"description": "The endpoint specifies which Astra DB database queries are sent to. It can be copied from the Database Details section of the Overview tab of the Database page in the Astra UI.",
"pattern": "^https:\\/\\/([a-z]|[0-9]){8}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){4}-([a-z]|[0-9]){12}-[^\\.]*?\\.apps\\.astra\\.datastax\\.com",
"examples": [
"https://8292d414-dd1b-4c33-8431-e838bedc04f7-us-east1.apps.astra.datastax.com"
],
"type": "string"
},
"astra_db_keyspace": {
"title": "AstraDB Keyspace",
"description": "Astra DB Keyspace",
"type": "string"
"title": "Astra DB Keyspace",
"description": "Keyspaces (or Namespaces) serve as containers for organizing data within a database. You can create a new keyspace uisng the Data Explorer tab in the Astra UI. The keyspace default_keyspace is created for you when you create a Vector Database in Astra DB.",
"type": "string",
"default": "default_keyspace"
},
"collection": {
"title": "AstraDB collection",
"description": "AstraDB collection",
"title": "Astra DB collection",
"description": "Collections hold data. They are analagous to tables in traditional Cassandra terminology. This tool will create the collection with the provided name automatically if it does not already exist. Alternatively, you can create one thorugh the Data Explorer tab in the Astra UI.",
"type": "string"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ data:
connectorSubtype: database
connectorType: destination
definitionId: 042ce96f-1158-4662-9543-e2ff015be97a
dockerImageTag: 0.1.0
dockerImageTag: 0.1.1
dockerRepository: airbyte/destination-astra
githubIssueLabel: destination-astra
icon: astra.svg
license: MIT
name: Astra
name: Astra DB
releaseDate: 2024-01-10
releaseStage: alpha
supportLevel: community
Expand Down
3 changes: 2 additions & 1 deletion docs/integrations/destinations/astra.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Astra Destination
# Astra DB Destination

This page contains the setup guide and reference information for the destination-astra connector.

Expand Down Expand Up @@ -38,4 +38,5 @@ This page contains the setup guide and reference information for the destination
## Changelog
| Version | Date | Pull Request | Subject |
| :------ | :--------- | :------------------------------------------------------- | :-------------------------- |
| 0.1.1 | 2024-01-26 | | DS Branding Update |
| 0.1.0 | 2024-01-08 | | Initial Release |

0 comments on commit a0e0c66

Please sign in to comment.