Files
documentdb/pg_documentdb_gw
Alexander Laye 7d9280333a Merged PR 1681220: Restore the partity between c# and rust setup configuration
### Does this PR have any customer impact?

No

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)

Bugfix

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)

No

### Are you introducing any new config? If yes, do you have tests with and without them being set?

No

### ChangeLog (Refer [Template](../oss/CHANGELOG.md))

### Description

restore the partity between c# and rust setup configuration

----
#### AI description  (iteration 1)
#### PR Classification
This pull request implements a configuration design change to align Rust's setup configuration with its C# counterpart.

#### PR Summary
The PR updates multiple configuration JSON files and associated Rust code to flatten and standardize the configuration structure. Key changes include:
- **`SetupConfiguration.Cloud.json`**: Removed the nested `DocumentdbConfiguration` object and promoted its keys to the top level.
- **`SetupConfiguration.JsTests.json` & `SetupConfiguration.JsTests.ADO.json`**: Flattened the JSON structure by eliminating the nested configuration key.
- **`src/main.rs`**: Moved the configuration logging and added a clone for the setup configuration when passing it to `get_service_context`.
- **`src/configuration/setup_configuration.rs`**: Applied the `#[serde(flatten)]` attribute to the `documentdb_configuration` field for proper deserialization.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
2025-05-29 12:12:31 +08:00
..