tazama-lf / tms-service

1 stars 3 forks source link

TMS - Abstraction and standardisation of environment variables #254

Open Sandy-at-Tazama opened 1 week ago

Sandy-at-Tazama commented 1 week ago

EPIC https://github.com/tazama-lf/frms-coe-lib/issues/186

https://github.com/tazama-lf/docs/blob/dev/Research-Articles/Encapsulation-of-environment-variables.md

Acceptance criteria

Third party services :(db ( arango, redis, nodecache ), logging, apm)

  1. Ensure each third party service object instantiation includes validation
  2. Move third party services configuration to frmscoe-lib
  3. Refactor constructor for APM and Logging class
  4. Refactor Factory function of database manager CreateDatabaseManager
  5. For processor based trigger validation as early as possible
  6. Allow additional environment variables to be sent in as arguments array of object is recommended
  7. The processor based validation is expected to be returning all processor based and additional environment variables
  8. Export this configuration for global use within the processor. (in a similar fashion as logging service, db service)
  9. Document new changes
  10. Ensure unit test coverage is still maintained
  11. Test with Full stack docker after adding new changes for all services while still in feature branch