Using the REST API UI I am trying to get a list of items in a persistence service, but the body is empty.
GET/persistence correctly returns the two services I have - mapdb and rrd4j
GET /persistence/items/{itemname} also correctly returns values - I have tried several items and they all seem to work.
but GET /persistence/items always just returns an empty body - [] - for a serviceId of empty, mapdb or rrd4j
If I use a non valid serviceId, it returns an error as expected.
If I remember correctly (it’s been a while since I wrote this ) HABmin detects if the persistence is OH1 or OH2 and if it’s an OH1 service it uses the list of all items. If it’s OH2, then it uses the persistence API to get the list of items from the persistence service.
No - not at the moment. I wrote a reference implementation of H2 SQL, but it’s still being discussed about how want to configure the database for ESH…