Files
homelab-frontend/k8s/serviceadapter-memory-extended.yaml
T
Admin Bot 951a4399d6
Build and push / Build and push image (push) Successful in 1m1s
Build / Build and push image (push) Successful in 50s
CI / Test, vet, build (push) Failing after 1m9s
feat: unblock 8.9 memory adapter extended (all 33 tasks GREEN)
2026-08-26 13:54:23 -07:00

55 lines
1.3 KiB
YAML

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