{ "id": "6eff99e1-1397-40dc-b90b-9e4a53cd9563", "name": "engineering context memory", "schemaVersion": "designs.meshery.io/v1beta1", "version": "0.0.24", "components": [ { "id": "01d18893-9b77-5070-8de8-0d65c67bfbd9", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "engineering-memory-namespace", "description": "", "format": "", "model": null, "modelReference": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "position": { "x": 866.9107987220706, "y": 624.846649138044 }, "primaryColor": "", "svgColor": "", "svgComplete": "", "svgWhite": "" }, "capabilities": null, "status": null, "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "metadata": { "name": "engineering-memory" } }, "component": { "version": "v1", "kind": "Namespace", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "2aed154f-3dd7-52d2-abc3-dff7943d79a7", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "memory-config", "description": "", "format": "", "model": null, "modelReference": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "position": { "x": 991.0804288525825, "y": 739.0979080482456 }, "primaryColor": "", "svgColor": "", "svgComplete": "", "svgWhite": "", "z-index": 3 }, "capabilities": null, "status": null, "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "data": { "DATABASE_HOST": "memory-postgres", "DATABASE_NAME": "engineering_memory", "DATABASE_PORT": "5432", "EMBEDDING_MODEL": "configure-in-application", "GITLAB_POLL_INTERVAL_SECONDS": "300", "LOG_LEVEL": "info", "SOURCE_TRACEABILITY": "enabled" }, "metadata": { "name": "memory-config", "namespace": "engineering-memory" } }, "component": { "version": "v1", "kind": "ConfigMap", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "01d599b5-f566-523a-9362-3346bfdc8329", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "memory-postgres", "description": "", "format": "", "model": null, "modelReference": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "position": { "x": 867.4966581218479, "y": 742.4059507824862 }, "primaryColor": "", "svgColor": "", "svgComplete": "", "svgWhite": "", "z-index": 4 }, "capabilities": null, "status": null, "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "metadata": { "name": "memory-postgres", "namespace": "engineering-memory" }, "spec": { "replicas": 1, "selector": { "matchLabels": { "app": "memory-postgres" } }, "serviceName": "memory-postgres", "template": { "metadata": { "labels": { "app": "memory-postgres" } }, "spec": { "containers": [ { "env": [ { "name": "POSTGRES_DB", "value": "engineering_memory" }, { "name": "POSTGRES_USER", "valueFrom": { "secretKeyRef": { "key": "POSTGRES_USER", "name": "memory-secrets" } } }, { "name": "POSTGRES_PASSWORD", "valueFrom": { "secretKeyRef": { "key": "POSTGRES_PASSWORD", "name": "memory-secrets" } } } ], "image": "pgvector/pgvector:pg17", "name": "postgres", "ports": [ { "containerPort": 5432, "name": "postgres" } ], "readinessProbe": { "exec": { "command": [ "/bin/sh", "-c", "pg_isready -U \"$POSTGRES_USER\" -d \"$POSTGRES_DB\"" ] }, "initialDelaySeconds": 5, "periodSeconds": 10 }, "volumeMounts": [ { "mountPath": "/var/lib/postgresql/data", "name": "postgres-data", "subPath": "pgdata" } ] } ] } }, "volumeClaimTemplates": [ { "metadata": { "name": "postgres-data" }, "spec": { "accessModes": [ "ReadWriteOnce" ], "resources": { "requests": { "storage": "10Gi" } } } } ] } }, "component": { "version": "apps/v1", "kind": "StatefulSet", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "cc0e97da-2854-59af-82b2-12de59e61a64", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "memory-postgres-service", "description": "", "format": "", "model": null, "modelReference": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "position": { "x": 865.873213299521, "y": 524.5587546734001 }, "primaryColor": "", "svgColor": "", "svgComplete": "", "svgWhite": "", "z-index": 5 }, "capabilities": null, "status": null, "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "metadata": { "name": "memory-postgres", "namespace": "engineering-memory" }, "spec": { "clusterIP": "None", "ports": [ { "name": "postgres", "port": 5432, "targetPort": 5432 } ], "selector": { "app": "memory-postgres" } } }, "component": { "version": "v1", "kind": "Service", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "5b603161-b00b-59b8-a679-c703d0d15812", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "memory-api", "description": "", "format": "", "model": null, "modelReference": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "position": { "x": 872.5825068021114, "y": 822.1428670121368 }, "primaryColor": "", "svgColor": "", "svgComplete": "", "svgWhite": "", "z-index": 6 }, "capabilities": null, "status": null, "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "metadata": { "name": "memory-api", "namespace": "engineering-memory" }, "spec": { "replicas": 2, "selector": { "matchLabels": { "app": "memory-api" } }, "template": { "metadata": { "labels": { "app": "memory-api" } }, "spec": { "containers": [ { "args": [ "api" ], "env": [ { "name": "DATABASE_URL", "valueFrom": { "secretKeyRef": { "key": "DATABASE_URL", "name": "memory-secrets" } } }, { "name": "GITLAB_TOKEN", "valueFrom": { "secretKeyRef": { "key": "GITLAB_TOKEN", "name": "memory-secrets" } } }, { "name": "LLM_API_KEY", "valueFrom": { "secretKeyRef": { "key": "LLM_API_KEY", "name": "memory-secrets" } } } ], "envFrom": [ { "configMapRef": { "name": "memory-config" } } ], "image": "ghcr.io/your-org/engineering-memory:latest", "name": "api", "ports": [ { "containerPort": 8080, "name": "http" } ], "readinessProbe": { "httpGet": { "path": "/health", "port": 8080 }, "initialDelaySeconds": 10, "periodSeconds": 10 }, "resources": { "limits": { "cpu": "500m", "memory": "512Mi" }, "requests": { "cpu": "100m", "memory": "128Mi" } } } ] } } } }, "component": { "version": "apps/v1", "kind": "Deployment", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "ee5f485a-04d9-5331-92a1-a7a8c257c98b", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "gitlab-ingestion-worker", "description": "", "format": "", "model": null, "modelReference": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "position": { "x": 864.943463291866, "y": 410.67472753373005 }, "primaryColor": "", "svgColor": "", "svgComplete": "", "svgWhite": "", "z-index": 7 }, "capabilities": null, "status": null, "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "metadata": { "name": "gitlab-ingestion-worker", "namespace": "engineering-memory" }, "spec": { "replicas": 1, "selector": { "matchLabels": { "app": "gitlab-ingestion-worker" } }, "template": { "metadata": { "labels": { "app": "gitlab-ingestion-worker" } }, "spec": { "containers": [ { "args": [ "worker" ], "env": [ { "name": "DATABASE_URL", "valueFrom": { "secretKeyRef": { "key": "DATABASE_URL", "name": "memory-secrets" } } }, { "name": "GITLAB_TOKEN", "valueFrom": { "secretKeyRef": { "key": "GITLAB_TOKEN", "name": "memory-secrets" } } }, { "name": "LLM_API_KEY", "valueFrom": { "secretKeyRef": { "key": "LLM_API_KEY", "name": "memory-secrets" } } } ], "envFrom": [ { "configMapRef": { "name": "memory-config" } } ], "image": "ghcr.io/your-org/engineering-memory:latest", "name": "worker", "resources": { "limits": { "cpu": "500m", "memory": "512Mi" }, "requests": { "cpu": "100m", "memory": "128Mi" } } } ] } } } }, "component": { "version": "apps/v1", "kind": "Deployment", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "7e208a72-eab9-598f-86aa-ac000472a3a4", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "memory-api-service", "description": "", "format": "", "model": null, "modelReference": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "position": { "x": 731.531729191977, "y": 740.802890323355 }, "primaryColor": "", "svgColor": "", "svgComplete": "", "svgWhite": "", "z-index": 8 }, "capabilities": null, "status": null, "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "metadata": { "name": "memory-api-service", "namespace": "engineering-memory" }, "spec": { "ports": [ { "name": "http", "port": 80, "targetPort": 8080 } ], "selector": { "app": "memory-api" }, "type": "ClusterIP" } }, "component": { "version": "v1", "kind": "Service", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" } ], "relationships": [ { "id": "4e3b3a4a-0d62-4ae3-bf21-64304e231f86", "evaluationQuery": null, "kind": "edge", "metadata": { "description": "", "isAnnotation": false, "styles": { "primaryColor": "", "svgColor": "", "svgWhite": "" } }, "model": { "displayName": "Meshery Shapes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "0.7.2" }, "name": "meshery-shapes", "registrant": { "kind": "meshery" }, "version": "v1.0.0" }, "schemaVersion": "", "selectors": [ { "allow": { "from": [ { "id": "ee5f485a-04d9-5331-92a1-a7a8c257c98b", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ], "to": [ { "id": "cc0e97da-2854-59af-82b2-12de59e61a64", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ] }, "deny": { "from": [], "to": [] } } ], "subType": "annotation", "status": "pending", "type": "non-binding", "version": "" }, { "id": "7ef393cf-c955-43f5-9d57-29b38ce6d06c", "evaluationQuery": null, "kind": "edge", "metadata": { "description": "", "isAnnotation": false, "styles": { "primaryColor": "", "svgColor": "", "svgWhite": "" } }, "model": { "displayName": "Meshery Shapes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "0.7.2" }, "name": "meshery-shapes", "registrant": { "kind": "meshery" }, "version": "v1.0.0" }, "schemaVersion": "", "selectors": [ { "allow": { "from": [ { "id": "cc0e97da-2854-59af-82b2-12de59e61a64", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ], "to": [ { "id": "01d18893-9b77-5070-8de8-0d65c67bfbd9", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ] }, "deny": { "from": [], "to": [] } } ], "subType": "annotation", "status": "pending", "type": "non-binding", "version": "" }, { "id": "32c27a4c-1a1a-4663-bbf6-d594b98a3a4d", "evaluationQuery": null, "kind": "edge", "metadata": { "description": "", "isAnnotation": false, "styles": { "primaryColor": "", "svgColor": "", "svgWhite": "" } }, "model": { "displayName": "Meshery Shapes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "0.7.2" }, "name": "meshery-shapes", "registrant": { "kind": "meshery" }, "version": "v1.0.0" }, "schemaVersion": "", "selectors": [ { "allow": { "from": [ { "id": "01d18893-9b77-5070-8de8-0d65c67bfbd9", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ], "to": [ { "id": "01d599b5-f566-523a-9362-3346bfdc8329", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ] }, "deny": { "from": [], "to": [] } } ], "subType": "annotation", "status": "pending", "type": "non-binding", "version": "" }, { "id": "3cf8233a-bf05-4913-a341-13919bc13515", "evaluationQuery": null, "kind": "edge", "metadata": { "description": "", "isAnnotation": false, "styles": { "primaryColor": "", "svgColor": "", "svgWhite": "" } }, "model": { "displayName": "Meshery Shapes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "0.7.2" }, "name": "meshery-shapes", "registrant": { "kind": "meshery" }, "version": "v1.0.0" }, "schemaVersion": "", "selectors": [ { "allow": { "from": [ { "id": "01d599b5-f566-523a-9362-3346bfdc8329", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ], "to": [ { "id": "7e208a72-eab9-598f-86aa-ac000472a3a4", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ] }, "deny": { "from": [], "to": [] } } ], "subType": "annotation", "status": "pending", "type": "non-binding", "version": "" }, { "id": "bbf3361c-586e-4e7b-b00b-77e248b13c63", "evaluationQuery": null, "kind": "edge", "metadata": { "description": "", "isAnnotation": false, "styles": { "primaryColor": "", "svgColor": "", "svgWhite": "" } }, "model": { "displayName": "Meshery Shapes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "0.7.2" }, "name": "meshery-shapes", "registrant": { "kind": "meshery" }, "version": "v1.0.0" }, "schemaVersion": "", "selectors": [ { "allow": { "from": [ { "id": "01d599b5-f566-523a-9362-3346bfdc8329", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ], "to": [ { "id": "2aed154f-3dd7-52d2-abc3-dff7943d79a7", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ] }, "deny": { "from": [], "to": [] } } ], "subType": "annotation", "status": "pending", "type": "non-binding", "version": "" }, { "id": "da5084f8-4443-4ac8-9d88-30d138b4aa83", "evaluationQuery": null, "kind": "edge", "metadata": { "description": "", "isAnnotation": false, "styles": { "primaryColor": "", "svgColor": "", "svgWhite": "" } }, "model": { "displayName": "Meshery Shapes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "0.7.2" }, "name": "meshery-shapes", "registrant": { "kind": "meshery" }, "version": "v1.0.0" }, "schemaVersion": "", "selectors": [ { "allow": { "from": [ { "id": "01d599b5-f566-523a-9362-3346bfdc8329", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ], "to": [ { "id": "5b603161-b00b-59b8-a679-c703d0d15812", "kind": "*", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "*", "registrant": { "kind": "" }, "version": "" }, "patch": null } ] }, "deny": { "from": [], "to": [] } } ], "subType": "annotation", "status": "pending", "type": "non-binding", "version": "" } ] }