wso2 / wso2/api-platform

Keep the original API Resource in DB only (Remove from in-memory store)

Open
#1,255 0 comments 0 reactions 1 assignee View on GitHub

@renuka-fernando is already working on this.

Since Feb 22, 2026.

Type/Task
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Description

The in-memory store holds only the internal structure (RuntimeConfig) derived from the original API resource. The original API resource (e.g., LLMProvider) is stored in the database but not kept in memory after transformation. Reading these resources is not frequent through Rest APIs, and for transformation logic (eg, llm proxy needs to read llm provider), it can read from the database. This will reduce the memory footprint of the gateway controller and also make the code more maintainable as we will have a clear separation of concerns between the API resource and the internal structure.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.