Skip to content

Conversation

@ashGHub
Copy link

@ashGHub ashGHub commented Apr 27, 2024

Key Changes:

The primary change involves extracting the HTTP client initialization from the Odoo class and facilitating the creation of an HTTP client from a custom HTTP client factory.

Benefits:

  1. Enhanced flexibility in customizing HTTP request and response handling within the OdooClient.
  2. Centralized authentication logic and request modification capabilities through the custom HTTP message handler.
  3. Improved debugging and auditing capabilities via HTTP request and response logging.
  4. Streamlined error handling for specific error conditions returned by the Odoo server.
  5. Facilitated integration with various middleware components for cross-cutting concerns.

This pull request aims to improve the OdooClient class by supporting HTTP message handlers, enabling greater customization and versatility in interacting with the Odoo server.

@patricoos
Copy link
Member

Can you update Readme?

@ashGHub
Copy link
Author

ashGHub commented Jul 19, 2024

Can you update Readme?

It's done

@ashGHub ashGHub force-pushed the master branch 3 times, most recently from a8194d7 to f668d86 Compare July 20, 2024 18:42
@yididiyag
Copy link

@patricoos any hope this being merged. I am looking for something like that. thanks @ashGHub

ashGHub and others added 2 commits November 2, 2024 21:26
Refactor class name and instances from OdooClientHttp to OdooHttpClient across multiple files for consistent naming. Updated related methods and tests to reflect the new naming convention while also adding thread safety and argument checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants