This object connects to the Eagle-I REST api on the specified Eagle-I node and executes ontology queries again the api.
The EIEataConnector implements the Singleton design pattern.
getInstance() : \EIDataConnector | null
\EIDataConnector
null
getOntologyClass($URI)
getOntologyModel() : \EIClass | \EIExchangeInstance | \EIInstanceUpdateRequest | \EIModelVersion | null
getResource($URI) : \EIClass | \EIExchangeInstance | \EIInstanceUpdateRequest | \EIModelVersion | null
updateResource($EIEI) : \EIClass | \EIExchangeInstance | \EIInstanceUpdateRequest | \EIModelVersion | null
__construct()
executeRequest(string $verb, null $request_body, $url, null $request_type) : \the
access | private |
---|
string
null
null
\the
drupal_http_request return objectreturnResponseObject($response_body, $request_type) : \EIClass | \EIExchangeInstance | \EIInstanceUpdateRequest | \EIModelVersion | null
$instance : null
$api_rest_url
$api_server_protocol
$api_server_url
$ontology_class_url
$ontology_server_url