-
Notifications
You must be signed in to change notification settings - Fork 5k
Documents db api for cloud #11164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 1.8.x
Are you sure you want to change the base?
Documents db api for cloud #11164
Conversation
…xpress services to Docker Compose, and adjust related code for MongoDB integration.
… connection handling in the application. Add console document creation logic and improve code formatting for better readability.
…ompose for MongoDB integration, and improve database connection handling in the application.
…and update user creation logic in mongo-init.js. Improve database connection handling and fix conditional checks in application code.
…B as the primary database, replacing all instances of MariaDB. Introduce a new environment variable for database selection and adjust database schemes in the application initialization.
…ressing implications of template substitution limitations.
…, including MARIADB and MONGODB. Set environment variables based on selected adapter for testing.
… Remove health check configuration and simplify service dependencies in Docker Compose. Update error logging in application to include context for MongoDB connection issues.
# Conflicts: # app/init/resources.php # composer.json # composer.lock
…goDB integration. Change database alias in composer.json, update package versions in composer.lock, and adjust volume mappings in Docker Compose to include MongoDB source directories. Refactor application code to set tenant to null for database connections.
# Conflicts: # composer.json # composer.lock
…version in tests. Added var_dump statements for better traceability during OAuth2 flows and adjusted test assertions for user search functionality.
…ror handling in XList class. Update test cases to comment out a specific OAuth2 conversion test for clarity.
… packages. Adjust utopia-php/database version alias and update phpunit and sebastian packages to latest versions. Add debugging output in http.php and uncomment OAuth2 conversion test in AccountCustomClientTest for improved functionality.
…ock.php, and OAuth2 classes. Adjusted var_dump statements for improved traceability and consistency. Updated test assertions in ProjectsConsoleClientTest and UsersBase to enhance clarity and functionality.
…ersBase. Improved formatting for consistency and clarity in test assertions, particularly for MongoDB-related tests.
…ng mock.php, account.php, and OAuth2 classes. Removed unnecessary var_dump statements for improved code clarity and consistency. Updated MongoDB condition checks in test cases to ensure case-insensitive comparisons.
…ng in MessagingConsoleClientTest for improved clarity and debugging. This aligns with recent efforts to clean up debugging output across the codebase.
…endencies, including updates for utopia-php/database and phpunit/phpunit. Removed duplicate entries and unnecessary lines for improved clarity.
…hp/database versioning and dependencies. Adjusted MongoDB-related test conditions for improved compatibility and clarity. Removed unnecessary var_dump statements in account.php and enhanced logging in various test files for better debugging.
…for improved code clarity and consistency.
Feat mongodb pulls
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
- Introduced new methods to retrieve metrics for write and read operations based on database type. - Updated bulk delete, update, upsert, and create actions to use the new metric methods. - Enhanced document retrieval and update actions to utilize the new metric structure. - Added support for DocumentsDB metrics in usage statistics and response models. - Created new response models for DocumentsDB usage and updated existing models to accommodate new metrics. - Adjusted migration and stats resources to include DocumentsDB metrics. - Updated tests to validate the new metrics and ensure correct functionality for DocumentsDB usage.
|
Important Review skippedToo many files! 110 files out of 260 files are above the max files limit of 150. You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Security Scan Results for PRDocker Image Scan Results
Source Code Scan Results🎉 No vulnerabilities found! |
What does this PR do?
(Provide a description of what this PR does and why it's needed.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)
Related PRs and Issues
Checklist