Releases: konveyor/controller
Better logging.
Add logger to many objects.
Strategic add of logging statements.
Add context to wrapped/returned error
.
The log level approach:
- Level=0-2 not used by the lib. reserved for applications.
- Level=3 for: basic
info
logging for high level things created/deleted opened/closed. - Level=4 for: basic
debug
. has a lot of detail but relatively low numbers - Level=5 for: low level
debug
. high volume changes like watch events and filebacked read/write.
Added an id
to both model.Watch
and both model.Event
and web.Event
for better tracability.
Fixed a bug in the ref
package for references watches. The handler needed to filter for by reference owner type.
Fixed a bug .fb files leaked when an iterator is closed but never read. Also added a finalizer so GC iterators will be closed and hard-link deleted. Use case for this would be: iter is written to a channel but the watch is terminated before the channel is drained.
Few changes to the logging.Logger. Mainly:
- changed to pointer receiver.
- removed Logger.Reset(). More appropriate for the controller to just use .WithName() to reset the name as needed.
- Added a package
Factory
that creates azap
logger by default. Has support for environment variables for both developement mode and logging level. - Add true support for verbosity levels. 0-4 = Info, 4+ = debug.
Support file-backed collections.
Add file-backed collections.
Use file-backed collection for staged watch events.
Fix TLS for watch websocket.
Fix TLS for (wss://) watch websocket by propagating the TLS configuration to the dialer.
Support watch on authenticated endpoints.
Support watch on authenticated endpoints.
Add kvpair context passed through error.New().
Watch Enhancements.
Watch Enhancements for both model and web layers.
Add Journal.Close() called by DB.Close() to end watches.
Inventory enhancements.
Fix detail level in initial watch list.
Container owner keyed by UID instead of namespace/name.
Error and inventory package enhancements.
Updated error.Wrap() to accept additional context using key/value pairs.
The logging.Logger.Error()
integrates the additional Error context.
The consistency terminology has been replaced with parity in the inventory
package.
Support resource watching of REST resources.
Implement OCP (data) reconciler connection test.
Add OCP Reconciler.Test().
Minor condition and model watch enhancements.
Minor enhancements.
- Support serializing empty (nil) Conditions.
- Add support for model predicate values of type
Field
. - Add Started notification to the model watch
EventHandler
. - Add
SubEventHandler
for convenience.
Error and Model Enhancements.
Improved Error Unwrap()
support.
Improved model journal:
- Greatly reduced risk of watch handler queue overflow.
- Reduced memory memory footprint.