[Feature]: Implement external platform handlers #2

Open
opened 2024-11-18 14:42:07 -03:00 by anavarro · 0 comments
Member

Type of Feature

New Feature

Description

Create a new standard node called "EXTERNAL_PLATFORM", that acts as a briedge between the platform and the library

Completion criteria

  • Create standard node "EXTERNAL_PLATFORM"
  • Update "COLLECTION" standard node so it needs to have at least 1 relation to "EXTERNAL_PLATFORM"
  • Create the "default" collection on _"EXTERNAL_PLATFORM" creation and relate them
  • Update "Node" so it needs to be in at least 1 collection ("default" collection by default)
  • Create the ExternalPlatformClass interface with the following methods:
    • CRUD collection to platform API
    • CRUD node to platform API
    • Search a node in the platform
  • Use the ExternalPlatformClass to create the following standard methods
    • Fetch data from platform and insert them into the database
    • Push data from the database to the platform

Additional Information

To Be Defined:

  • Do bulk operations to reduce calls to the external platforms. If the platform doesn't support them, then the user can do a foreach on the operations to handle individual transactions
    • This mean for example: Pass a list of nodes to create instead of create 1 node at a time
### Type of Feature ✨ New Feature ### Description Create a new standard node called _"EXTERNAL_PLATFORM"_, that acts as a briedge between the platform and the library ### Completion criteria - [x] Create standard node _"EXTERNAL_PLATFORM"_ - [ ] Update _"COLLECTION"_ standard node so it needs to have at least 1 relation to _"EXTERNAL_PLATFORM"_ - [x] Create the "default" collection on _"EXTERNAL_PLATFORM" creation and relate them - [ ] Update _"Node"_ so it needs to be in at least 1 collection ("default" collection by default) - [ ] Create the `ExternalPlatformClass` interface with the following methods: - CRUD collection to platform API - CRUD node to platform API - Search a node in the platform - [ ] Use the `ExternalPlatformClass` to create the following standard methods - Fetch data from platform and insert them into the database - Push data from the database to the platform ### Additional Information To Be Defined: - Do bulk operations to reduce calls to the external platforms. If the platform doesn't support them, then the user can do a `foreach` on the operations to handle individual transactions - This mean for example: Pass a list of nodes to create instead of create 1 node at a time
anavarro added this to the v0.1.0 - [E]TL milestone 2024-11-18 14:42:07 -03:00
anavarro added the
Priority
High
Severity
High
Type
Feature
Status
Accepted
labels 2024-11-18 14:42:07 -03:00
anavarro self-assigned this 2024-11-18 14:42:07 -03:00
aleidk was assigned by anavarro 2024-11-18 14:42:07 -03:00
anavarro started working 2024-11-18 14:42:21 -03:00
anavarro stopped working 2024-12-04 09:03:17 -03:00
2 weeks 1 day
This repository is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Total time spent: 2 weeks 1 day
anavarro
2 weeks 1 day
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: alecodes/synchronizator-go#2
No description provided.