Skip to content

Azure || Cosmos Client improvements

Krishna Nikhil Vedurumudi requested to merge krveduru/goneexp into master

Type of change

  • Bug Fix
  • Feature

Please provide link to gitlab issue or ADR(Architecture Decision Record)

Does this introduce a change in the core logic?

  • [YES/NO]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Does this introduce a breaking change?

  • [YES/NO]

What is the current behavior?

What is the new/expected behavior?

Upgrading to latest Azure CoreLib version to make use of optimizations that were done in the usage of Azure Cosmos DB. Includes some test changes that were picked up by OS Core Common upgrade.

Note: Tests have been modified to remove charset=UTF-8 presence in the Content Type header as that has been deprecated in the latest versions of spring

Ref: https://github.com/spring-projects/spring-framework/blob/main/spring-web/src/main/java/org/springframework/http/MediaType.java#L118 Quoting the same

static MediaType - APPLICATION_JSON_UTF8 - Deprecated. as of 5.2 in favor of APPLICATION_JSON since major browsers like Chrome now comply with the specification and interpret correctly UTF-8 special characters without requiring a charset=UTF-8 parameter.

Have you added/updated Unit Tests and Integration Tests?

Any other useful information

Edited by Krishna Nikhil Vedurumudi

Merge request reports

Loading