*DO NOT USE* Release v1.10.0
Pre-releaseA problem has been found that means you should not use geneos
from this release. Update coming soon.
Change Log
Version v1.10.0
Released 2023-10-25
Please report issues via github or the ITRS Community Forum.
v1.10.0 Fixes
-
pkg/config
The
Sub()
methods will now return an empty Config struct and not nil if the key is not found. This is a divergence from viper.The non-global
GetSliceStringMapString
method returned values from the global config object. Found while implementing changes to noe use embedded viper, see below. -
pkg/geneos/netprobe
Updates to the structs to produce valid XML when rendered as XML through the Go xml package.
-
tools/geneos
-
Do not automatically try to
rebuild
component config files if thesetup
parameters is to a remote configuration. -
Fix the
show -s
command to read instance configurations from their potentially remote host and not localhost. -
Add a 250ms delay after starting an instance to allow for the process to fully start and update OS args so that the
GetPID
call works more often and can report the successful start-up.
-
v1.10.0 Changes
-
pkg/config
Potential API Changes - to allow safer concurrent access to the underlying viper configuration objects the original embedded viper instance in the Config struct has been promoted to be named as
Viper
. This removes access to embedded methods and the intermediate methods have been updated to use a RWMutex around every call to viper. This however means that not all viper methods are transparently available and new shims have been added for the most common ones found. If dependent code now fails to compile because of missing methods they will need to be added toconfig.go
along with the appropriate mutex wrappers.Added a
WatchConfig()
option to enable auto-reloading final config files found duringLoad()
. Note thatWatchConfig
is not concurrency safe. This may change if we implement our own callback. -
tools/geneos
-
Add "glob" style wildcard support for instance names (and names only, not remote hosts) to most command. This should always be used with quoting to avoid shell expansion. This allows commands line
geneos start gateway 'LDN*'
and so on. Also add support tomove
andcopy
to act on multiple wildcarded sources as long as the destination is a@HOST
. -
Some instance configuration parameters are no tested for the instance
home
path and this is replaced with${config:home}
so that moves and copies have paths auto updated. This include certificates, keys and set-up files. -
Lower the auto-generated
instance.setup.xml
Gateway include file priority value so it is loaded before other typical includes. -
For Gateway and SAN change default parameters
gatewayname
andsanname
respectively to usename
in anGetString
expansion. This makes the parameters auto-update if the instance name changes (for example usingmove
orcopy
) until and unless the user sets a fixed name. -
Remove the
-setup-interval
from SAN command lines (which was using the default anyway) to allow it to be overridden in theoptions
parameter.
-