-
Notifications
You must be signed in to change notification settings - Fork 7
feat: support token #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: support token #104
Changes from 16 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4e87749
feat: support token
qevolg 2eb0dcf
fix: fix vuln
qevolg 7df575f
chore: remove submodule checkout from TDengine
qevolg 29012f1
feat: add GitHub Actions workflow for nodejs Enterprise and update te…
qevolg d7a5254
chore: update GitHub Actions workflows for nodejs build and enterpris…
qevolg 0fbfa1c
fix: improve error logging by removing query parameters from URLs
qevolg 757ade8
chore: setup tmate
qevolg bb7709d
Merge branch 'main' into feat/main/token
qevolg fb34c24
fix: correct workflow names for compatibility and enterprise files
qevolg fde96f9
feat: add token support in TmqConfig and related tests
qevolg 338f508
Merge branch 'main' into feat/main/token
qevolg e485c65
refactor: replace hardcoded credentials with test utility functions i…
qevolg 061d728
feat: enhance token handling and validation in TmqConfig, WsClient, a…
qevolg c95ae5d
feat: enhance sensitive data masking in WsClient and WebSocketConnector
qevolg 44388f7
feat: enhance logging by masking sensitive information in TmqConfig a…
qevolg b3af4a3
feat: enhance logging by masking URLs in error messages for WebSocket…
qevolg 8f76056
feat: enhance logging by using masked TmqConfig in WsConsumer constru…
qevolg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: nodejs Compatibility | ||
| name: Node.js Compatibility | ||
|
|
||
| on: | ||
| push: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| name: Node.js Enterprise | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - "main" | ||
| - "3.0" | ||
| pull_request: | ||
| branches: | ||
| - "main" | ||
| - "3.0" | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-22.04 | ||
| strategy: | ||
| matrix: | ||
| node-version: [16.x, 20.x] | ||
| steps: | ||
| - name: Get TDengine | ||
| run: wget "${{ secrets.NIGHTLY_TDENGINE_ENTERPRISE_BASE_URL }}/tsdb-nightly-3.0.tar.gz?v=$(date +%s)" -O tsdb-nightly-3.0.tar.gz | ||
|
|
||
| - name: Install TDengine | ||
| run: | | ||
| tar -zxf tsdb-nightly-3.0.tar.gz | ||
| rm -rf tsdb-nightly-3.0.tar.gz | ||
| cd tsdb-nightly-3.0 | ||
| sudo ./install.sh | ||
|
|
||
| - name: Start TDengine | ||
| run: | | ||
| sudo mkdir -p /etc/taos | ||
| sudo mkdir -p /var/log/taos | ||
| nohup sudo taosd & | ||
| nohup sudo taosadapter & | ||
|
|
||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| path: "nodejs-connector" | ||
| clean: true | ||
| set-safe-directory: true | ||
|
|
||
| - name: Use Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
|
|
||
| - name: Run tests | ||
| working-directory: nodejs-connector/nodejs | ||
| env: | ||
| TDENGINE_CLOUD_URL: ${{ secrets.TDENGINE_CLOUD_URL }} | ||
| TDENGINE_CLOUD_TOKEN: ${{ secrets.TDENGINE_CLOUD_TOKEN }} | ||
| TEST_ENTERPRISE: true | ||
| run: | | ||
| npm install | ||
| npm list | ||
| npm run example | ||
| npm run test | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.