This base class now provides centralized boilerplate versions of the most common REST methods so that subclasses can just use those if they don't need anything special. Previously it only supported GET but this adds POST, PATCH, PUT, DELETE.
1.1.2
Very high-level and raw interface to GET operations in the Metrics section of the OpsRamp API. Have a look at samples/metrics_get.py for some examples of the sort of URLs that this expects and study the OpsRamp documentation on Metrics to work out your own patterns.
The OpsRamp metrics API is very oddly laid out, with a mix of URL styles and naming conventions. It is what it is for the moment but I hope to add a sensible representation of it under the Tenant class in a future version.
1.1.1
Move get() back into the ApiWrapper class to restore backwards compatibility. It's not OpsRamp-specific so it doesn't need to be in the ORapi class.
1.1.0
This restructures the base classes and many of the unit tests, but it should be invisible to users of the module except that the ApiWrapper class no longer has a "get()" function. It should never have had one architecturally and the only caller code change needed might be obj.api.get() instead of obj.get()
1.0.7
The low-level Api* classes in base.py are being used by some other projects (because they have useful network error handling and rety capabilities built in) and one of those has made a request for PATCH support to be added, so here is it. The OpsRamp API doesn't use PATCH very much which is why we haven't needed it so far.