The Catalog Service (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Nelsoncg98/InnovaTech/llms.txt
Use this file to discover all available pages before exploring further.
servicio-catalogo) is the authoritative source of product data in InnovaTech SOA. It stores and manages product definitions — including names, descriptions, prices, and categories — in a MongoDB database, making it well-suited for the flexible, document-oriented nature of product catalogs where attributes vary between product types. All catalog endpoints are accessible to clients through the API Gateway at the /api/v1/catalogo/** namespace, and the service also generates a fully interactive Swagger UI for local development and testing.
Base Path
Access the Catalog API through the gateway during normal operation:Interactive Documentation
The catalog service uses SpringDoc OpenAPI 2.3.0 to generate API documentation automatically from its controller annotations. No manual specification maintenance is required — the docs always reflect the live codebase.| Resource | URL |
|---|---|
| Swagger UI (browser) | http://localhost:8084/swagger-ui.html |
| OpenAPI JSON spec | http://localhost:8084/api-docs |
Data Store
The catalog service connects to MongoDB using the databaseinnovatech_catalogo. Product documents are schema-flexible by design, but typical fields include:
| Field | Description |
|---|---|
nombre | Product display name |
descripcion | Full product description |
precio | Unit price |
categoria | Product category or classification |
application.yml:
The MongoDB instance used by this service is started via
docker-compose from the project root. Ensure the container is running before starting the catalog service, or connections will be refused on startup.Running the Service
Start the catalog service locally from the project root:8084. Once running, the Swagger UI at http://localhost:8084/swagger-ui.html becomes available immediately and lists all endpoints with their current request/response contracts.
The full list of catalog endpoints — product creation, retrieval, update, and deletion — is available exclusively through the Swagger UI at
http://localhost:8084/swagger-ui.html. The catalog service is maintained by the catalog team and its endpoint contracts are auto-documented directly from source code, ensuring the Swagger UI is always up to date.