Activities of "aaguiar"

Found a solution which worked:

public override void InitializeDatabase(IMongoDatabase database, IMongoClient client, IClientSessionHandle sessionHandle)
{ 
    var clientSettings = client.Settings.Clone();

    clientSettings.AutoEncryptionOptions = autoEncryptionOptions;

    client = new MongoClient(clientSettings);
    database = client.GetDatabase(database.DatabaseNamespace.DatabaseName);
    base.InitializeDatabase(database, client, sessionHandle);
}

I'm not talking about the CSFLE implementation, that part is done, my question is how to override the MongoClient in the AbpMongoDbContext, because I need to fetch the keys from the DB, create the AutoEncryptionOptions and then override the client config

To be able to build the AutoEncryptionOptions I need to fetch the collection to grab the encryption key, how can I achieve that in the DBModule if I don't have the MongoClient just yet?

Hi, I'm trying to implement MongoDB CSFLE, I need a way to override the MongoDB settings and the MongoClient.

I created a class implementing AbpMongoDbContext could you please let me know how can I achieve that? One of the settings that I have to change is: mongoDBSettings.AutoEncryptionOptions

Database and Client are private set, so I can't override it.

  • ABP Framework version: 8.0.3
  • UI Type: Angular
  • Database System: MongoDB

Hi, I didn't get any response from you, is there any fix I can do to have ABP Studio working on my mac?

Any idea?

I do have Docker Desktop, but ABP Suite keeps complaining it's not installed

but how? I already have Docker installed, the ABP suite is not clear with the messages

I can't run my project using ABP Suite

Getting this:

Showing 1 to 10 of 13 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07