Draft: Refactoring collector-template
README changes:
- Made README very basic and straightforward.
Go Code changes:
- Refactoring the utils folder to have an Client interface which will need N instnaces of creation for new faster collection logic.
- Renaming package
database
to packageholocron
and renamingdatabase.DB
toholocron.API
. - Renaming package
httpClient
to packagedataprovider
, and having the client be renamed todataprovider.Service
. - Adding TODO fields for all the parts of the code that need implementation.
- Changing
SERVICE_URL
toTARGET_URL
in packageconfig
to be more aligned with the documentation.
JavaScript (cypress) changes:
- Adding TODO for cypress test fields that need modification, and changing the cypress test to be a bit more generic to say collector targets instead of a particular collector target.
- Removing unnecessary dependencies in package.json.
Edited by abhayashrestha