Skip to content

Releases: konveyor/controller

Better logging.

16 Apr 14:44
10318be
Compare
Choose a tag to compare

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 a zap 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.

13 Apr 17:41
9ed4a6e
Compare
Choose a tag to compare

Add file-backed collections.
Use file-backed collection for staged watch events.

Fix TLS for watch websocket.

31 Mar 17:46
ac2fd4e
Compare
Choose a tag to compare

Fix TLS for (wss://) watch websocket by propagating the TLS configuration to the dialer.

Support watch on authenticated endpoints.

31 Mar 15:45
35e9180
Compare
Choose a tag to compare

Support watch on authenticated endpoints.
Add kvpair context passed through error.New().

Watch Enhancements.

29 Mar 18:52
8204fee
Compare
Choose a tag to compare

Watch Enhancements for both model and web layers.
Add Journal.Close() called by DB.Close() to end watches.

Inventory enhancements.

23 Mar 17:53
c2fa5a2
Compare
Choose a tag to compare

Fix detail level in initial watch list.
Container owner keyed by UID instead of namespace/name.

Error and inventory package enhancements.

18 Mar 18:49
ab5fc81
Compare
Choose a tag to compare

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.

10 Feb 16:07
3cc3bba
Compare
Choose a tag to compare

Minor condition and model watch enhancements.

02 Feb 14:12
aac97b8
Compare
Choose a tag to compare

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.

27 Jan 16:27
7ce031d
Compare
Choose a tag to compare

Improved Error Unwrap() support.
Improved model journal:

  • Greatly reduced risk of watch handler queue overflow.
  • Reduced memory memory footprint.