Connection.NodeService (etl_core v0.1.0)
Work with Node Service
Link to this section Summary
Functions
Returns details of a node
Link to this section Functions
Link to this function
get_details(node, url, headers, arg)
Returns details of a node
parameter
Parameter:
- node: String. Node/document identifier.
- url: String. URL of the service. It is assumed that the url contains 2 parameters to replace them: <unique_id>, <ticket>.
- node: String. Node/document identifier.
- headers
- username: String. Username required to generate a ticket.
- password: String. Password required to generate a ticket.
return
Return:
- {:ok, details} | {:error, message} | Exception