apiVersion: gateway.riotpiao.com/v1 kind: ServiceAdapter metadata: name: memory-extended namespace: api spec: serviceName: memory-extended upstream: url: http://poimen-memory.poimen.svc.cluster.local:8080 timeoutSeconds: 30 auth: required: true capability: memory:read retryable: true resources: # Extended: notes resource (M3.5.6+) - name: notes methods: - verb: GET upstreamPath: /memory/projects/{id}/notes responseSchema: "items: object" auth: required: true capability: memory:read # Extended: context resource (M3.7.7+, M3.7.8+) - name: context methods: - verb: POST upstreamPath: /memory/context requestSchema: "tool: string" responseSchema: "bundle: object" auth: required: true capability: memory:read # Extended: git-aware lookups (M3.5.9) - name: nodes methods: - verb: POST upstreamPath: /memory/nodes/by-git requestSchema: "repo: string, ref: string" responseSchema: "nodes: array" - verb: POST upstreamPath: /memory/nodes/by-commit requestSchema: "commit: string" responseSchema: "nodes: array" - verb: POST upstreamPath: /memory/nodes/by-author requestSchema: "author: string" responseSchema: "nodes: array" auth: required: true capability: memory:read