UNCLASSIFIED - NO CUI

Skip to content

Draft: Refactoring collector-template

abhayashrestha requested to merge template_refactor into master

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 package holocron and renaming database.DB to holocron.API.
  • Renaming package httpClient to package dataprovider, and having the client be renamed to dataprovider.Service.
  • Adding TODO fields for all the parts of the code that need implementation.
  • Changing SERVICE_URL to TARGET_URL in package config 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

Merge request reports

Loading