microsoft / spring-cloud-azure

Spring Cloud Azure is an open-source project that provides seamless Spring integration with Azure services.
https://microsoft.github.io/spring-cloud-azure
MIT License
217 stars 105 forks source link

[Bug] Not enough information to enable health endpoint for cosmos #939

Closed jialigit closed 2 years ago

jialigit commented 2 years ago

Context

In the reference doc: https://microsoft.github.io/spring-cloud-azure/4.0.0/reference/html/index.html#production-ready, in note about specifying the database to make the health endpoint work normally is lacking.

Solution

We should add a note in the production ready section about: To enable the health endpoint for cosmos, we have to add:

spring:
  cloud:
    azure:
      cosmos:
        database: <database>

this is issue is to be solved in this pr: https://github.com/hui1110/azure-dev-docs-pr/pull/11

jialigit commented 2 years ago

closed for pr is merged.

The following pr riches the return information for cosmos health endpoint.