mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-07 22:02:56 +00:00
* feat: add SchemaValidator * feat: add schema validator to mysql shim * chore: pass schema validator to http auth layer * feat: add schema validator to http * feat: add schema validator to pg * feat: add schema validator to pg * feat: add schema validator test * chore: remove println in test * chore: use !matches * refactor: refac authenticate and authorize in http auth * refactor: refac authenticate and authorize in http auth * chore: typo * chore: minor change * refactor: merge schema_validator into user_providier * chore: fix license issue * refactor: change http query param from database to db * chore: fix cr issue
Setup
To run the integration test, please copy .env.example to .env in the project root folder and change the values on need.
Take s3 for example. You need to set your S3 bucket, access key id and secret key:
# Settings for s3 test
GT_S3_BUCKET=S3 bucket
GT_S3_ACCESS_KEY_ID=S3 access key id
GT_S3_ACCESS_KEY=S3 secret access key
Run
Execute the following command in the project root folder:
cargo test integration
Test s3 storage:
cargo test s3