Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-9055

Create Common Library for Types and API Client Integration (kiali-common)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Kiali
    • False
    • Hide

      None

      Show
      None
    • False

      Create a shared library that includes reusable types and an API client to connect to the backend. This client should handle API requests, responses, and error management in a consistent and reusable way across the application.

      • Tasks:
        1. Define and implement common data types to be used (e.g., request/response data formats, error handling types).
        2. Implement a client class or utility to facilitate interaction with the backend (e.g., using fetch or axios for REST API calls).
        3. Implement basic error handling and logging mechanisms for API calls.
        4. Ensure the client is flexible to support different endpoints and allows for easy expansion (e.g., adding more API routes in the future).
        5. Write unit tests to verify the API client and data types work as expected.
        6. Document the library for other developers to use and integrate in kiali plugin.

              Unassigned Unassigned
              agutierr@redhat.com Alberto Jesus Gutierrez Juanes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: