Closed mit-27 closed 4 months ago
@mit-27 is attempting to deploy a commit to the Panora Team on Vercel.
A member of the Team first needs to authorize it.
Latest commit: 66aedfb2f278bb5760181c9350de2fa0aa12f07a
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The recent updates focus on enhancing the synchronization feature across various modules and services within the project. Key changes include integrating the CoreSyncService
for initial synchronization, updating error handling in utility functions, and modifying the API reference documentation. Additionally, the connector update script has been refined, and the GitlabCommentMapper
class has been improved for better handling of user and ticket IDs.
File Path | Change Summary |
---|---|
.../connections.controller.ts |
Integrated CoreSyncService for initial sync, updated handleCallback method, added logging and redirect. |
.../connections.module.ts |
Added new modules for CRM, ticketing, and syncing services, included CoreSyncService provider. |
.../sync/sync.service.ts |
Added initialSync method, updated getSyncStatus method, imported necessary services and types. |
.../ticketing/@lib/@utils/index.ts |
Modified error handling logic for tcg_contact retrieval. |
.../utils/types/original/original.ticketing.ts |
Updated type declarations for OriginalAccountInput , OriginalCollectionInput , etc. |
docs/api-reference/introduction.mdx |
Updated base URL information, changed tab title from "US Servers" to "Cloud," removed "EU Servers" tab. |
scripts/connectorUpdate.js |
Updated variable names and file paths for connectors. |
.../ticketing/comment/services/gitlab/mappers.ts |
Updated assignment of opts with user_id and ticket_id in GitlabCommentMapper class. |
sequenceDiagram
participant Client
participant ConnectionsController
participant CoreSyncService
participant CRMService
participant AccountingService
participant MarketingAutomationService
participant TicketingService
Client ->> ConnectionsController: handleCallback()
ConnectionsController ->> CRMService: await crmService.handleCallback()
ConnectionsController ->> AccountingService: await accountingService.handleCallback()
ConnectionsController ->> MarketingAutomationService: await marketingAutomationService.handleCallback()
ConnectionsController ->> TicketingService: await ticketingService.handleCallback()
ConnectionsController ->> CoreSyncService: initialSync()
CoreSyncService ->> Database: Sync Data
CoreSyncService -->> ConnectionsController: Sync Complete
ConnectionsController -->> Client: Redirect with status
Objective | Addressed | Explanation |
---|---|---|
Initial sync should trigger after connection creation (#431) | ✅ | |
Maintain sync order based on object associations (#431) | ✅ |
In the code where sync does dance, We’ve made enhancements, took a chance. With services now in perfect tune, Data flows like a gentle monsoon. Bugs are squashed, the sync is bright, Our codebase shines in the moonlight. 🌙
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Implemented Changes