ResourceModules icon indicating copy to clipboard operation
ResourceModules copied to clipboard

[Modules] Azure Cosmos DB SQL Container Indexing policy

Open fblix opened this issue 2 years ago • 2 comments

Description

Thank you for your contribution !

This PR adds the ability to configure an indexingPolicy for sqldatabase containers for an Azure Cosmos DB.

Pipeline references

For module/pipeline changes, please create and attach the status badge of your successful run.

DocumentDB: DatabaseAccounts

Type of Change

Please delete options that are not relevant.

  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Update to documentation

Checklist

  • [x] I'm sure there are no other open Pull Requests for the same update/change
  • [x] My corresponding pipelines / checks run clean and green without any errors or warnings
  • [x] My code follows the style guidelines of this project
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation (readme)
  • [x] I did format my code

fblix avatar Jun 23 '22 12:06 fblix

Indexing policy does not work with some specific capabilities (e.g. serverless) and with all database types (e.g. gremlin). We should wait until the PR #1566 is done and then add extensive tests for the different CosmosDB APIs and capabilities.

itpropro avatar Jun 23 '22 18:06 itpropro

Indexing policy does not work with some specific capabilities (e.g. serverless) and with all database types (e.g. gremlin). We should wait until the PR #1566 is done and then add extensive tests for the different CosmosDB APIs and capabilities.

Correcting, it is now #1638

AlexanderSehr avatar Jul 06 '22 09:07 AlexanderSehr

Test Results

    1 files      1 suites   2m 7s :stopwatch: 278 tests 274 :heavy_check_mark: 4 :zzz: 0 :x: 308 runs  301 :heavy_check_mark: 7 :zzz: 0 :x:

Results for commit ffe9bed4.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Dec 01 '22 09:12 github-actions[bot]

updated with new dependency approach and ready for merge.

fblix avatar Dec 01 '22 11:12 fblix