CloudyKangaroo / puppet-cloudykangaroo

Service Provider Management w/Sensu, Puppet and Ubersmith
http://cloudykangaroo.github.io/cloudykangaroo/
MIT License
4 stars 5 forks source link

API calls seem to be cached #69

Closed ezrast closed 10 years ago

ezrast commented 10 years ago

/api/v1/ubersmith/tickets returns data that appears to have been accurate two days ago. Querying for individual tickets seems to be accurate the first time and invariable after that. I assume something is caching something it shouldn't.

johann8384 commented 10 years ago

The API calls are indeed cached, and the caching code is currently pretty half-baked. I've spent some time on this over the weekend and will post a commit here when I have this ironed out.