The [[OnmsServer]] being connected to by this DAO.
Search for services, given an optional filter.
Finds the values for the given propertyId, if it exists.
The propertyId to find the values for
Optional
options: anySome additional options. May be implementer dependent, such as limit, or value restrictions
A promise containing the values.
Get monitored service, given the service's ID.
The service's ID.
Protected
getRetrieve the API version from the currently configured server.
Protected
getA convenience method to make it easy for implementers to extract the count (or totalCount) values from response data.
Optional
status: numberReturns the Promise for a [[IFilterProcessor]].
Protected
getCreate an [[OnmsHTTPOptions]] object for DAO calls given an optional filter.
Returns or creates a cache of properties for this dao.
the cache for this dao. It is created if it does not exist.
Protected
onProtected
parseFetches the data from the result and verfifes that the dataFieldName
exists in the data property.
If it does not exist, an exception is thrown.
The result to fetch the data from
The property name (basically result.data[dataFieldName]
.
The path where the result was fetched from. This is for error handling
Callback function to convert each entry from result.data[dataFieldName]
.
Get the list properties that can be used in queries.
Gets the property identified by the id if it exists.
The id to search the property by.
Protected
searchThe path to the service search properties endpoint.
Protected
toConvert the given value to a date, or undefined if it cannot be converted.
use Util.toDate instead.
Protected
toConvert the given value to a number, or undefined if it cannot be converted.
use Util.toNumber instead.
Protected
useWhether or not to use JSON when making ReST requests.
Protected
visit"visits" a filter clause, applying it to the filter visitor
the clause to visit
the visitor impl to invoke
Protected
visitIterate over a Filter object and its children.
the filter to visit
the class to invoke while visiting the filter
Data access for [[OnmsMonitoredService]] objects.