How antmark17/picus-walking-skeleton works
PICUS is a modular-monolith web application for coordinating OPT service requests with suitable providers, managing appointments, and reporting completed activity. The principal workflow runs from request submission and Banco processing through provider matching, proposal decisions, appointment coordination, and activity reporting; catalog, offers, territory, identity, and operator data support these stages. The README documents the broader MVC and persistence architecture. Source excerpts confirm key matching and reporting integrations; unsampled subsystem links are omitted or marked unverified rather than inferred.
Main entry points: MatchingService.java Provider matching · QuarterlyReportService.java Quarterly reports · web MVC interface · RequestLifecycleService.java Request lifecycle
Components 20
Web and identity
- MVC interface
src/main/java/it/picus/requests/web - Identity and roles
src/main/java/it/picus/identity/infrastructure
Request coordination
- Request lifecycle
src/main/java/it/picus/requests/application/RequestLifecycleService.java - Provider matching
src/main/java/it/picus/matching/application/MatchingService.java - Proposals
src/main/java/it/picus/requests/application/ProposalQueryService.java - Appointments
src/main/java/it/picus/requests/application/AppointmentQueryService.java - Activity records
src/main/java/it/picus/requests/application/ProviderActivityQueryService.java
Provider supply
- Provider offers
src/main/java/it/picus/providers/application/ProviderOfferService.java - Candidate sources
src/main/java/it/picus/matching/application/ProviderCandidateSource.java - Ranking policy
src/main/java/it/picus/matching/domain/ProviderRankingPolicy.java
Reporting
- Quarterly reports
src/main/java/it/picus/reporting/application/QuarterlyReportService.java - OPT statistics
src/main/java/it/picus/reporting/application/OptStatisticsService.java - Report export
src/main/java/it/picus/reporting/infrastructure/export/DefaultQuarterlyReportExporter.java
Reference data
- Measure catalog
src/main/java/it/picus/catalog/application/CatalogService.java - Territory
src/main/java/it/picus/territory/application/TerritoryService.java - OPT organizations
src/main/java/it/picus/organizations/infrastructure/InMemoryOrganizationLookup.java - Operator directory
src/main/java/it/picus/operators/application/OperatorDirectoryService.java
Other components
- Browser users
- Shared persistence
- Remote PICUS
Connections 26
- Browser users → MVC interface: uses
README.md - MVC interface → Identity and roles: secured by
README.md - MVC interface → Request lifecycle: exposes workflows
README.md - MVC interface → Quarterly reports: exposes reports
README.md - Request lifecycle → Provider matching: requests candidates
- Provider matching → Measure catalog: checks measure
src/main/java/it/picus/matching/application/MatchingService.java - Provider matching → Territory: checks geography
src/main/java/it/picus/matching/application/MatchingService.java - Provider matching → Candidate sources: queries sources
src/main/java/it/picus/matching/application/MatchingService.java - Provider matching → Ranking policy: ranks candidates
src/main/java/it/picus/matching/application/MatchingService.java - Provider matching → Appointments: checks workload
src/main/java/it/picus/matching/application/MatchingService.java - Provider matching → Proposals: checks search history
src/main/java/it/picus/matching/application/MatchingService.java - Candidate sources → Provider offers: reads offers
- Candidate sources → Remote PICUS: may query fallback
- Proposals → Appointments: accepted assignment
- Appointments → Activity records: records completion
README.md - Quarterly reports → Activity records: imports completed activity
README.md - Quarterly reports → Operator directory: uses operator directory
src/main/java/it/picus/reporting/application/QuarterlyReportService.java - Quarterly reports → Report export: exports reports
README.md - Quarterly reports → OPT statistics: supports statistics
- Identity and roles → Shared persistence: stores accounts
README.md - Measure catalog → Shared persistence: persists catalog
README.md - Territory → Shared persistence: persists territory
README.md - Provider offers → OPT organizations: validates organization
src/main/java/it/picus/providers/application/ProviderOfferService.java - Provider offers → Territory: validates location
src/main/java/it/picus/providers/application/ProviderOfferService.java - Quarterly reports → Shared persistence: stores reports
README.md - Request lifecycle → Shared persistence: stores workflow
README.md