Skip to content

rename STARGATE_USERNAME -> DATA_API_USERNAME#310

Open
vkarpov15 wants to merge 1 commit intomainfrom
vkarpov15/more-stargate-rename
Open

rename STARGATE_USERNAME -> DATA_API_USERNAME#310
vkarpov15 wants to merge 1 commit intomainfrom
vkarpov15/more-stargate-rename

Conversation

@vkarpov15
Copy link
Copy Markdown
Collaborator

What this PR does:

Rename environment variables for consistency

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

Copilot AI review requested due to automatic review settings January 15, 2026 17:59
@vkarpov15 vkarpov15 requested a review from a team as a code owner January 15, 2026 17:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR renames environment variables from STARGATE_* to DATA_API_* for better consistency across the codebase, aligning naming conventions with the Data API terminology.

Changes:

  • Renamed STARGATE_USERNAME to DATA_API_USERNAME and STARGATE_PASSWORD to DATA_API_PASSWORD across all configuration files, test files, and GitHub workflow files
  • Removed unused STARGATE_AUTH_URL environment variable
  • Minor indentation fixes and removal of an outdated comment

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/fixtures.ts Updated environment variable names in test client configuration
tests/driver/tables.driver.test.ts Updated environment variable names in test connection options; removed outdated populate() comment
tests/driver/collections.driver.test.ts Updated environment variable names in test connection options
src/driver/connection.ts Fixed indentation alignment in listDatabases() return statement
src/driver/collection.ts Fixed indentation alignment in replaceOne() method
DEVGUIDE.md Updated documentation with new environment variable names
.github/workflows/publish.yml Updated CI/CD workflow environment variables
.github/workflows/ci-tests.yml Updated CI/CD workflow environment variables
.env.example Updated example configuration file with new variable names and improved comments

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants