Repository navigation
Backstage: full entity graph (APIs, dependencies, subcomponents) - #96
Merged
Merged
Conversation
…nents) Expand catalog-info.yaml from a single Component into the real graph, all code-backed: - providesApis: rolehunter-api (API entity with a representative OpenAPI spec drawn from src/app/api route handlers). - consumesApis: anthropic-api, google-gemini-api, openai-api, jsearch-api, linkedin-jobs-api (external API entities; src/lib/llm/* and src/lib/jsearch /linkedin). - dependsOn components: ollama (local LLM runtime, src/lib/llm via ollama SDK). - dependsOn resources: rolehunter-db (Postgres 16 + pgvector) and rolehunter-uploads (Docker uploads volume). - subcomponents (subcomponentOf: rolehunter): rolehunter-web (Next.js UI, src/components), rolehunter-scheduler (node-cron, src/lib/scheduler), rolehunter-pdf (Playwright, src/lib/pdf). 13 entities total. Each kind validated against the live freundcloud catalog via the Backstage MCP (isValid: true); full file parses as 13 YAML documents. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expands
catalog-info.yamlfrom a single Component into the complete, code-backed relation graph requested for the Backstage portal.Entities (13)
Main —
rolehunter(service) now declares:providesApis: [rolehunter-api]consumesApis: [anthropic-api, google-gemini-api, openai-api, jsearch-api, linkedin-jobs-api]dependsOn: [component:ollama, resource:rolehunter-db, resource:rolehunter-uploads]Subcomponents (
subcomponentOf: rolehunter) — so the main component has subcomponents:rolehunter-websrc/components/**, App Router UIrolehunter-schedulersrc/lib/scheduler, node-cronrolehunter-pdfsrc/lib/pdf, PlaywrightProvided API —
rolehunter-api(openapi) with a representative spec drawn from the realsrc/app/apiroute handlers (jobs, match, applications, cv/rewrite, gaps, health…).Consumed APIs (external) — Anthropic (
src/lib/llm/claude.ts), Gemini (gemini.ts), OpenAI (skill-classify.ts), JSearch/RapidAPI (src/lib/jsearch), LinkedIn (src/lib/linkedin). Modeledtype: openapiwith a minimal definition + docs link (no fabricated full specs).Depended-on component —
ollama(local LLM runtime, via theollamaSDK insrc/lib/llm).Resources —
rolehunter-db(PostgreSQL 16 + pgvector, composedb) androlehunter-uploads(Docker uploads volume).Verification
isValid: true).TechDocs & Catalogre-runs the RoadieHQ entity validator on this change.🤖 Generated with Claude Code