File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ These configurations can be customized via `.withXXX()` methods with **no global
101101| ---------------| --------| ---------| -------------| 
102102|  ` Auto Create `  |  ` .withAutoCreate(enabled) `  |  ` true `  |  Auto-create collections and indexes | 
103103|  ` Scope Name `  |  ` .withScopeName(name) `  |  ` _default `  |  Scope where audit collections will be created | 
104- |  ` Audit Repository Name `  |  ` .withAuditRepositoryName(name) `  |  ` flamingockAuditLogs `  |  Collection name for audit entries | 
104+ |  ` Audit Repository Name `  |  ` .withAuditRepositoryName(name) `  |  ` flamingockAuditLog `  |  Collection name for audit entries | 
105105|  ` Lock Repository Name `  |  ` .withLockRepositoryName(name) `  |  ` flamingockLock `  |  Collection name for distributed locks | 
106106
107107⚠️ ** Warning** : Ensure your Couchbase user has permissions to create collections if ` autoCreate `  is enabled.
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ These configurations can be customized via `.withXXX()` methods with **no global
9999| ---------------| --------| ---------| -------------| 
100100|  ` Read Capacity Units `  |  ` .withReadCapacityUnits(units) `  |  ` 5 `  |  Read capacity units (PROVISIONED mode only) | 
101101|  ` Write Capacity Units `  |  ` .withWriteCapacityUnits(units) `  |  ` 5 `  |  Write capacity units (PROVISIONED mode only) | 
102- |  ` Audit Repository Name `  |  ` .withAuditRepositoryName(name) `  |  ` flamingockAuditLogs `  |  Table name for audit entries | 
102+ |  ` Audit Repository Name `  |  ` .withAuditRepositoryName(name) `  |  ` flamingockAuditLog `  |  Table name for audit entries | 
103103|  ` Lock Repository Name `  |  ` .withLockRepositoryName(name) `  |  ` flamingockLock `  |  Table name for distributed locks | 
104104
105105⚠️ ** Warning** : Adjust capacity units based on your workload. Under-provisioning may cause throttling.
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ These configurations can be customized via `.withXXX()` methods with **no global
7777|  ` WriteConcern `  |  ` .withWriteConcern(concern) `  |  ` MAJORITY `  with journal |  Write acknowledgment level | 
7878|  ` ReadConcern `  |  ` .withReadConcern(concern) `  |  ` MAJORITY `  |  Read isolation level | 
7979|  ` ReadPreference `  |  ` .withReadPreference(pref) `  |  ` PRIMARY `  |  Server selection for reads | 
80- |  ` Audit Repository Name `  |  ` .withAuditRepositoryName(name) `  |  ` flamingockAuditLogs `  |  Collection name for audit entries | 
80+ |  ` Audit Repository Name `  |  ` .withAuditRepositoryName(name) `  |  ` flamingockAuditLog `  |  Collection name for audit entries | 
8181|  ` Lock Repository Name `  |  ` .withLockRepositoryName(name) `  |  ` flamingockLock `  |  Collection name for distributed locks | 
8282
8383** Important** : These default values are optimized for maximum consistency and should ideally be left unchanged. Override them only for testing purposes or exceptional cases.
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ class IntegrationTest {
8888
8989        //  ✅ Verify the change was audited in MongoDB
9090        MongoDatabase  db =  mongoClient. getDatabase(" test-db"  );
91-         MongoCollection<Document >  auditCollection =  db. getCollection(" flamingockAuditLogs "  );
91+         MongoCollection<Document >  auditCollection =  db. getCollection(" flamingockAuditLog "  );
9292
9393        var  document =  new  Document (" changeId"  , " create-bucket"  )
9494                .append(" state"  ," EXECUTED"  );
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ public class FlamingockSpringbootTest {
104104  void  shouldExecuteChangeAndWriteAuditToDynamoDB () {
105105    DynamoDbClient  client =  dynamoDbClient();
106106    ScanResponse  scan =  client. scan(ScanRequest . builder()
107-         .tableName(" flamingockAuditLogs "  )
107+         .tableName(" flamingockAuditLog "  )
108108        .build());
109109
110110    boolean  changeExecuted =  scan. items(). stream()
@@ -130,7 +130,7 @@ static void overrideProperties(DynamicPropertyRegistry registry) {
130130  registry. add(" flamingock.dynamodb.readCapacityUnits"  , () - >  5L );
131131  registry. add(" flamingock.dynamodb.writeCapacityUnits"  , () - >  5L );
132132  registry. add(" flamingock.dynamodb.autoCreate"  , () - >  true );
133-   registry. add(" flamingock.dynamodb.auditRepositoryName"  , () - >  " flamingockAuditLogs "  );
133+   registry. add(" flamingock.dynamodb.auditRepositoryName"  , () - >  " flamingockAuditLog "  );
134134  registry. add(" flamingock.dynamodb.lockRepositoryName"  , () - >  " flamingockLock"  );
135135}
136136``` 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments