Skip to content
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

Migrate the MongoDB data services to driver version 4.9.1 #3853

Open
35 tasks done
Bhashinee opened this issue Jan 2, 2025 · 0 comments
Open
35 tasks done

Migrate the MongoDB data services to driver version 4.9.1 #3853

Bhashinee opened this issue Jan 2, 2025 · 0 comments
Assignees

Comments

@Bhashinee
Copy link
Member

Bhashinee commented Jan 2, 2025

Current Limitation

Current MongoDB data services use the MongoDB driver version 3.5.0 which is a very old version along with Jongo(An unmaintained library from a third party). Need to revamp the code to use the MongoDB driver version 4.9.1 whihc is the version that is being used in the latest MongoDB connector. So that the users can use data serivces MongoDB operations along with the connector.

Suggested Improvement

  • Update the driver version to 4.9.1 and revamp the code. This includes adding mongodb-driver-sync, mongodb-driver-core and adding bson instead of Jongo library.

Testing

MongoDB configs(Check whether the configs are set properly in Mongo Client)

  • mongoDB_read_preference
  • mongoDB_ssl_enabled
  • mongoDB_write_concern
  • mongoDB_connectTimeout
  • mongoDB_maxWaitTime
  • mongoDB_socketTimeout
  • mongoDB_connectionsPerHost

Operations that are supported by data services - REST

  • Find
  • FindOne (Need to test with query and without query {})
  • insert
  • Count
  • Drop
  • Remove
  • Exists
  • Update

Operations that are supported by data services - SOAP

  • Find
  • FindOne (Need to test with query and without query {})
  • insert
  • Count
  • Drop
  • Remove
  • Exists
  • Update

Odata

  • Get service document
  • Read metadata of the service
  • Read details from the project service
  • Read individual record
  • Add a new record to table
  • Delete record
  • Update record
  • Top option
  • count option
  • orderby option

Test with connector

  • Test data services along with MongoDB connector

Version

MI 4.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant