push {acumos} | R Documentation |
Push a component into the Acumos repository
Description
push
pushes a component into the Acumos repository.
auth
obtains an authentication token to be used with
push
where required.
Usage
push(url, file = "component.zip", token, create=TRUE, deploy=FALSE, license,
headers, ...)
auth(url, user, password)
Arguments
url |
URL for the POST request |
file |
component bundle file as created by |
token |
token obtained from |
create |
logical, |
deploy |
logical.
If TRUE the model is automatically deployed by the Acumos platform based on an
external jenkins server configuration.
This parameter cannot take the value TRUE, when the parameter
|
license |
optional string, name of a file to supply as the
license. If not specified |
headers |
optional, named list or named character vector of HTTP headers that are to be added to the request. NOTE: the meaning of optional headers depends on the onboarding server so consult the documentation of the onboarding server for supported additional headers and their meaning. |
user |
user name to use for authentication |
password |
password to use for authentication |
... |
any additional form entries to push as body content.
If the entry is to be passed as a file upload, use
|
Value
push
: invisibly, result of the request (may change in the
future)
auth
: authentication token
Author(s)
Simon Urbanek