Heather--
You received this message because you are subscribed to the Google Groups "total-impact-dev" group.
To post to this group, send email to total-im...@googlegroups.com.
To unsubscribe from this group, send email to total-impact-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/total-impact-dev?hl=en.
functional_tests and load_tests should really be merged where possible.
It seems we have lost query_type from members?
Is there a reason for moving the cache settings? Is this as some providers will need to have cache disabled?
And it looks like we've going with aliases calling get_aliases_for_id on each of the alias items (similar for metrics, etc). I think that's probably going to be useful for a number of providers.
Looks good to merge. I think the only real thing I'm going to have to change is the developers doc for providers. They'll probably need to grow a bit to encompass the additional structure, but that should be quick.
functional_tests and load_tests should really be merged where possible.
yes agreed. I'd started on my refactor of functional_tests before I noticed load_test (maybe was on a branch I didn't look at), and I haven't had a chance to go think about how to combine yet.
Is there a reason for moving the cache settings? Is this as some providers will need to have cache disabled?
The reason was so that an individual call could have its cache disabled... if it is a config parameter, the asynchronous nature seems to me that we don't know exactly what is cached and what isn't. That means that we need a whole uncached instance of ti backend to do uncached tests, which I'd rather avoid. Passing in the cache settings to the provider methods themselves works around this.I'm not 100% sold on this approach and in a few places my code for doing it is a bit ugly and in need of refactoring, so please suggest/make improvements if you see them!