Closed Ingvord closed 5 years ago
Expected:
DEBUG 11:09:36.011 [main - ] o.t.c.database.cache.ServerCache.fillCache:234 - test/rest/0 device cache is DeviceCache[name=test/rest/0,propertiesCache={tango_access=none, tomcat_port=10001, tomcat_auth_config_class=Kerberos, tango_db=none},attributeCaches={}]
Please note tango_access, tomcat_port, tomcat_auth_config_class and tango_db
Actual output:
DEBUG 11:09:36.011 [main - ] o.t.c.database.cache.ServerCache.fillCache:234 - test/rest/0 device cache is DeviceCache[name=test/rest/0,propertiesCache={tango_access=[Ljava.lang.String;@790da477, tomcat_port=[Ljava.lang.String;@5c7933ad, tomcat_auth_config_class=[Ljava.lang.String;@57bc27f5, tango_db=[Ljava.lang.String;@5fb759d6},attributeCaches={}] DEBUG 11:09:36.011 [main - ] o.t.c.database.cache.ServerCache.fillCache:263 - servers {TangoRestServer/test=ServerCache.Server[devicesPerServer={TangoRestServer=[Ljava.lang.String;@5e7cd6cc}]}
Problem: Device properties are stored as String[] which is not properly handled i.e. Arrays.toString()
Arrays.toString()
Expected:
Please note tango_access, tomcat_port, tomcat_auth_config_class and tango_db
Actual output:
Problem: Device properties are stored as String[] which is not properly handled i.e.
Arrays.toString()