scaffold_service
Generates a standards-compliant Spring Boot microservice scaffold from your specs, including REST, Kafka, Consul, JPA, logging, Dockerfile, and tests.
Instructions
Scaffold a new Comviva Spring Boot microservice following company standards (packaging, logging, Kafka, Consul config, error handling, OpenAPI). Returns a structured prompt that yields a complete file tree with full source for pom.xml, the application class, config beans, controllers, producers/consumers, entities, application.yml/bootstrap.yml, logback-spring.xml, Dockerfile, and tests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | HTTP port. | |
| notes | No | Anything else the generator should know (special integrations, naming, etc.). | |
| author | No | Author tag for class-level JavaDoc. | |
| entities | No | ||
| description | Yes | What the service does, in 1-3 sentences. | |
| kafkaTopics | No | ||
| serviceName | Yes | Service name, lowercase. Used for artifactId, root package, application class name. | |
| capabilities | Yes | Which features the service needs. Each capability pulls in the appropriate dependencies, packages, and boilerplate. | |
| restEndpoints | No |