Connection.NodeService (etl_core v0.1.2)

Work with Node Service

Link to this section Summary

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