MCPcopy Create free account
hub / github.com/adobe/Marinus / ibloxOwner

Function ibloxOwner

web_server/public/javascripts/api.js:478–489  ·  view source on GitHub ↗

* Fetches the owner details. * @param type: The search type. IP and Host are expected values. * @param value: The value to be searched.

(type, value)

Source from the content-addressed store, hash-verified

476 * @param value: The value to be searched.
477 */
478function ibloxOwner(type, value) {
479 var url = new URI('/api/v1.0/iblox/owners');
480 url.addSearch({
481 'type': type,
482 'value': value
483 });
484
485 retrieve_results(url.toString(), 'ownershipInformation')
486 .then(function (owner_details) {
487 owner_detail_renderer(owner_details, type, 'ownershipInformation');
488 });
489}
490
491function ctResults(results) {
492 if (results.length === 0) {

Callers 1

queriesFunction · 0.85

Calls 2

retrieve_resultsFunction · 0.85
owner_detail_rendererFunction · 0.85

Tested by

no test coverage detected