-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ID-39] WebTools events handling (#41)
* in progress * in progress * in progress * in progress * in progress * fix * Better files names * Update legacy event entity * Fix build * Disable load events for now. * ResponseWS is renamed to WebToolsEvent * Add events bb adapter * Use the model struct * Use env variable * Hook up events bb adapter * Load legacy events from events BB * Move the logger in the adapter * Define legacy event item * Add index * Do not start if the initial import fails * Prepare the events which will be stored * Import initial events - in progress * Import initial events - in progress * Fix dependencies issues * Add bson tag * Add global configs collection * Prepare webtools convertion * Prepare construct legacy events * Prepare for processing * Fix build * Implement global configs storage functions * Import happens in transaction * Initial import happens only once * Add timer * Fix lint issue * in progress * in progress * Cover legacy locations * hardcode the locations * in progress * in progress * set in transaction * Do not execute the timer on startup * Grouped by entities * More organised code * Enable function by function when we need it - step by step * Split the code in functions * Split the code.. * Better log * Better naming * Revert the name to WebToolsResponse * Simplify loading the events * Remove commented code * Do not commit dev commented code * Clean up * Add algorithm * Add algorithm - part 2 * in progress * in progress * fix * Add comment 1 * Add comment 2 * Add comment 3 * in progress * in progress * remove comments * delete from the database * in progress * in progress * store the legacy events * fix lint issue * Do not commit dev comments * Skip if there is no identifier * Count unique item * there are a lot of duplicate items, so we need to fix them * We always should have an identifier * Use the transaction correctly * Add correct syncProcessSource * Convert from webtools to legacy events * Reuse code * Fix lint issue * set the docs * structure the API * Revert dev comments * Fix duplicate data * get the legacyEvents from storage * Fix created by * Fix date created and date modified * Remove unused code * Fix location * Dates in progress * Dates in rpogress * Fix dates * Fix dates * Revert dev code * get all Legacy Event and made apikey authentication * secrets * Use prefix * Fix lint issue * Fix lint issue * Do not pass null context * Fix various lint issues * Fix various lint issues * Do not put parasites * Fix build * What if error occured * this processing should happen in the core module, not here * You have an item field, do not recreate * Give appropriate names of the variables * Leave empty line as others * Add label * Use the correct header * API is not deprecated * secrets --------- Co-authored-by: Stefan Vitanov <[email protected]> Co-authored-by: Petyo Stoyanov <[email protected]> Co-authored-by: Mladen Dryankov <[email protected]>
- Loading branch information
1 parent
e620eef
commit bd0da3a
Showing
39 changed files
with
2,003 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.