Skip to content

Feature Request: Consolidate API clients #70

Description

@hcpadkins

Overview

The majority of the API clients provided by Grove to support are similar in composition: they emit the log records in the same format, return pointers in a similar manner, use similar methods for authentication, and perform the same set of HTTP operations.

As a result of these similarities, it should be possible to build a set of base HTTP clients within Grove. This will reduce a lot of code duplication, and reduce the amount of effort require to build a new connector - where an API client is required to be implemented.

The following base clients should likely be implemented:

  • Base HTTP
    • Provides a common set of HTTP wrappers for GET / POST operations.
  • OAuth2
    • This can likely be based of the Base HTTP client.

These cases should be able to handle the majority of use cases within existing Grove API clients.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions