Service Architecture - The Art Register API
Overview
The Art Register API is built on a sophisticated service-oriented architecture with 27 distinct service modules, each handling specific domains of functionality. This document provides a comprehensive overview of all service modules, their purposes, and their interconnections.
Service Architecture Map
Core Service Modules (Primary)
1. πΊοΈ Maps Service
Purpose: Intelligent geospatial services and tour planning
Key Actions:
TourAction - AI-powered art tour planning (510 lines)
NearbyAction - Location-based discovery (18,374 lines)
DistanceAction - Precise distance and time calculations
KmlIndexAction - Geographic data export
Interconnections:
- Integrates with Google Maps API
- Provides data to Collekton and Exhibition services
- Supports Curator tour planning features
2. π¨ Collekton Service
Purpose: Primary art management and exhibition services
Key Actions:
ExhibitionAction - Exhibition management (901 lines)
ArtworkAction - Artwork management (32,982 lines)
ExhibitionFilterAction - Advanced filtering (29,501 lines)
SocialMetaDataAction - Social media integration
ContactAction - Visitor relationship management
StatAction - Analytics and reporting
Interconnections:
- Core data provider for all other services
- Integrates with Maps service for location features
- Provides data to Curator and Exhibition services
3. οΏ½οΏ½βπ¨ Curator Service
Purpose: Professional curator tools and exhibition management
Key Actions:
PublishAction - Exhibition publishing workflow (1,137 lines)
ExhibitionAction - Exhibition management (39,270 lines)
ArtworkAction - Artwork curation (17,035 lines)
LoginAction - Curator authentication
UnpublishAction - Exhibition unpublishing
Interconnections:
- Consumes data from Collekton service
- Integrates with CDN service for content delivery
- Provides publishing workflow for exhibitions
4. πΌοΈ Exhibition Service
Purpose: Specialized exhibition data management
Key Actions:
IndexAction - Exhibition listing and discovery
ViewAction - Exhibition detail views
ExistsAction - Exhibition validation
NearAction - Proximity-based discovery
WithMotiveAction - Thematic exhibition grouping
Interconnections:
- Consumes data from Collekton service
- Provides data to Maps service for location features
- Integrates with Motives service for categorization
5. π Transmogrifier Service
Purpose: Data transformation and integration
Key Actions:
TransformAction - Data format conversions
TransferObjectAction - Standardized data exchange
ZapAction - Automated data processing
ArtworkTO - Artwork transfer objects
Interconnections:
- Provides data transformation for all other services
- Integrates with external data sources
- Supports data import/export workflows
Specialized Domain Services
6. π¨ Artists Service
Purpose: Artist management and discovery
Key Actions:
- Artist profile management
- Artist relationship tracking
- Biographical data management
- Artist exhibition history
Interconnections:
- Provides artist data to Collekton service
- Integrates with Artworks service
- Supports exhibition curation workflows
7. πΌοΈ Artworks Service
Purpose: Artwork metadata and management
Key Actions:
- Artwork metadata management
- Image processing and optimization
- Artwork categorization and tagging
- Provenance tracking
Interconnections:
- Provides artwork data to all exhibition services
- Integrates with CDN service for image delivery
- Supports curator workflows
8. π Auth Service
Purpose: Authentication and authorization
Key Actions:
- Multi-level authentication
- Role-based access control
- Session management
- Security audit logging
Interconnections:
- Provides authentication for all services
- Integrates with Curator service for professional access
- Supports multi-tenant security
9. π CDN Service
Purpose: Content delivery optimization
Key Actions:
CacheAction - Content caching management
- Image optimization and delivery
- Global content distribution
- Performance monitoring
Interconnections:
- Provides content delivery for all services
- Integrates with Artworks service for image delivery
- Supports Curator publishing workflows
Utility Services
10. π± QR Code Service
Purpose: Dynamic QR code generation and tracking
Key Actions:
- Dynamic QR code generation
- Exhibition and artwork linking
- Visitor tracking and analytics
- Mobile app integration
Interconnections:
- Provides QR codes for exhibitions and artworks
- Integrates with visitor analytics
- Supports mobile app features
11. π§ Compass Service
Purpose: Navigation and orientation services
Key Actions:
- Navigation assistance
- Orientation services
- Directional guidance
Interconnections:
- Integrates with Maps service
- Supports tour planning features
12. π Tars Service
Purpose: Analytics and reporting
Key Actions:
- Data analytics
- Reporting generation
- Performance metrics
Interconnections:
- Consumes data from all services
- Provides analytics to Curator service
- Supports business intelligence
Request Management Services
13. π Artwork Requests Service
Purpose: Artwork request management
Key Actions:
- Request processing
- Status tracking
- Communication management
Interconnections:
- Integrates with Artworks service
- Supports visitor engagement
14. π Info Requests Service
Purpose: Information request management
Key Actions:
- Information request processing
- Response management
- Communication tracking
Interconnections:
- Integrates with Exhibition service
- Supports visitor services
15. π¬ Research Requests Service
Purpose: Research request management
Key Actions:
- Research request processing
- Academic collaboration
- Knowledge sharing
Interconnections:
- Integrates with Artists and Artworks services
- Supports academic partnerships
Specialized Features
16. π― Motives Service
Purpose: Artwork categorization and themes
Key Actions:
- Thematic categorization
- Motive management
- Artistic movement tracking
Interconnections:
- Provides categorization for Artworks service
- Integrates with Exhibition service for thematic grouping
17. ποΈ Projects Service
Purpose: Project management and collaboration
Key Actions:
- Project tracking
- Collaboration management
- Timeline management
Interconnections:
- Integrates with Curator service
- Supports exhibition planning
18. π¨ Colin Service
Purpose: Specialized art management features
Key Actions:
- Custom art management features
- Specialized workflows
- Integration features
Interconnections:
- Integrates with core services
- Provides specialized functionality
19. πΊοΈ Geofences Service
Purpose: Geographic boundary management
Key Actions:
- Geographic boundary definition
- Location-based triggers
- Area management
Interconnections:
- Integrates with Maps service
- Supports location-based features
20. π Libs Service
Purpose: Library and reference management
Key Actions:
- Reference material management
- Documentation handling
- Knowledge base management
Interconnections:
- Provides reference data to other services
- Supports research and curation
Legacy and Specialized Services
21. πΈ August Sander Service
Purpose: Specialized photography management
Key Actions:
- Photography-specific features
- Image management
- Historical photography support
Interconnections:
- Integrates with Artworks service
- Provides specialized photography features
22. π AS10K Service
Purpose: Specialized search and discovery
Key Actions:
- Advanced search capabilities
- Discovery algorithms
- Content recommendation
Interconnections:
- Provides search functionality to all services
- Integrates with recommendation engines
23. π¨ Artists Lookup Service
Purpose: Artist discovery and lookup
Key Actions:
- Artist search and discovery
- Name matching and disambiguation
- Artist database management
Interconnections:
- Integrates with Artists service
- Provides lookup functionality
24. π₯ People Service
Purpose: People management and relationships
Key Actions:
- People profile management
- Relationship tracking
- Contact management
Interconnections:
- Integrates with Artists service
- Supports visitor management
25. π¨ Wall Artwork Service
Purpose: Wall-mounted artwork management
Key Actions:
- Wall artwork placement
- Spatial arrangement
- Installation management
Interconnections:
- Integrates with Artworks service
- Supports exhibition design
26. π¨ Directions Service
Purpose: Direction and navigation services
Key Actions:
- Direction calculation
- Route optimization
- Navigation assistance
Interconnections:
- Integrates with Maps service
- Supports tour planning
27. π¨ Auth Check Service
Purpose: Authentication validation
Key Actions:
- Token validation
- Permission checking
- Access control
Interconnections:
- Integrates with Auth service
- Provides validation to all services
Service Communication Patterns
Request Flow
- Client Request β API Gateway
- Authentication β Auth Service
- Request Routing β Appropriate Service Module
- Business Logic β Service Action Classes
- Data Access β Model Layer
- Response Generation β Client
Data Flow
- Collekton Service β Primary data source
- Specialized Services β Domain-specific processing
- Transmogrifier Service β Data transformation
- CDN Service β Content delivery
- Maps Service β Location features
Integration Patterns
- Synchronous: Direct service-to-service calls
- Asynchronous: Event-driven processing
- Caching: Redis-based performance optimization
- Multi-format: JSON, XML, KML response formats
Service Complexity
- Most Complex: Collekton Service (32,982 lines in ArtworkAction)
- Most Sophisticated: Maps Service (18,374 lines in NearbyAction)
- Most Critical: Curator Service (39,270 lines in ExhibitionAction)
Interconnection Density
- High: Collekton, Maps, Curator services
- Medium: Exhibition, Artworks, Artists services
- Low: Utility and specialized services
Future Architecture Evolution
Planned Improvements
- Microservices Migration: Decompose large services
- Event-Driven Architecture: Asynchronous processing
- API Gateway: Centralized request management
- Service Mesh: Advanced service communication
- GraphQL: Flexible data querying
Scalability Considerations
- Horizontal Scaling: Load balancing across services
- Database Sharding: Distributed data storage
- Caching Strategy: Multi-level performance optimization
- CDN Integration: Global content delivery
This service architecture represents the current state of The Art Register API. The system continues to evolve with new services and capabilities being added regularly.