Liking cljdoc? Tell your friends :D

clj-symphony.connect

Operations related to connections to a Symphony pod.

Operations related to connections to a Symphony pod.
raw docstring

agent-versionclj

(agent-version c)

Returns the version of the Symphony agent at the other end of the given connection, as a string in major.minor.bugfix format.

Returns the version of the Symphony agent at the other end of the given connection, as a string in `major.minor.bugfix` format.
sourceraw docstring

connectclj

(connect params)

Connect to a Symphony pod as a given service account user. Returns a 'connection' object that should be used in all subsequent API calls.

params is a map containing:

KeyDescription
:pod-idThe id of the pod to connect to - will autopopulate whichever of the 4 URLs aren't provided. (optional - see below)
:session-auth-urlThe URL of the session authentication endpoint. (optional - see below)
:key-auth-urlThe URL of the key authentication endpoint. (optional - see below)
:agent-api-urlThe URL of the agent API. (optional - see below)
:pod-api-urlThe URL of the Pod API. (optional - see below)
:trust-storeA pair of strings containing the path to the trust store and the password of the trust store. (mandatory)
:user-certA pair of strings containing the path to the bot user's certificate and the password of that certificate. (mandatory)
:user-emailThe email address of the bot user. (mandatory)

Note: if :pod-id is not provided, :session-auth-url and :key-auth-url and :agent-api-url and :pod-api-url are all mandatory.

Connect to a Symphony pod as a given service account user.  Returns a
'connection' object that should be used in all subsequent API calls.

`params` is a map containing:

| Key                 | Description                                                                                                           |
|---------------------|-----------------------------------------------------------------------------------------------------------------------|
| `:pod-id`           | The id of the pod to connect to - will autopopulate whichever of the 4 URLs aren't provided. (optional - see below)   |
| `:session-auth-url` | The URL of the session authentication endpoint. (optional - see below)                                                |
| `:key-auth-url`     | The URL of the key authentication endpoint. (optional - see below)                                                    |
| `:agent-api-url`    | The URL of the agent API. (optional - see below)                                                                      |
| `:pod-api-url`      | The URL of the Pod API. (optional - see below)                                                                        |
| `:trust-store`      | A pair of strings containing the path to the trust store and the password of the trust store. (mandatory)             |
| `:user-cert`        | A pair of strings containing the path to the bot user's certificate and the password of that certificate. (mandatory) |
| `:user-email`       | The email address of the bot user. (mandatory)                                                                        |

Note: if `:pod-id` is not provided, `:session-auth-url` and `:key-auth-url`
and `:agent-api-url` and `:pod-api-url` are all mandatory.
sourceraw docstring

disconnectclj

(disconnect c)

Disconnect from a Symphony pod. The connection object should be discarded after this method is called.

Disconnect from a Symphony pod.  The connection object should be discarded after this method is called.
sourceraw docstring

pod-versionclj

(pod-version c)

Returns the version of the Symphony pod at the other end of the given connection, as a string in major.minor.bugfix format.

Returns the version of the Symphony pod at the other end of the given connection, as a string in `major.minor.bugfix` format.
sourceraw docstring

versioncljdeprecated

(version c)

Deprecated - please use pod-version instead.

Deprecated - please use pod-version instead.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close