Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Sep 8, 2023

No description provided.

rjrudin and others added 26 commits May 30, 2023 09:09
Unfortunately the scenario in question - when a user has changed their modules-database to the filesystem - cannot be fully supported yet due to a server bug. But this at least exposes a better error to the user, which is currently being obscured by the error due to the invalid MIME type from the call to DELETE /v1/rest-apis.
Improving handling of deleting a REST API server
Allows for deploying databases much more quickly by getting all forest details in a single request as opposed to one request per forest via /manage/v2. Any issue results in /manage/v2 being used instead. 

A simple test was added for this, but the method is being tested by dozens of existing tests - i.e. any test that involves deploying a database is hitting this. There's no actual change in functionality too - it's purely a performance optimization.
DEVEXP-564 Using CMA to retrieve forest details
There aren't any tests to add as the test cluster only has a single node. Instead doing manual testing against a 3-node cluster in Docker. 

The change is straightforward: if CMA is enabled, then submit a CMA config containing each of these forests with each of its replicas. If that fails, or if CMA is not enabled, then submit each forest one-by-one to /manage/v2.
DEVEXP-565 Using CMA to create forest replicas
Refactored the call for getting a map of forests - moved it into CommandContext so it's easier to reuse by separate commands. 

Note that `DeployOtherDatabasesCommand` is being reverted back as no changes are needed there anymore.
DEVEXP-565 Using map of forests to determining if forests have replicas
DEVEXP-427: Generate schemas database when running mlNewProject
DEVEXP-427: Generate schemas database when running mlNewProject
DEVEXP-546: Scaffold new roles using privileges instead of OOTB roles
This is to match the Java Client 6.3.0 going to 2.15.2.
DEVEXP-527 Added properties for cascading collections and permissions
Now that DefaultSchemasLoader can generate QBVs, it always needs a content DatabaseClient. So DefaultSchemasLoader now has an explicit boolean to control whether TDE templates are validated.
Fixing how TDE validation is disabled
@rjrudin rjrudin merged commit 6273b76 into master Sep 8, 2023
@rjrudin rjrudin deleted the release/4.6.0 branch September 8, 2023 15:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants