4 Commits

Author SHA1 Message Date
33d6bb7ebd Refactor AMO CRM Data Collection Service to use PostgreSQL
- Updated database configuration to switch from SQLite to PostgreSQL, including changes to alembic.ini, Docker Compose, and environment settings.
- Refactored application code to utilize PostgreSQL database adapters, ensuring compatibility with the new database structure.
- Enhanced API routes and data handling to support the new database, including adjustments in data models and query logic.
- Introduced new job processing mechanisms for full synchronization of AMO CRM entities, leveraging FastStream for background tasks.
- Improved logging and error handling across the application to facilitate better monitoring and debugging.
- Removed obsolete SQLite adapter files and migrations, streamlining the project structure for PostgreSQL integration.
2025-11-05 00:38:37 +03:00
df83bd64ce Add fixture data for AMO CRM integration
- Introduced JSON files for companies, contacts, deals, custom fields, events, pipelines, and users to facilitate testing and development.
- Each file contains structured data reflecting the AMO CRM API responses, enhancing the test coverage for the integration.
- This addition supports the ongoing development of the AMO CRM Data Collection Service, ensuring comprehensive testing scenarios.
2025-09-08 04:05:36 +03:00
d45fb4fac2 Integrate FastStream for background processing in AMO CRM Data Collection Service. Replaced Celery with FastStream and Redis for job management. Updated application structure to support asynchronous job handling, including export and synchronization tasks. Enhanced logging and error handling throughout the service. Added installation and startup scripts for FastStream services. 2025-09-08 04:05:25 +03:00
e1cf2d1695 Initialize AMO CRM Data Collection Service with FastAPI, SQLite, and Docker support. Added core application files, including API routes, database models, and configuration settings. Implemented AMO CRM API client for data fetching and established Docker setup for containerization. Included example environment files and initial test cases for API endpoints. 2025-09-08 03:30:22 +03:00