* Make mysql bootstrap file consistent with postgres
* Adding a java code change to trigger all the precommit checks
* Set test container reuse flag to true
* Make Postgres bootstrap files consistent with MySQL
* Test pagination using random jump of limit between 1-5 instead of 1 to reduce test time
* Starting the test container outside @BeforeAll in a static block for container reuse
* Comment printing out list output in pagination tests
* Move starting the test container to @BeforeAll setup method instead of static initialization
* Remove unnecessary tests in PolicyResourceTest to speed up tests
* Add test container reuse for github workflows
* Add test container reuse for github workflows
* Add test container reuse for github workflows
* Change timeouts for the TestContainer
* Add test container reuse for github workflows
* Add test container reuse for github workflows (#4563)
Co-authored-by: Sriharsha Chintalapani <harsha@getcollate.io>
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
* Add postgres support
* Add testing for postgresql databases
Split surefire tests into: unit-tests, postgres-integration-tests, mysql-integration-tests
Integration tests get db information from system properties
All tests ending in ResourceTests.java are integration tests, all other are unit tests
Move to using testscointainers, remove embeded mysql
* Fix some tests
* Fix webhook and table tests
* Fix random name generation in tests, remove parallelism
* Fix style
* Add headers, fix config files
* Apply formatting
* Fix tag ussage query for postgres
* Replace references to mysql with generic database
* Fix postgres migration file
* Fix postgres migration script
* Fix#3659 Refactor Service Connection String to be specific to per service
* Simplify and centralize Airflow Pipeline info for REST (#3740)
* Remove code
* Modified Configs based on refactoring schema (#3816)
* Clean WorkflowContext
Co-authored-by: pmbrull <peremiquelbrull@gmail.com>
Co-authored-by: Ayush Shah <ayush@getcollate.io>
* Support swapping default roles
Pseudocode:
```
A. patchRole(role1, default=True):
B. set role1.default = True
for all users:
add role1 to user.roles
C. for role in roles if role != role1:
set role.default = False
for all users:
delete role from user.roles
```
This ensures that changeDescription for the role(s) and user(s) are updated accordingly.
Potential optimization:
Adding role1 and removing role from user.roles could be considered/implemented as one change.
However, increases code complexity.
* Set DataConsumer as default role
* Fix tests
* Fix code smell
* See #2486. Add fernet Java library to encrypt DatabaseService.DatabaseConnection.password
* Add support for rotation.
* Add support for CLI to rotate the key.
* The fernet key can be null. No encryption will be done.
* Add FernetConfiguration
* Add env variable for Fernet.
* Convert base64 to base64url
* Decrypt (admin or bot) or nullify tokens for all methods including ListVersions and GetVersion
* Fix test with owner USER to handle null in DatabaseConnection
* Fix#2340: Ingestion pipeline deployment refactor - update ingestion
* Fix#2355: Upgrade scripts, handle entity_extension updatedAt and dbservice jdbc field , Fix#2353: Add API to AirflowPipelines filter based on service
* Fix#2355: Upgrade scripts, handle entity_extension updatedAt and dbservice jdbc field , Fix#2353: Add API to AirflowPipelines filter based on service
* Add support for webhook secret key
* Fixes#2194 - Change dateTime field to unix epoch timestamp milliseconds and add support for webhook secret key
* Fixes#2194 - Added support for upgrading existing metadata to move dateTime attributes to timestamp
* Fix#1327: rename Model to DBTModel and provide indexing support
* Fix#1327: update dbt connector
* Fix#1327: add search index for dbt models
* Fix#1327: Address checkstyle issues
* Fix#1151: Refactor Model to MLModel
* Fix#1151: Refactor Model to MLModel
* Fix#1151: Refactor Model to MLModel
* Fix#1151: Refactor Model to MLModel