Connection.NodeService (etl_core v0.1.11)

Work with Node Service

Link to this section Summary

Link to this section Functions

Link to this function

get_details(node, url, headers, ticket)

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

- ticket: Posibles valores:

    {String, String, String, String}. Corresponde a informacion necesaria para obtener el ticket. El orden es: url, headers, username, password.

    String: Ticket.

return

Return:

-  {:ok, details} | {:error, message} | Exception