Refactor things so the influxdb resource is a 'container' of subresources.  This is still a bit clunky and could be aa lot cleaner with some overhaul of ther engine system (with global registry, for instance).