Commit Graph

3 Commits

Author SHA1 Message Date
Nicolas JUHEL
573af6ce3a Package AWS :
- Config Model : add a config model with a golib RouerStatus Config Model to use a AWS connection for API with a request status health check
  - Config Interface : add function GetAccessKey to retrieve the accesskey value currently used into the current connection
  - function Walk (Object, version, ...) : fix bug with pointer of string not initialized

Package Config :
  - interface Component : add status router pointer into the Init function to allow used a global router status for all component status registration as router status component

Package Status :
  - move Status Config as an sub package of Package Status

Package Errors :
  - add CamelCase const

Package Logger :
  - fix following bump dependencies

Global :
  - bump dependencies
  - change init of errors files : change function never call vy panic to prevent an error code collision
2022-09-13 12:31:04 +02:00
Nicolas JUHEL
90ceb19d2f - Chg :
- Package AWS : extend aws helper to manage accessKey
	- Package Cobra : refactor configure function to allow use independant part of the command
	- Package ldap : fix error
	- Package config
		- interface : add shutdown method
		- components:
			- request : syntax error in default json
			- mail : syntax error default json
			- ldap :
				- allow to access loaded config
				- mutex lock circular
			- tls : allow to access loaded config
	- Package request :
		- add error managment
		- fix error with circular mutex
		- fix bug with empty response body
		- fix some other errors
	- Package status : default label in component default config
	- Bump dependancies
	- Bump yaml to v3 (in waiting fix for CVE-2022-28948)
	- force dependancies gogo/protobuff to v1.3.2+
2022-07-25 16:00:36 +02:00
Nicolas JUHEL
2435b773de Package Request :
- Add features to integer package Status
- Add features to allow overwrite the default status info func
- Change context params as internal function context given
- Add new param to set the func context
- Add func to set function context

Package config :
- Fix the min value for ErrorCode in Head component
- Add LDAP component for LDAP package
- Add Request component to Request package

Change / Fix :
- Bump Go to release 1.18
- Bump dependancies

TODO (in next work) :
- implement generic function (go 1.18) to simplify and reduce redondant code
- refactor package LDAP to be more compliant with other package structure
2022-04-07 04:04:41 +02:00