Git Product home page Git Product logo

aio-cli-plugin-runtime's Introduction

oclif Version Downloads/week Node.js CI License Codecov Coverage

aio-cli-plugin-runtime

Adobe I/O Runtime plugin for the Adobe I/O CLI


Usage

$ aio plugins:install @adobe/aio-cli-plugin-runtime
$ # OR
$ aio discover -i
$ aio runtime --help

Commands

aio runtime

Execute runtime commands

USAGE
  $ aio runtime [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Execute runtime commands

ALIASES
  $ aio rt

See code: src/commands/runtime/index.js

aio runtime action

Manage your actions

USAGE
  $ aio runtime action [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage your actions

ALIASES
  $ aio rt action

See code: src/commands/runtime/action/index.js

aio runtime action create ACTIONNAME [ACTIONPATH]

Creates an Action

USAGE
  $ aio runtime action create ACTIONNAME [ACTIONPATH] [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost
    <value>] [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-p <value>] [--copy <value>] [-e <value>]
    [--web-secure <value> --web true|yes|false|no|raw] [-P <value>] [-E <value>] [-t <value>] [-m <value>] [-l <value>]
    [-c <value>] [--kind <value>] [-a <value>] [-A <value>] [--sequence <value>] [--docker <value>] [--main <value>]
    [--binary] [--json]

FLAGS
  -A, --annotation-file=<value>  FILE containing annotation values in JSON format
  -E, --env-file=<value>         FILE containing environment variables in JSON format
  -P, --param-file=<value>       FILE containing parameter values in JSON format
  -a, --annotation=<value>...    annotation values in KEY VALUE format
  -c, --concurrency=<value>      the maximum number of action invocations to send to the same container in parallel
                                 (default 200, min: 1, max: 500)
  -e, --env=<value>...           environment values in KEY VALUE format
  -i, --insecure                 bypass certificate check
  -l, --logsize=<value>          the maximum log size LIMIT in MB for the action (default 10, min: 0, max: 10)
  -m, --memory=<value>           the maximum memory LIMIT in MB for the action (default 256, min: 128, max: 4096)
  -p, --param=<value>...         parameter values in KEY VALUE format
  -t, --timeout=<value>          the timeout LIMIT in milliseconds after which the action is terminated (default 60000,
                                 min: 100, max: 3600000)
  -u, --auth=<value>             whisk auth
  -v, --verbose                  Verbose output
  --apihost=<value>              whisk API host
  --apiversion=<value>           whisk API version
  --binary                       treat code artifact as binary
  --cert=<value>                 client cert
  --copy=<value>                 copy an existing action
  --debug=<value>                Debug level output
  --docker=<value>               [Restricted Access] use provided Docker image (a path on DockerHub) to run the action
  --help                         Show help
  --json                         output raw json
  --key=<value>                  client key
  --kind=<value>                 the KIND of the action runtime (example: swift:default, nodejs:default)
  --main=<value>                 the name of the action entry point (function or fully-qualified method name when
                                 applicable)
  --sequence=<value>             treat ACTION as comma separated sequence of actions to invoke
  --version                      Show version
  --web=<option>                 treat ACTION as a web action or as a raw HTTP web action
                                 <options: true|yes|false|no|raw>
  --web-secure=<value>           secure the web action (valid values are true, false, or any string)

DESCRIPTION
  Creates an Action

ALIASES
  $ aio rt action create

See code: src/commands/runtime/action/create.js

aio runtime action delete ACTIONNAME

Deletes an Action

USAGE
  $ aio runtime action delete ACTIONNAME [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help] [--json]

FLAGS
  -i, --insecure        bypass certificate check
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --json                output raw json
  --key=<value>         client key
  --version             Show version

DESCRIPTION
  Deletes an Action

ALIASES
  $ aio runtime action del
  $ aio rt action delete
  $ aio rt action del

See code: src/commands/runtime/action/delete.js

aio runtime action get ACTIONNAME

Retrieves an Action

USAGE
  $ aio runtime action get ACTIONNAME [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-r] [-c] [--save] [--save-as <value>]

FLAGS
  -c, --code            show action code (only works if code is not a zip file)
  -i, --insecure        bypass certificate check
  -r, --url             get action url
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --key=<value>         client key
  --save                save action code to file corresponding with action name
  --save-as=<value>     file to save action code to
  --version             Show version

DESCRIPTION
  Retrieves an Action

ALIASES
  $ aio rt action get

See code: src/commands/runtime/action/get.js

aio runtime action invoke ACTIONNAME

Invokes an Action

USAGE
  $ aio runtime action invoke ACTIONNAME [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-p <value>] [-P <value>] [-b] [-r]

FLAGS
  -P, --param-file=<value>  FILE containing parameter values in JSON format
  -b, --blocking            blocking invoke
  -i, --insecure            bypass certificate check
  -p, --param=<value>...    parameter values in KEY VALUE format
  -r, --result              blocking invoke; show only activation result (unless there is a failure)
  -u, --auth=<value>        whisk auth
  -v, --verbose             Verbose output
  --apihost=<value>         whisk API host
  --apiversion=<value>      whisk API version
  --cert=<value>            client cert
  --debug=<value>           Debug level output
  --help                    Show help
  --key=<value>             client key
  --version                 Show version

DESCRIPTION
  Invokes an Action

ALIASES
  $ aio rt action invoke

See code: src/commands/runtime/action/invoke.js

aio runtime action list [PACKAGENAME]

Lists all the Actions

USAGE
  $ aio runtime action list [PACKAGENAME] [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-l <value>] [-s <value>] [-c] [--json] [--name-sort] [-n]

FLAGS
  -c, --count           show only the total number of actions
  -i, --insecure        bypass certificate check
  -l, --limit=<value>   only return LIMIT number of actions (min: 0, max: 50)
  -n, --name            sort results by name
  -s, --skip=<value>    exclude the first SKIP number of actions from the result
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --json                output raw json
  --key=<value>         client key
  --name-sort           sort results by name
  --version             Show version

DESCRIPTION
  Lists all the Actions

ALIASES
  $ aio runtime action ls
  $ aio runtime actions list
  $ aio runtime actions ls
  $ aio rt action list
  $ aio rt actions list
  $ aio rt action ls
  $ aio rt actions ls

See code: src/commands/runtime/action/list.js

aio runtime action update ACTIONNAME [ACTIONPATH]

Updates an Action

USAGE
  $ aio runtime action update ACTIONNAME [ACTIONPATH] [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost
    <value>] [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-p <value>] [--copy <value>] [-e <value>]
    [--web-secure <value> --web true|yes|false|no|raw] [-P <value>] [-E <value>] [-t <value>] [-m <value>] [-l <value>]
    [-c <value>] [--kind <value>] [-a <value>] [-A <value>] [--sequence <value>] [--docker <value>] [--main <value>]
    [--binary] [--json]

FLAGS
  -A, --annotation-file=<value>  FILE containing annotation values in JSON format
  -E, --env-file=<value>         FILE containing environment variables in JSON format
  -P, --param-file=<value>       FILE containing parameter values in JSON format
  -a, --annotation=<value>...    annotation values in KEY VALUE format
  -c, --concurrency=<value>      the maximum number of action invocations to send to the same container in parallel
                                 (default 200, min: 1, max: 500)
  -e, --env=<value>...           environment values in KEY VALUE format
  -i, --insecure                 bypass certificate check
  -l, --logsize=<value>          the maximum log size LIMIT in MB for the action (default 10, min: 0, max: 10)
  -m, --memory=<value>           the maximum memory LIMIT in MB for the action (default 256, min: 128, max: 4096)
  -p, --param=<value>...         parameter values in KEY VALUE format
  -t, --timeout=<value>          the timeout LIMIT in milliseconds after which the action is terminated (default 60000,
                                 min: 100, max: 3600000)
  -u, --auth=<value>             whisk auth
  -v, --verbose                  Verbose output
  --apihost=<value>              whisk API host
  --apiversion=<value>           whisk API version
  --binary                       treat code artifact as binary
  --cert=<value>                 client cert
  --copy=<value>                 copy an existing action
  --debug=<value>                Debug level output
  --docker=<value>               [Restricted Access] use provided Docker image (a path on DockerHub) to run the action
  --help                         Show help
  --json                         output raw json
  --key=<value>                  client key
  --kind=<value>                 the KIND of the action runtime (example: swift:default, nodejs:default)
  --main=<value>                 the name of the action entry point (function or fully-qualified method name when
                                 applicable)
  --sequence=<value>             treat ACTION as comma separated sequence of actions to invoke
  --version                      Show version
  --web=<option>                 treat ACTION as a web action or as a raw HTTP web action
                                 <options: true|yes|false|no|raw>
  --web-secure=<value>           secure the web action (valid values are true, false, or any string)

DESCRIPTION
  Updates an Action

ALIASES
  $ aio rt action update

See code: src/commands/runtime/action/update.js

aio runtime activation

Manage your activations

USAGE
  $ aio runtime activation [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage your activations

ALIASES
  $ aio rt activation

See code: src/commands/runtime/activation/index.js

aio runtime activation get [ACTIVATIONID]

Retrieves an Activation

USAGE
  $ aio runtime activation get [ACTIVATIONID] [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>]
    [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-l] [-g]

FLAGS
  -g, --logs            emit only the logs, stripped of time stamps and stream identifier
  -i, --insecure        bypass certificate check
  -l, --last            retrieves the most recent activation
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --key=<value>         client key
  --version             Show version

DESCRIPTION
  Retrieves an Activation

ALIASES
  $ aio rt activation get

See code: src/commands/runtime/activation/get.js

aio runtime activation list [ACTION_NAME]

Lists all the Activations

USAGE
  $ aio runtime activation list [ACTION_NAME] [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-l <value>] [-s <value>] [--since <value>] [--upto
    <value>] [-c] [--json] [-f]

FLAGS
  -c, --count           show only the total number of activations
  -f, --full            include full activation description
  -i, --insecure        bypass certificate check
  -l, --limit=<value>   only return LIMIT number of activations (min: 0, max: 50)
  -s, --skip=<value>    exclude the first SKIP number of activations from the result
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --json                output raw json
  --key=<value>         client key
  --since=<value>       return activations with timestamps later than SINCE; measured in milliseconds since Th, 01, Jan
                        1970
  --upto=<value>        return activations with timestamps earlier than UPTO; measured in milliseconds since Th, 01, Jan
                        1970
  --version             Show version

DESCRIPTION
  Lists all the Activations

ALIASES
  $ aio runtime activations list
  $ aio runtime activation ls
  $ aio runtime activations ls
  $ aio rt activation list
  $ aio rt activation ls
  $ aio rt activations list
  $ aio rt activations ls

See code: src/commands/runtime/activation/list.js

aio runtime activation logs [ACTIVATIONID]

Retrieves the Logs for an Activation

USAGE
  $ aio runtime activation logs [ACTIVATIONID] [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>]
    [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-d |  | [-a <value> | -m | -p <value>]] [-r] [--limit
    <value> | -l] [-t | -w | -o]

FLAGS
  -a, --action=<value>   Fetch logs for a specific action
  -d, --deployed         Fetch logs for all actions deployed under a specific package
  -i, --insecure         bypass certificate check
  -l, --last             retrieves the most recent activation logs
  -m, --manifest         Fetch logs for all actions in the manifest
  -o, --poll             Fetch logs continuously
  -p, --package=<value>  Fetch logs for a specific package in the manifest
  -r, --strip            strip timestamp information and output first line only
  -t, --tail             Fetch logs continuously
  -u, --auth=<value>     whisk auth
  -v, --verbose          Verbose output
  -w, --watch            Fetch logs continuously
  --apihost=<value>      whisk API host
  --apiversion=<value>   whisk API version
  --cert=<value>         client cert
  --debug=<value>        Debug level output
  --help                 Show help
  --key=<value>          client key
  --limit=<value>        return logs only from last LIMIT number of activations (min: 0, max: 50)
  --version              Show version

DESCRIPTION
  Retrieves the Logs for an Activation

ALIASES
  $ aio runtime activation log
  $ aio runtime log
  $ aio runtime logs
  $ aio rt activation logs
  $ aio rt activation log
  $ aio rt log
  $ aio rt logs

See code: src/commands/runtime/activation/logs.js

aio runtime activation result [ACTIVATIONID]

Retrieves the Results for an Activation

USAGE
  $ aio runtime activation result [ACTIVATIONID] [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>]
    [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-l]

FLAGS
  -i, --insecure        bypass certificate check
  -l, --last            retrieves the most recent activation result
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --key=<value>         client key
  --version             Show version

DESCRIPTION
  Retrieves the Results for an Activation

ALIASES
  $ aio rt activation result

See code: src/commands/runtime/activation/result.js

aio runtime api

Manage your api routes

USAGE
  $ aio runtime api [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage your api routes

ALIASES
  $ aio rt api
  $ aio runtime route
  $ aio rt route

See code: src/commands/runtime/api/index.js

aio runtime api create [BASEPATH] [RELPATH] [APIVERB] [ACTION]

create a new api route

USAGE
  $ aio runtime api create [BASEPATH] [RELPATH] [APIVERB] [ACTION] [--cert <value>] [--key <value>] [--apiversion
    <value>] [--apihost <value>] [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-n <value> | -c <value>]
    [-r html|http|json|text|svg|json | ]

ARGUMENTS
  BASEPATH  The base path of the api
  RELPATH   The path of the api relative to the base path
  APIVERB   (get|post|put|patch|delete|head|options) The http verb
  ACTION    The action to call

FLAGS
  -c, --config-file=<value>     file containing API configuration in swagger JSON format
  -i, --insecure                bypass certificate check
  -n, --apiname=<value>         Friendly name of the API; ignored when CFG_FILE is specified (default BASE_PATH)
  -r, --response-type=<option>  [default: json] Set the web action response TYPE.
                                <options: html|http|json|text|svg|json>
  -u, --auth=<value>            whisk auth
  -v, --verbose                 Verbose output
  --apihost=<value>             whisk API host
  --apiversion=<value>          whisk API version
  --cert=<value>                client cert
  --debug=<value>               Debug level output
  --help                        Show help
  --key=<value>                 client key
  --version                     Show version

DESCRIPTION
  create a new api route

ALIASES
  $ aio runtime route create
  $ aio rt route create
  $ aio rt api create

See code: src/commands/runtime/api/create.js

aio runtime api delete BASEPATHORAPINAME [RELPATH] [APIVERB]

delete an API

USAGE
  $ aio runtime api delete BASEPATHORAPINAME [RELPATH] [APIVERB] [--cert <value>] [--key <value>] [--apiversion <value>]
    [--apihost <value>] [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help]

ARGUMENTS
  BASEPATHORAPINAME  The base path or api name
  RELPATH            The path of the api relative to the base path
  APIVERB            (get|post|put|patch|delete|head|options) The http verb

FLAGS
  -i, --insecure        bypass certificate check
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --key=<value>         client key
  --version             Show version

DESCRIPTION
  delete an API

ALIASES
  $ aio runtime route delete
  $ aio rt route delete
  $ aio rt api delete

See code: src/commands/runtime/api/delete.js

aio runtime api get BASEPATHORAPINAME

get API details

USAGE
  $ aio runtime api get BASEPATHORAPINAME [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>]
    [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help]

ARGUMENTS
  BASEPATHORAPINAME  The base path or api name

FLAGS
  -i, --insecure        bypass certificate check
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --key=<value>         client key
  --version             Show version

DESCRIPTION
  get API details

ALIASES
  $ aio runtime route get
  $ aio rt route get
  $ aio rt api get

See code: src/commands/runtime/api/get.js

aio runtime api list [BASEPATH] [RELPATH] [APIVERB]

list route/apis for Adobe I/O Runtime

USAGE
  $ aio runtime api list [BASEPATH] [RELPATH] [APIVERB] [--cert <value>] [--key <value>] [--apiversion <value>]
    [--apihost <value>] [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-l <value>] [-s <value>] [--json]

ARGUMENTS
  BASEPATH  The base path of the api
  RELPATH   The path of the api relative to the base path
  APIVERB   (get|post|put|patch|delete|head|options) The http verb

FLAGS
  -i, --insecure        bypass certificate check
  -l, --limit=<value>   only return LIMIT number of triggers
  -s, --skip=<value>    exclude the first SKIP number of triggers from the result
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --json                output raw json
  --key=<value>         client key
  --version             Show version

DESCRIPTION
  list route/apis for Adobe I/O Runtime

ALIASES
  $ aio runtime api ls
  $ aio runtime route list
  $ aio runtime route ls
  $ aio rt api list
  $ aio rt api ls
  $ aio rt route list
  $ aio rt route ls

See code: src/commands/runtime/api/list.js

aio runtime deploy

The Runtime Deployment Tool

USAGE
  $ aio runtime deploy [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u <value>] [-i]
    [--debug <value>] [-v] [--version] [--help] [-m <value>] [-d <value>] [--param <value>] [-P <value>]

FLAGS
  -P, --param-file=<value>  FILE containing parameter values in JSON format
  -d, --deployment=<value>  the path to the deployment file
  -i, --insecure            bypass certificate check
  -m, --manifest=<value>    the manifest file location
  -u, --auth=<value>        whisk auth
  -v, --verbose             Verbose output
  --apihost=<value>         whisk API host
  --apiversion=<value>      whisk API version
  --cert=<value>            client cert
  --debug=<value>           Debug level output
  --help                    Show help
  --key=<value>             client key
  --param=<value>...        parameter values in KEY VALUE format
  --version                 Show version

DESCRIPTION
  The Runtime Deployment Tool

ALIASES
  $ aio rt deploy

See code: src/commands/runtime/deploy/index.js

aio runtime deploy export

Exports managed project assets from Runtime to manifest and function files

USAGE
  $ aio runtime deploy export -m <value> --projectname <value> [--cert <value>] [--key <value>] [--apiversion <value>]
    [--apihost <value>] [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help]

FLAGS
  -i, --insecure          bypass certificate check
  -m, --manifest=<value>  (required) the manifest file location
  -u, --auth=<value>      whisk auth
  -v, --verbose           Verbose output
  --apihost=<value>       whisk API host
  --apiversion=<value>    whisk API version
  --cert=<value>          client cert
  --debug=<value>         Debug level output
  --help                  Show help
  --key=<value>           client key
  --projectname=<value>   (required) the name of the project to be undeployed
  --version               Show version

DESCRIPTION
  Exports managed project assets from Runtime to manifest and function files

ALIASES
  $ aio rt deploy export

See code: src/commands/runtime/deploy/export.js

aio runtime deploy report

Provides a summary report of Runtime assets being deployed/undeployed based on manifest/deployment YAML

USAGE
  $ aio runtime deploy report [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u <value>] [-i]
    [--debug <value>] [-v] [--version] [--help] [-m <value>] [-d <value>]

FLAGS
  -d, --deployment=<value>  the deployment file location
  -i, --insecure            bypass certificate check
  -m, --manifest=<value>    the manifest file location
  -u, --auth=<value>        whisk auth
  -v, --verbose             Verbose output
  --apihost=<value>         whisk API host
  --apiversion=<value>      whisk API version
  --cert=<value>            client cert
  --debug=<value>           Debug level output
  --help                    Show help
  --key=<value>             client key
  --version                 Show version

DESCRIPTION
  Provides a summary report of Runtime assets being deployed/undeployed based on manifest/deployment YAML

ALIASES
  $ aio rt deploy report

See code: src/commands/runtime/deploy/report.js

aio runtime deploy sync

A tool to sync deployment and undeployment of Runtime packages using a manifest and optional deployment files using YAML

USAGE
  $ aio runtime deploy sync [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u <value>] [-i]
    [--debug <value>] [-v] [--version] [--help] [-m <value>] [-d <value>]

FLAGS
  -d, --deployment=<value>  the path to the deployment file
  -i, --insecure            bypass certificate check
  -m, --manifest=<value>    the manifest file location
  -u, --auth=<value>        whisk auth
  -v, --verbose             Verbose output
  --apihost=<value>         whisk API host
  --apiversion=<value>      whisk API version
  --cert=<value>            client cert
  --debug=<value>           Debug level output
  --help                    Show help
  --key=<value>             client key
  --version                 Show version

DESCRIPTION
  A tool to sync deployment and undeployment of Runtime packages using a manifest and optional deployment files using
  YAML

ALIASES
  $ aio rt deploy sync

See code: src/commands/runtime/deploy/sync.js

aio runtime deploy undeploy

Undeploy removes Runtime assets which were deployed from the manifest and deployment YAML

USAGE
  $ aio runtime deploy undeploy [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u <value>] [-i]
    [--debug <value>] [-v] [--version] [--help] [-m <value>] [--projectname <value>]

FLAGS
  -i, --insecure          bypass certificate check
  -m, --manifest=<value>  the manifest file location
  -u, --auth=<value>      whisk auth
  -v, --verbose           Verbose output
  --apihost=<value>       whisk API host
  --apiversion=<value>    whisk API version
  --cert=<value>          client cert
  --debug=<value>         Debug level output
  --help                  Show help
  --key=<value>           client key
  --projectname=<value>   the name of the project to be undeployed
  --version               Show version

DESCRIPTION
  Undeploy removes Runtime assets which were deployed from the manifest and deployment YAML

ALIASES
  $ aio rt deploy undeploy

See code: src/commands/runtime/deploy/undeploy.js

aio runtime deploy version

Prints the version number of aio runtime deploy

USAGE
  $ aio runtime deploy version [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Prints the version number of aio runtime deploy

ALIASES
  $ aio rt deploy version

See code: src/commands/runtime/deploy/version.js

aio runtime namespace

Manage your namespaces

USAGE
  $ aio runtime namespace [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage your namespaces

ALIASES
  $ aio runtime ns
  $ aio rt namespace
  $ aio rt ns

See code: src/commands/runtime/namespace/index.js

aio runtime namespace get

Get triggers, actions, and rules in the registry for namespace

USAGE
  $ aio runtime namespace get [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u <value>] [-i]
    [--debug <value>] [-v] [--version] [--help] [--json] [--name-sort] [-n]

FLAGS
  -i, --insecure        bypass certificate check
  -n, --name            sort results by name
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --json                output raw json
  --key=<value>         client key
  --name-sort           sort results by name
  --version             Show version

DESCRIPTION
  Get triggers, actions, and rules in the registry for namespace

ALIASES
  $ aio rt get
  $ aio runtime list
  $ aio rt list
  $ aio runtime ls
  $ aio rt ls

See code: src/commands/runtime/namespace/get.js

aio runtime namespace list

Lists all of your namespaces for Adobe I/O Runtime

USAGE
  $ aio runtime namespace list [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u <value>] [-i]
    [--debug <value>] [-v] [--version] [--help] [--json]

FLAGS
  -i, --insecure        bypass certificate check
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --json                output raw json
  --key=<value>         client key
  --version             Show version

DESCRIPTION
  Lists all of your namespaces for Adobe I/O Runtime

ALIASES
  $ aio runtime namespace ls
  $ aio runtime ns list
  $ aio runtime ns ls
  $ aio rt namespace list
  $ aio rt namespace ls
  $ aio rt ns list
  $ aio rt ns ls

See code: src/commands/runtime/namespace/list.js

aio runtime namespace log-forwarding

Manage log forwarding settings

USAGE
  $ aio runtime namespace log-forwarding [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage log forwarding settings

ALIASES
  $ aio runtime ns log-forwarding
  $ aio runtime ns lf
  $ aio runtime namespace lf
  $ aio rt namespace log-forwarding
  $ aio rt namespace lf
  $ aio rt ns log-forwarding
  $ aio rt ns lf

See code: src/commands/runtime/namespace/log-forwarding/index.js

aio runtime namespace log-forwarding errors

Get log forwarding errors

USAGE
  $ aio runtime namespace log-forwarding errors [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Get log forwarding errors

ALIASES
  $ aio runtime ns log-forwarding errors
  $ aio runtime ns lf errors
  $ aio runtime namespace lf errors
  $ aio rt namespace log-forwarding errors
  $ aio rt namespace lf errors
  $ aio rt ns log-forwarding errors
  $ aio rt ns lf errors

See code: src/commands/runtime/namespace/log-forwarding/errors.js

aio runtime namespace log-forwarding get

Get log forwarding destination configuration

USAGE
  $ aio runtime namespace log-forwarding get [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Get log forwarding destination configuration

ALIASES
  $ aio runtime ns log-forwarding get
  $ aio runtime ns lf get
  $ aio runtime namespace lf get
  $ aio rt namespace log-forwarding get
  $ aio rt namespace lf get
  $ aio rt ns log-forwarding get
  $ aio rt ns lf get

See code: src/commands/runtime/namespace/log-forwarding/get.js

aio runtime namespace log-forwarding set

Configure log forwarding destination (interactive)

USAGE
  $ aio runtime namespace log-forwarding set [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Configure log forwarding destination (interactive)

ALIASES
  $ aio runtime ns log-forwarding set
  $ aio runtime ns lf set
  $ aio runtime namespace lf set
  $ aio rt namespace log-forwarding set
  $ aio rt namespace lf set
  $ aio rt ns log-forwarding set
  $ aio rt ns lf set

See code: src/commands/runtime/namespace/log-forwarding/set.js

aio runtime namespace log-forwarding set adobe-io-runtime

Set log forwarding destination to Adobe I/O Runtime (Logs will be accessible via aio CLI)

USAGE
  $ aio runtime namespace log-forwarding set adobe-io-runtime [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Set log forwarding destination to Adobe I/O Runtime (Logs will be accessible via aio CLI)

ALIASES
  $ aio runtime ns log-forwarding set adobe-io-runtime
  $ aio runtime ns lf set adobe-io-runtime
  $ aio runtime namespace lf set adobe-io-runtime
  $ aio rt namespace log-forwarding set adobe-io-runtime
  $ aio rt namespace lf set adobe-io-runtime
  $ aio rt ns log-forwarding set adobe-io-runtime
  $ aio rt ns lf set adobe-io-runtime

See code: src/commands/runtime/namespace/log-forwarding/set/adobe-io-runtime.js

aio runtime namespace log-forwarding set azure-log-analytics

Set log forwarding destination to Azure Log Analytics

USAGE
  $ aio runtime namespace log-forwarding set azure-log-analytics --customer-id <value> --shared-key <value> --log-type <value> [--cert] [--key] [--apiversion]
    [--apihost] [-u] [-i] [--debug <value>] [-v] [--version] [--help]

FLAGS
  -i, --insecure         bypass certificate check
  -u, --auth             whisk auth
  -v, --verbose          Verbose output
  --apihost              whisk API host
  --apiversion           whisk API version
  --cert                 client cert
  --customer-id=<value>  (required) Customer ID
  --debug=<value>        Debug level output
  --help                 Show help
  --key                  client key
  --log-type=<value>     (required) Log type
  --shared-key=<value>   (required) Shared key
  --version              Show version

DESCRIPTION
  Set log forwarding destination to Azure Log Analytics

ALIASES
  $ aio runtime ns log-forwarding set azure-log-analytics
  $ aio runtime ns lf set azure-log-analytics
  $ aio runtime namespace lf set azure-log-analytics
  $ aio rt namespace log-forwarding set azure-log-analytics
  $ aio rt namespace lf set azure-log-analytics
  $ aio rt ns log-forwarding set azure-log-analytics
  $ aio rt ns lf set azure-log-analytics

See code: src/commands/runtime/namespace/log-forwarding/set/azure-log-analytics.js

aio runtime namespace log-forwarding set new-relic

Set log forwarding destination to New Relic

USAGE
  $ aio runtime namespace log-forwarding set new-relic --base-uri <value> --license-key <value> [--cert] [--key] [--apiversion] [--apihost] [-u]
    [-i] [--debug <value>] [-v] [--version] [--help]

FLAGS
  -i, --insecure         bypass certificate check
  -u, --auth             whisk auth
  -v, --verbose          Verbose output
  --apihost              whisk API host
  --apiversion           whisk API version
  --base-uri=<value>     (required) Base URI
  --cert                 client cert
  --debug=<value>        Debug level output
  --help                 Show help
  --key                  client key
  --license-key=<value>  (required) License Key
  --version              Show version

DESCRIPTION
  Set log forwarding destination to New Relic

ALIASES
  $ aio runtime ns log-forwarding set new-relic
  $ aio runtime ns lf set new-relic
  $ aio runtime namespace lf set new-relic
  $ aio rt namespace log-forwarding set new-relic
  $ aio rt namespace lf set new-relic
  $ aio rt ns log-forwarding set new-relic
  $ aio rt ns lf set new-relic

See code: src/commands/runtime/namespace/log-forwarding/set/new-relic.js

aio runtime namespace log-forwarding set splunk-hec

Set log forwarding destination to Splunk HEC

USAGE
  $ aio runtime namespace log-forwarding set splunk-hec --host <value> --port <value> --index <value> --hec-token <value> [--cert] [--key]
    [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version] [--help]

FLAGS
  -i, --insecure       bypass certificate check
  -u, --auth           whisk auth
  -v, --verbose        Verbose output
  --apihost            whisk API host
  --apiversion         whisk API version
  --cert               client cert
  --debug=<value>      Debug level output
  --hec-token=<value>  (required) HEC token
  --help               Show help
  --host=<value>       (required) Host
  --index=<value>      (required) Index
  --key                client key
  --port=<value>       (required) Port
  --version            Show version

DESCRIPTION
  Set log forwarding destination to Splunk HEC

ALIASES
  $ aio runtime ns log-forwarding set splunk-hec
  $ aio runtime ns lf set splunk-hec
  $ aio runtime namespace lf set splunk-hec
  $ aio rt namespace log-forwarding set splunk-hec
  $ aio rt namespace lf set splunk-hec
  $ aio rt ns log-forwarding set splunk-hec
  $ aio rt ns lf set splunk-hec

See code: src/commands/runtime/namespace/log-forwarding/set/splunk-hec.js

aio runtime package

Manage your packages

USAGE
  $ aio runtime package [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage your packages

ALIASES
  $ aio runtime pkg
  $ aio rt package
  $ aio rt pkg

See code: src/commands/runtime/package/index.js

aio runtime package bind PACKAGENAME BINDPACKAGENAME

Bind parameters to a package

USAGE
  $ aio runtime package bind PACKAGENAME BINDPACKAGENAME [--cert <value>] [--key <value>] [--apiversion <value>]
    [--apihost <value>] [-u <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-p <value>] [-P <value>] [-a
    <value>] [-A <value>] [--json]

FLAGS
  -A, --annotation-file=<value>  FILE containing annotation values in JSON format
  -P, --param-file=<value>       parameter to be passed to the package for json file
  -a, --annotation=<value>...    annotation values in KEY VALUE format
  -i, --insecure                 bypass certificate check
  -p, --param=<value>...         parameters in key value pairs to be passed to the package
  -u, --auth=<value>             whisk auth
  -v, --verbose                  Verbose output
  --apihost=<value>              whisk API host
  --apiversion=<value>           whisk API version
  --cert=<value>                 client cert
  --debug=<value>                Debug level output
  --help                         Show help
  --json                         output raw json
  --key=<value>                  client key
  --version                      Show version

DESCRIPTION
  Bind parameters to a package

ALIASES
  $ aio runtime pkg bind
  $ aio rt package bind
  $ aio rt pkg bind

See code: src/commands/runtime/package/bind.js

aio runtime package create PACKAGENAME

Creates a Package

USAGE
  $ aio runtime package create PACKAGENAME [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-p <value>] [-P <value>] [--shared true|yes|false|no] [-a
    <value>] [-A <value>] [--json]

FLAGS
  -A, --annotation-file=<value>  FILE containing annotation values in JSON format
  -P, --param-file=<value>       parameter to be passed to the package for json file
  -a, --annotation=<value>...    annotation values in KEY VALUE format
  -i, --insecure                 bypass certificate check
  -p, --param=<value>...         parameters in key value pairs to be passed to the package
  -u, --auth=<value>             whisk auth
  -v, --verbose                  Verbose output
  --apihost=<value>              whisk API host
  --apiversion=<value>           whisk API version
  --cert=<value>                 client cert
  --debug=<value>                Debug level output
  --help                         Show help
  --json                         output raw json
  --key=<value>                  client key
  --shared=<option>              parameter to be passed to indicate whether package is shared or private
                                 <options: true|yes|false|no>
  --version                      Show version

DESCRIPTION
  Creates a Package

ALIASES
  $ aio runtime pkg create
  $ aio rt package create
  $ aio rt pkg create

See code: src/commands/runtime/package/create.js

aio runtime package delete PACKAGENAME

Deletes a Package

USAGE
  $ aio runtime package delete PACKAGENAME [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help] [--json] [-r]

FLAGS
  -i, --insecure        bypass certificate check
  -r, --recursive       Deletes all associated actions (and rules & triggers associated with the actions)
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --json                output raw json
  --key=<value>         client key
  --version             Show version

DESCRIPTION
  Deletes a Package

ALIASES
  $ aio runtime pkg delete
  $ aio rt package delete
  $ aio rt pkg delete

See code: src/commands/runtime/package/delete.js

aio runtime package get PACKAGENAME

Retrieves a Package

USAGE
  $ aio runtime package get PACKAGENAME [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help]

FLAGS
  -i, --insecure        bypass certificate check
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --key=<value>         client key
  --version             Show version

DESCRIPTION
  Retrieves a Package

ALIASES
  $ aio runtime pkg get
  $ aio rt package get
  $ aio rt pkg get

See code: src/commands/runtime/package/get.js

aio runtime package list [NAMESPACE]

Lists all the Packages

USAGE
  $ aio runtime package list [NAMESPACE] [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-l <value>] [-s <value>] [-c] [--json] [--name-sort] [-n]

FLAGS
  -c, --count           show only the total number of packages
  -i, --insecure        bypass certificate check
  -l, --limit=<value>   only return LIMIT number of packages (min: 0, max: 50)
  -n, --name            sort results by name
  -s, --skip=<value>    exclude the first SKIP number of packages from the result
  -u, --auth=<value>    whisk auth
  -v, --verbose         Verbose output
  --apihost=<value>     whisk API host
  --apiversion=<value>  whisk API version
  --cert=<value>        client cert
  --debug=<value>       Debug level output
  --help                Show help
  --json                output raw json
  --key=<value>         client key
  --name-sort           sort results by name
  --version             Show version

DESCRIPTION
  Lists all the Packages

ALIASES
  $ aio runtime package ls
  $ aio runtime pkg list
  $ aio runtime pkg ls
  $ aio rt package list
  $ aio rt package ls
  $ aio rt pkg list
  $ aio rt pkg ls

See code: src/commands/runtime/package/list.js

aio runtime package update PACKAGENAME

Updates a Package

USAGE
  $ aio runtime package update PACKAGENAME [--cert <value>] [--key <value>] [--apiversion <value>] [--apihost <value>] [-u
    <value>] [-i] [--debug <value>] [-v] [--version] [--help] [-p <value>] [-P <value>] [--shared true|yes|false|no] [-a
    <value>] [-A <value>] [--json]

FLAGS
  -A, --annotation-file=<value>  FILE containing annotation values in JSON format
  -P, --param-file=<value>       parameter to be passed to the package for json file
  -a, --annotation=<value>...    annotation values in KEY VALUE format
  -i, --insecure                 bypass certificate check
  -p, --param=<value>...         parameters in key value pairs to be passed to the package
  -u, --auth=<value>             whisk auth
  -v, --verbose                  Verbose output
  --apihost=<value>              whisk API host
  --apiversion=<value>           whisk API version
  --cert=<value>                 client cert
  --debug=<value>                Debug level output
  --help                         Show help
  --json                         output raw json
  --key=<value>                  client key
  --shared=<option>              parameter to be passed to indicate whether package is shared or private
                                 <options: true|yes|false|no>
  --version                      Show version

DESCRIPTION
  Updates a Package

ALIASES
  $ aio runtime pkg update
  $ aio rt package update
  $ aio rt pkg update

See code: src/commands/runtime/package/update.js

aio runtime property

Execute property commands

USAGE
  $ aio runtime property [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Execute property commands

ALIASES
  $ aio runtime prop
  $ aio rt prop
  $ aio rt property

See code: src/commands/runtime/property/index.js

aio runtime property get

get property

USAGE
  $ aio runtime property get [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help] [--namespace] [--all] [--apibuild] [--apibuildno] [--cliversion]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --all            all properties
  --apibuild       whisk API build version
  --apibuildno     whisk API build number
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --cliversion     whisk CLI version
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --namespace      whisk namespace
  --version        Show version

DESCRIPTION
  get property

ALIASES
  $ aio runtime prop get
  $ aio rt property get
  $ aio rt prop get

See code: src/commands/runtime/property/get.js

aio runtime property set

set property

USAGE
  $ aio runtime property set [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help] [--namespace <value>]

FLAGS
  -i, --insecure       bypass certificate check
  -u, --auth           whisk auth
  -v, --verbose        Verbose output
  --apihost            whisk API host
  --apiversion         whisk API version
  --cert               client cert
  --debug=<value>      Debug level output
  --help               Show help
  --key                client key
  --namespace=<value>  whisk namespace
  --version            Show version

DESCRIPTION
  set property

ALIASES
  $ aio runtime prop set
  $ aio rt property set
  $ aio rt prop set

See code: src/commands/runtime/property/set.js

aio runtime property unset

unset property

USAGE
  $ aio runtime property unset [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help] [--namespace]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --namespace      whisk namespace
  --version        Show version

DESCRIPTION
  unset property

ALIASES
  $ aio runtime prop unset
  $ aio rt property unset
  $ aio rt prop unset

See code: src/commands/runtime/property/unset.js

aio runtime rule

Manage your rules

USAGE
  $ aio runtime rule [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage your rules

ALIASES
  $ aio rt rule

See code: src/commands/runtime/rule/index.js

aio runtime rule create NAME TRIGGER ACTION

Create a Rule

USAGE
  $ aio runtime rule create NAME TRIGGER ACTION [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>]
    [-v] [--version] [--help] [--json]

ARGUMENTS
  NAME     Name of the rule
  TRIGGER  Name of the trigger
  ACTION   Name of the action

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --json           output raw json
  --key            client key
  --version        Show version

DESCRIPTION
  Create a Rule

ALIASES
  $ aio rt rule create

See code: src/commands/runtime/rule/create.js

aio runtime rule delete NAME

Delete a Rule

USAGE
  $ aio runtime rule delete NAME [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help] [--json]

ARGUMENTS
  NAME  Name of the rule

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --json           output raw json
  --key            client key
  --version        Show version

DESCRIPTION
  Delete a Rule

ALIASES
  $ aio rt rule delete

See code: src/commands/runtime/rule/delete.js

aio runtime rule disable NAME

Disable a Rule

USAGE
  $ aio runtime rule disable NAME [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

ARGUMENTS
  NAME  Name of the rule

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Disable a Rule

ALIASES
  $ aio rt rule disable

See code: src/commands/runtime/rule/disable.js

aio runtime rule enable NAME

Enable a Rule

USAGE
  $ aio runtime rule enable NAME [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

ARGUMENTS
  NAME  Name of the rule

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Enable a Rule

ALIASES
  $ aio rt rule enable

See code: src/commands/runtime/rule/enable.js

aio runtime rule get NAME

Retrieves a Rule

USAGE
  $ aio runtime rule get NAME [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

ARGUMENTS
  NAME  Name of the rule

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Retrieves a Rule

ALIASES
  $ aio rt rule get

See code: src/commands/runtime/rule/get.js

aio runtime rule list

Retrieves a list of Rules

USAGE
  $ aio runtime rule list [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help] [-l <value>] [-s <value>] [-c] [--json] [--name-sort] [-n]

FLAGS
  -c, --count          show only the total number of rules
  -i, --insecure       bypass certificate check
  -l, --limit=<value>  Limit number of rules returned (min: 0, max: 50)
  -n, --name           sort results by name
  -s, --skip=<value>   Skip number of rules returned
  -u, --auth           whisk auth
  -v, --verbose        Verbose output
  --apihost            whisk API host
  --apiversion         whisk API version
  --cert               client cert
  --debug=<value>      Debug level output
  --help               Show help
  --json               output raw json
  --key                client key
  --name-sort          sort results by name
  --version            Show version

DESCRIPTION
  Retrieves a list of Rules

ALIASES
  $ aio runtime rule ls
  $ aio rt rule list
  $ aio rt rule ls

See code: src/commands/runtime/rule/list.js

aio runtime rule status NAME

Gets the status of a rule

USAGE
  $ aio runtime rule status NAME [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

ARGUMENTS
  NAME  Name of the rule

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Gets the status of a rule

ALIASES
  $ aio rt rule status

See code: src/commands/runtime/rule/status.js

aio runtime rule update NAME TRIGGER ACTION

Update a Rule

USAGE
  $ aio runtime rule update NAME TRIGGER ACTION [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>]
    [-v] [--version] [--help] [--json]

ARGUMENTS
  NAME     Name of the rule
  TRIGGER  Name of the trigger
  ACTION   Name of the action

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --json           output raw json
  --key            client key
  --version        Show version

DESCRIPTION
  Update a Rule

ALIASES
  $ aio rt rule update

See code: src/commands/runtime/rule/update.js

aio runtime trigger

Manage your triggers

USAGE
  $ aio runtime trigger [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help]

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Manage your triggers

ALIASES
  $ aio rt trigger

See code: src/commands/runtime/trigger/index.js

aio runtime trigger create TRIGGERNAME

Create a trigger for Adobe I/O Runtime

USAGE
  $ aio runtime trigger create TRIGGERNAME [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v]
    [--version] [--help] [-p <value>] [-P <value>] [-a <value>] [-A <value>] [-f <value>]

ARGUMENTS
  TRIGGERNAME  The name of the trigger

FLAGS
  -A, --annotation-file=<value>  FILE containing annotation values in JSON format
  -P, --param-file=<value>       FILE containing parameter values in JSON format
  -a, --annotation=<value>...    annotation values in KEY VALUE format
  -f, --feed=<value>             trigger feed ACTION_NAME
  -i, --insecure                 bypass certificate check
  -p, --param=<value>...         parameter values in KEY VALUE format
  -u, --auth                     whisk auth
  -v, --verbose                  Verbose output
  --apihost                      whisk API host
  --apiversion                   whisk API version
  --cert                         client cert
  --debug=<value>                Debug level output
  --help                         Show help
  --key                          client key
  --version                      Show version

DESCRIPTION
  Create a trigger for Adobe I/O Runtime

ALIASES
  $ aio rt trigger create

See code: src/commands/runtime/trigger/create.js

aio runtime trigger delete TRIGGERPATH

Delete a trigger for Adobe I/O Runtime

USAGE
  $ aio runtime trigger delete TRIGGERPATH [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v]
    [--version] [--help]

ARGUMENTS
  TRIGGERPATH  The name of the trigger, in the format /NAMESPACE/NAME

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Delete a trigger for Adobe I/O Runtime

ALIASES
  $ aio rt trigger delete

See code: src/commands/runtime/trigger/delete.js

aio runtime trigger fire TRIGGERNAME

Fire a trigger for Adobe I/O Runtime

USAGE
  $ aio runtime trigger fire TRIGGERNAME [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v]
    [--version] [--help] [-p <value>] [-P <value>]

ARGUMENTS
  TRIGGERNAME  The name of the trigger

FLAGS
  -P, --param-file=<value>  FILE containing parameter values in JSON format
  -i, --insecure            bypass certificate check
  -p, --param=<value>...    parameter values in KEY VALUE format
  -u, --auth                whisk auth
  -v, --verbose             Verbose output
  --apihost                 whisk API host
  --apiversion              whisk API version
  --cert                    client cert
  --debug=<value>           Debug level output
  --help                    Show help
  --key                     client key
  --version                 Show version

DESCRIPTION
  Fire a trigger for Adobe I/O Runtime

ALIASES
  $ aio rt trigger fire

See code: src/commands/runtime/trigger/fire.js

aio runtime trigger get TRIGGERPATH

Get a trigger for Adobe I/O Runtime

USAGE
  $ aio runtime trigger get TRIGGERPATH [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v]
    [--version] [--help]

ARGUMENTS
  TRIGGERPATH  The name/path of the trigger, in the format /NAMESPACE/NAME

FLAGS
  -i, --insecure   bypass certificate check
  -u, --auth       whisk auth
  -v, --verbose    Verbose output
  --apihost        whisk API host
  --apiversion     whisk API version
  --cert           client cert
  --debug=<value>  Debug level output
  --help           Show help
  --key            client key
  --version        Show version

DESCRIPTION
  Get a trigger for Adobe I/O Runtime

ALIASES
  $ aio rt trigger get

See code: src/commands/runtime/trigger/get.js

aio runtime trigger list

Lists all of your triggers for Adobe I/O Runtime

USAGE
  $ aio runtime trigger list [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v] [--version]
    [--help] [-l <value>] [-s <value>] [-c] [--json] [--name-sort] [-n]

FLAGS
  -c, --count          show only the total number of triggers
  -i, --insecure       bypass certificate check
  -l, --limit=<value>  [default: 30] only return LIMIT number of triggers (min: 0, max: 50)
  -n, --name           sort results by name
  -s, --skip=<value>   exclude the first SKIP number of triggers from the result
  -u, --auth           whisk auth
  -v, --verbose        Verbose output
  --apihost            whisk API host
  --apiversion         whisk API version
  --cert               client cert
  --debug=<value>      Debug level output
  --help               Show help
  --json               output raw json
  --key                client key
  --name-sort          sort results by name
  --version            Show version

DESCRIPTION
  Lists all of your triggers for Adobe I/O Runtime

ALIASES
  $ aio runtime trigger ls
  $ aio rt trigger list
  $ aio rt trigger ls

See code: src/commands/runtime/trigger/list.js

aio runtime trigger update TRIGGERNAME

Update or create a trigger for Adobe I/O Runtime

USAGE
  $ aio runtime trigger update TRIGGERNAME [--cert] [--key] [--apiversion] [--apihost] [-u] [-i] [--debug <value>] [-v]
    [--version] [--help] [-p <value>] [-P <value>] [-a <value>] [-A <value>]

ARGUMENTS
  TRIGGERNAME  The name of the trigger

FLAGS
  -A, --annotation-file=<value>  FILE containing annotation values in JSON format
  -P, --param-file=<value>       FILE containing parameter values in JSON format
  -a, --annotation=<value>...    annotation values in KEY VALUE format
  -i, --insecure                 bypass certificate check
  -p, --param=<value>...         parameter values in KEY VALUE format
  -u, --auth                     whisk auth
  -v, --verbose                  Verbose output
  --apihost                      whisk API host
  --apiversion                   whisk API version
  --cert                         client cert
  --debug=<value>                Debug level output
  --help                         Show help
  --key                          client key
  --version                      Show version

DESCRIPTION
  Update or create a trigger for Adobe I/O Runtime

ALIASES
  $ aio rt trigger update

See code: src/commands/runtime/trigger/update.js

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

aio-cli-plugin-runtime's People

Contributors

alexkli avatar amulyakashyap09 avatar arjuncooliitr avatar buskamuza avatar ddragosd avatar dependabot[bot] avatar dm-devtech avatar drewml avatar dylandepass avatar florind12 avatar gjmarques avatar goya avatar greenkeeper[bot] avatar himavanth avatar joni-jones avatar justinedelson avatar medusalix avatar michaelgoberling avatar moritzraho avatar purplecabbage avatar rabbah avatar sandeep-paliwal avatar shazron avatar snyk-bot avatar solaris007 avatar yesil avatar yu1986 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aio-cli-plugin-runtime's Issues

apihost name does not tolerate trailing slash

Describe the bug
Similar to the issue reported here apache/openwhisk-cli#481, a trailing / on the API host also causes a failure in aio.

To Reproduce

> ./bin/run runtime:action:list --apihost https://example.com/
 ›   Error: failed to list the actions: 404 Not Found
 ›     specify --verbose flag for more information

With the --verbose setting:

  aio-cli-plugin-runtime OpenWhiskError: GET https://example.com//api/v1/namespaces/_/actions Returned HTTP 404 (Not Found) --> "Response Missing Error Message."

Expected behavior
A trailing slash should be ignored.

Cannot delete an action while specifying auth and apihost

Describe the bug
Action delete does not accept auth and apihost parameters.

To Reproduce
Steps to reproduce the behavior:

> ./bin/run runtime:action:delete foo --auth key --apihost aio-host
 ›   Error: Unexpected arguments: --auth, ..., --apihost, ...
 ›   See more help with --help

Expected behavior
Delete should accept ...RuntimeBaseCommand.flags, as other commands do.

package update wipes previous state

Describe the bug
When updating a package (this applies to other entities, see #70 for example), without specifying any additional parameters, any attached parameters are also wiped even when not specifying new parameters. This is divergent from wsk.

To Reproduce

  1. create a package or binding with a parameter
  2. run package update (no additional parameters)
  3. get package or binding and observe previously bound parameters are gone

Expected behavior
Expecting parameters to stick around.

Additional context
Add any other context about the problem here.

Support action create --docker

I'm opening this since I see a WIP for adding this feature #114.

Feature Request:

Add support for action create with --docker images and artifacts

... action create x --docker image t.zip

Same as

wsk action create x --docker image t.zip

An implementation of this feature is available on this branch master...rabbah:docker.

enhance action create with env variables

Describe the bug
This was missed in the recently merged PR #103. The -P flag is overloaded to mean read params from file and read env from file. This is a copy/paste bug, the intent was to use -E.

https://github.com/adobe/aio-cli-plugin-runtime/pull/103/files#diff-6d51d7a8679a906a9bfdaf1a8b017006R207

Thanks to @purplecabbage for pointing this out. We were both surprised oclif didn't barf at this.

As an enhancement, Jesse also suggested supporting reading the value of an env var from the shell environemnt, so that you can do ... action create myAction -e FOO which is syntactic sugar for ... action create myAction -e FOO $FOO. I think this is neat/convenient (perhaps to be considered separately as an enhancement).

apihost name does not tolerate comment

Describe the bug
Create a .wskprop file with

AUTH=23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP
APIHOST=https://localhost #:3233

Then:

./bin/run runtime:namespace:get  -i -v
  aio-cli-config reading config: /Users/rabbah/.config/aio +0ms
  aio-cli-config reading config: /Users/rabbah/projects/aio-cli-plugin-runtime/.aio +2ms
  aio-cli-plugin-runtime { apiversion: 'v1',
  aio-cli-plugin-runtime   apihost: 'https://localhost #:3233',
  aio-cli-plugin-runtime   api_key:
  aio-cli-plugin-runtime    '23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP',
  aio-cli-plugin-runtime   ignore_certs: true } +0ms
  aio-cli-plugin-runtime OpenWhiskError: GET https://localhost/namespaces/_/actions#:3233/api/v1/ Returned HTTP 404 (Not Found) --> "The requested resource could not be found."
  aio-cli-plugin-runtime     at Client.handleErrors (/Users/rabbah/projects/aio-cli-plugin-runtime/node_modules/openwhisk/lib/client.js:216:11)
  aio-cli-plugin-runtime     at params.then.catch.err (/Users/rabbah/projects/aio-cli-plugin-runtime/node_modules/openwhisk/lib/client.js:147:58)
  aio-cli-plugin-runtime     at process._tickCallback (internal/process/next_tick.js:68:7) +48ms
 ›   Error: failed to get the data for a namespace: the requested resource could not be found. (404 Not Found)
 ›     specify --verbose flag for more information

Notice the host being used in the URI includes the # ... comment from the property file.

Clean up default flag values that do not need to be specified

There are numerous places where the flags are defined for a subcommand and they specify default values.

ex.

ActionCreate.flags = {
  ...RuntimeBaseCommand.flags,
  'param': flags.string({
    char: 'p',
    description: 'parameter values in KEY VALUE format', // help description for flag
    hidden: false, // hide from help
    multiple: true, // allow setting this flag multiple times
    required: false
  }), ...

'hidden': false is not required as that is the default for flags already.

The majority of this is the result of copy/paste, it could be cleaned up a lot.

trigger fire parameters are not passed to trigger

Describe the bug
... trigger fire t -p a A should pass the parameter{a: "A"} to the action implied by the rule but currently no parameters are passed. You can see this by looking at the activation of the trigger and seeing that the result property is {}.

To Reproduce
Steps to reproduce the behavior:

  1. Create action, trigger, rule
  2. Fire trigger with -p ...
  3. Check activation record for the trigger

Expected behavior
Parameters should be passed to the action and recorded in the activation id.

omit code on action get

Is your feature request related to a problem? Please describe.
When doing action get, omit the code by default. Instead only fetch the code with --save[-as].

Describe the solution you'd like
The code part of an action could be quite large. The API host allows the omission of the code property from the response. This would reduce unnecessary fetches from the API host while also keeping the action get result compact.

The API call becomes:
api/v1/namespaces/_/actions/<name>?code=false

(note this enhancement would also match wsk action get behavior.)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Tests are tied to implementation too closely

All commands flag tests test for the specific values of the flags.
This means that we essentially have written the same code in the test+implementation, and if we ever want to change the implementation we have to do it in 2 places.

example:

ActionList.flags = {
  ...RuntimeBaseCommand.flags,
  // example usage:  aio runtime:action:list --limit 10 --skip 2
  'limit': flags.integer({
    char: 'l',
    description: 'only return LIMIT number of actions from the collection (default 30)',
    hidden: false, // hide from help
    multiple: false, // allow setting this flag multiple times
    required: false // not mandatory
  }),
  'skip': flags.integer({
    char: 's',
    description: 'exclude the first SKIP number of actions from the result',
    multiple: false, // allow setting this flag multiple times
    required: false // not mandatory
  }),
  'json': flags.boolean({
    description: 'output raw json'
  })
}

and the test:

test('flags', async () => {
  expect(TheCommand.flags).toMatchObject({
    'limit': {
      'char': 'l',
      'description': 'only return LIMIT number of actions from the collection (default 30)',
      'hidden': false,
      'multiple': false,
      'required': false
    },
    'skip': {
      'char': 's',
      'description': 'exclude the first SKIP number of actions from the result',
      'multiple': false,
      'required': false
    }
  })
})

support environment variables for action create/update/invoke

Is your feature request related to a problem? Please describe.
Does AIO support parameters as environment variables? These are parameters which are declared as "init" time parameters in the REST API call.

Describe the solution you'd like
Environment parameters unlike regular parameters in OpenWhisk are provided at init time only. In the REST API they carry at special designation. If AIO supports environment parameters, then adding support to the CLI for specifying them would be helpful.

wsk action create hello --env NAME world

for example where --env (or -e) for short adds a parameter designated as init time (available in process.env at initialization time).

The cli can treat as error whether there are conflicting parameters specified:

-p NAME foo -e NAME bar

the CLI can reject this or define a precedence order (environment parameters trump others for example).

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
A quick prototype is available here rabbah@651602f as a proof of concept.

If this is desirable, I can PR it.

An in-range update of eslint-plugin-jest is breaking the build 🚨

The devDependency eslint-plugin-jest was updated from 22.5.1 to 22.6.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details

Release Notes for v22.6.0

22.6.0 (2019-05-22)

Features

Commits

The new version differs by 9 commits.

  • 14d83ef feat(rules): add no-commented-out rule (#262)
  • 83ff198 chore: migrate no-jest-import to typescript (#259)
  • 718c08c chore: upgrade @typescript-eslint
  • ca2aa27 chore: port lowercase-name to TypeScript (#258)
  • 3df0058 chore(ci): run danger with lts version of node
  • 48e3a59 chore: precompile with babel (#257)
  • 8670804 chore: bump deps
  • 05eb11a chore: fix lint error
  • dff6446 docs: link to eslint-plugin-jest-formatting

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Add activation last logs shortcut

Is your feature request related to a problem? Please describe.
As noted in adobe/aio-cli#77, these wsk flags are not available on > aio runtime:activation get --help.

> wsk activation get -h
get activation
Usage:
  wsk activation get (ACTIVATION_ID | --last) [FIELD_FILTER] [flags]

Flags:
  -l, --last      retrieves the last activation
  -g, --logs      emit only the logs, stripped of time stamps and stream identifier
  -s, --summary   summarize activation details

The ability to get the last activation logs is quite handy.

Describe the solution you'd like
Add support for --last --logs which retrieves the last activation's logs (and strips the time markers from each log line for readability.

Additional context
Happy to submit a PR to implement this.

ACNA-290 - Runtime API calls should set user-agent

Is your feature request related to a problem? Please describe.
We cannot differentiate calls to the wsk rest api made by our client, and/or wsk/wskdeploy cli

Describe the solution you'd like
An adobe-runtime specific user agent

Activations with empty annotations break `aio rt activation list`

Describe the bug
If for some reason, aio rt activation list returns some activations with an empty array as value for the annotations field, the command breaks while attempting to display this annotation.

To Reproduce
Steps to reproduce the behavior:

  1. Simulate an activation with empty annotation field to be displayed by the command
  2. Example of faulty activation object:

{ activationId: 'xxxxxxx', annotations: [], name: 'formSubmitTrigger', namespace: 'mynamespace-qa', publish: false, start: 1578904620503, statusCode: 0, version: '0.0.1' }

  1. Verbose output of the command:

aio-cli-plugin-runtime { apiversion: 'v1', aio-cli-plugin-runtime apihost: 'https://adobeioruntime.net', aio-cli-plugin-runtime namespace: 'mynamespace-qa', aio-cli-plugin-runtime api_key: aio-cli-plugin-runtime 'xxx:yyy' } +0ms aio-cli-plugin-runtime TypeError: Cannot read property 'value' of undefined aio-cli-plugin-runtime at Object.get (/Users/username/.nvm/versions/node/v10.14.0/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-cli-plugin-runtime/src/commands/runtime/activation/list.js:67:17) aio-cli-plugin-runtime at rows.data.map.d (/Users/username/.nvm/versions/node/v10.14.0/lib/node_modules/@adobe/aio-cli/node_modules/cli-ux/lib/styled/table.js:48:31) aio-cli-plugin-runtime at Array.map (<anonymous>) aio-cli-plugin-runtime at Table.display (/Users/username/.nvm/versions/node/v10.14.0/lib/node_modules/@adobe/aio-cli/node_modules/cli-ux/lib/styled/table.js:45:30) aio-cli-plugin-runtime at Object.table (/Users/username/.nvm/versions/node/v10.14.0/lib/node_modules/@adobe/aio-cli/node_modules/cli-ux/lib/styled/table.js:263:39) aio-cli-plugin-runtime at ActivationList.run (/Users/username/.nvm/versions/node/v10.14.0/lib/node_modules/@adobe/aio-cli/node_modules/@adobe/aio-cli-plugin-runtime/src/commands/runtime/activation/list.js:97:15) aio-cli-plugin-runtime at process._tickCallback (internal/process/next_tick.js:68:7) +265ms › Error: failed to list the activations: Cannot read property 'value' of undefined › specify --verbose flag for more information

Expected behavior
Rather, the command should display successfuly the activations, which have annotation metadata array populated.
It should also display the available metadata of the activations and skip the annotation metadata array if this one is empty.

Screenshots
See logs above

Desktop (please complete the following information):
Applies for all desktop clients

Clean up numerous classnames

All commands define their own classname even though it is not visible to other code.

example from commands/runtime/action/create.js

class ActionCreate extends RuntimeBaseCommand {
}
...
module.exports = ActionCreate

Ideally these should all just be Command or something generic, and they should all be the same, much like the way the tests all specify the commands they are testing with : const TheCommand = require('..

activation list does not understand trigger activations

Describe the bug
activation list doesn't understand trigger activations.

> ... activation list
Datetime              Activation ID                    Kind      Start     Duration    Status    Entity                  
2/12/2020, 9:21:17 AM e436f6ef7bc64661b6f6ef7bc656614e undefined undefined undefinedms undefined undefined               
2/12/2020, 9:20:23 AM a8b8da65cc07464db8da65cc07064db7 undefined undefined undefinedms undefined undefined               
2/12/2020, 9:18:58 AM d90056669ff04a878056669ff09a8772 undefined undefined undefinedms undefined undefined      

To Reproduce
Steps to reproduce the behavior:

  1. create triggers
  2. invoke triggers
  3. run activation list

Expected behavior
The columns should emit proper values for triggers.

sequence creation does not recognize between fully qualified names

Describe the bug
The implementation of create sequence components does not distinguish between name, package/name and namespace/package/name.

function createComponentsfromSequence (sequenceAction, ns) {
const objSequence = {}
objSequence['kind'] = 'sequence'
// The components array requires fully qualified names [/namespace/package_name/action_name] of all the actions passed as sequence
sequenceAction = sequenceAction.map(sequence => {
return `/${ns}/${sequence}`
})
objSequence['components'] = sequenceAction
return objSequence
}

Suggest using the openwhisk package for fully qualified names to deal with component names orrectly.
https://www.npmjs.com/package/openwhisk-fqn

To Reproduce
Create an action foo in namespace guest
Then create a sequence s with --sequence /guest/a and the helper will prefix the namespace so the action is /guest/guest/a which is invalid.

Additionally for the default namespace, the cli should use _ since the opts.namespace property is not required in openwhisk itself.

Expected behavior
Support create a sequence from proper fully qualified names.

Runtime deploy, support env variables in manifest.yaml

wskdeploy supports setting ${MYENV} in the manifest.yaml file
It would be great to have the same feature for aio runtime deploy

In the meantime, here is a dirty workaround to replace all ${ENVNAME}s with their content. Then one can run MYENV=myenv aio runtime deploy -m newmanifest.yml :

const manifest = yaml.safeLoad(fs.readFileSync('manifest.yml', 'utf8'))
const manifestString = yaml.safeDump()
  .replace(/'(\${.*}?)'/g, a => {
  const envName = a.match(/\${(.*?)}/)[1]
  return process.env[envName]
})
fs.writeFileSync('newmanifest.yml, manifestString)

Cannot create action from a zip file

Describe the bug
I cannot create an aio action from a zip file. Is this expected to work? (There are tests for it.)

To Reproduce
Steps to reproduce the behavior:

  1. ./bin/run runtime:action:update foo foo.zip --kind nodejs:default
  2. See error from AIO API host
›   Error: failed to update the action: the request content was malformed:
 ›   could not deserialize as attachment record: 
 ›   {"data":[80,75 ...],"type":"buffer"} (400 Bad 
 ›   Request)
 ›     specify --verbose flag for more information

Expected behavior
Expecting to be able to create a node action from a zip file.

Desktop (please complete the following information):

  • OS: OSX 10.14.6

Additional context
I am on master d22673f.

ACNA-296 - Remove `namespace` from .wskprops

Motivation

apache/openwhisk-cli#434

The namespace key came during a time in Openwhisk when the auth key maps to one or more namespaces. Now, there is a 1:1 mapping of auth key and namespace.

However, if we remove this key, the user can't really tell which namespace they are using at a glance, so it might serve an informational purpose still. But according to the openwhisk issue above, it can lead to surprising failures when namespace doesn't match the auth key. I think this should be a server bug however (they should ignore the namespace key).

Expected Behaviour

No namespace key and value in .wskprops

Actual Behaviour

There is a namespace key and value in .wskprops

Line

https://github.com/adobe/aio-cli-plugin-console/blob/master/src/commands/console/select-integration.js#L63

action update wipes previous state of action

Describe the bug
Create an action, then update it only to attach a new parameter or annotation. This will wipe the code attached to the action so that subsequent invokes fail. Opening this is a bug because this is very different from wsk's implementation which permits updating an action piecemeal.

To Reproduce

> ./bin/run runtime:action:create foo ~/projects/openwhisk/tests/dat/actions/hello.js 
> ./bin/run runtime:action:invoke foo -p payload world -r
{
  "payload": "hello, world!"
}
> ./bin/run runtime:action:update foo -p payload world 
> ./bin/run runtime:action:invoke foo -r
 ›   Error: failed to invoke the action: 502 Bad Gateway
 ›     specify --verbose flag for more information
> ./bin/run runtime:action:get foo --save && cat foo.js

Expected behavior
Expecting a parameter update to just attach the parameters, not affect the entire action.

ACNA-324 - Support package binding through deploy command

Is your feature request related to a problem? Please describe.
Support package binding through deploy command

Describe the solution you'd like
manifest.yml should have the following structure for a package binding
packages:
adobe-oauth:
dependencies:
# binding to shared oauth package
myauthp-shared:
location: /adobeio/oauth

trigger fire should emit activation id

Is your feature request related to a problem? Please describe.
When you fire a trigger, the CLI is silent on return. It doesn't emit the activation id for the trigger.

> ./bin/run runtime:trigger:fire mytrigger
>

Describe the solution you'd like
Just like action invoke (that's not blocking), firing a trigger should emit the activation id.

> ./bin/run runtime:trigger:fire mytrigger
{
  "activationId": "c6836111ae694184836111ae69f184e2"
}

Describe alternatives you've considered
The alternative is to get activations from the list command.

ACNA-256 - Crashes if non existing WSK_CONFIG_FILE while setting WHISK_* vars

Describe the bug
I want to deploy my resources based solely on environment vars and make sure vars in my .wskprops file are not parsed.

In wsk I can set the WSK_CONFIG_FILE to a non existing file and set WHISK_* env vars to define my namespace, auth and apihost.

In aio runtime if WSK_CONFIG_FILE is not existing an error is raised

Also aio runtime list and aio runtime deploy do not raise the same error

To Reproduce

In wsk I can do:
WSK_CONFIG_FILE=doesnotexist WHISK_NAMESPACE=<ns> WHISK_AUTH=<auth> WHISK_APIHOST=<apihost> wsk list

aio runtime list:

$ WSK_CONFIG_FILE=doesnotexist WHISK_NAMESPACE=<ns> WHISK_AUTH=<auth> WHISK_APIHOST=<apihost> aio runtime list
›   Error: failed to get the data for a namespace: {}

aio runtime deploy:

$ WSK_CONFIG_FILE=doesnotexist WHISK_NAMESPACE=<ns> WHISK_AUTH=<auth> WHISK_APIHOST=<apihost> aio runtime deploy
›   Error: Failed to deploy: OpenWhisk config file 'doesnotexist' does not exist.

A simple workaround is to touch doesnotexist before and then it works just fine.

Expected behavior
No error or uniform error message

Desktop (please complete the following information):
@adobe/aio-cli/1.4.1 darwin-x64 node-v10.15.3

log test is throwing exception

Describe the bug
this test:

test('throws error retrieve logs of an activation', () => {

is reporting an error when executing - I'm unsure what this test is doing to offer a fix.

To Reproduce

> ./node_modules/.bin/jest --clearCache && npm run test -- -i test/commands/runtime/activation/logs.test.js 

> @adobe/[email protected] test /Users/rabbah/projects/aio-cli-plugin-runtime
> npm run unit-tests "-i" "test/commands/runtime/activation/logs.test.js"

> @adobe/[email protected] unit-tests /Users/rabbah/projects/aio-cli-plugin-runtime
> jest --ci "test/commands/runtime/activation/logs.test.js"

(node:73864) UnhandledPromiseRejectionWarning: Error: failed to retrieve logs for activation: Async error
 specify --verbose flag for more information
(node:73864) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:73864) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
 PASS  test/commands/runtime/activation/logs.test.js
  ○ skipped exports
  ○ skipped description
  ○ skipped aliases
  ○ skipped args
  ○ skipped flags
  instance methods
    run
      ✓ throws error retrieve logs of an activation (12ms)

Expected behavior
The test should pass without throwing any exceptions.

Additional context
On git log -1 119ca32353921aa56963a56cbbedcfe8b597e72e

action url contains "undefined" namespace if NAMESPACE not in wskprops

Describe the bug
The way the action command constructs the URL for an action (action:get --url), you can end up with an undefined value for the namespace if the client options are not fully resolved wrt the namespace. The client reads .wskprops and expects a NAMESPACE property.

const opts = ow.actions.client.options
this.log(`${opts.api}${web}/${opts.namespace}${actionValue}/${name}`)

Since the action is fetched anyway, why not use the API response to construct the URL since it contains the namespace?

In any case, the client namespace should properly be populated based on the auth key or reject missing values if otherwise required.

To Reproduce
Steps to reproduce the behavior:

1. remove NAMESPACE from .wskprops if it exists
1. touch foo.js
1. ./bin/run runtime:action:create foo foo.js
1. ./bin/run runtime:action:get foo --url
https://apihost/api/v1/namespaces/undefined/actions/foo

Expected behavior
Expect valid URL for action.

aio rt:activation:list does NOT work in Windows 10

After deploying app into IO, I ran "aio app run" in command prompt and then using the url under web-src/src/config.json, I invoked my app. Then I entered "aio rt:activation:list" in Terminal tab of VS code and I got the below error. I got the same error when I repeated these same steps with "aio app run --local". However, "wsk activation list" gave me the list of activation ids.
"aio rt:activation:list
aio : File C:\Users\mallicha\AppData\Roaming\npm\aio.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1

  • aio rt:activation:list
    • CategoryInfo : SecurityError: (:) [], PSSecurityException
    • FullyQualifiedErrorId : UnauthorizedAccess"

OS: Windows 10 Enterprise
Browse: Google Chrome - Version 79.0.3945.130 (Official Build) (64-bit)
aio --version --> @adobe/aio-cli/3.0.0 win32-x64 node-v12.13.1

Issue-ActicationList

An in-range update of eslint-plugin-jest is breaking the build 🚨

The devDependency eslint-plugin-jest was updated from 22.9.0 to 22.10.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details

Release Notes for v22.10.0

22.10.0 (2019-07-17)

Features

Commits

The new version differs by 7 commits.

  • 28bd1dc feat(rules): adds no-if rule (#293)
  • 7ebdc0e chore: enforce import destructure order
  • 31c7cef chore: convert to import/export (#302)
  • 9f858cb chore: delete tests instead of ignoring them with babel
  • c595ba0 chore: do not include tests in published tarball
  • 4b4eb78 chore: fix lint error in md file
  • d3ea720 chore(docs): fix typo (#304)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @adobe/aio-lib-core-config is breaking the build 🚨

The dependency @adobe/aio-lib-core-config was updated from 1.0.15 to 1.1.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@adobe/aio-lib-core-config is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details

Commits

The new version differs by 24 commits.

  • 019e817 Incremented version to 1.1.0
  • 4cf1e30 Remove node v.8 testing
  • f5a3598 chore(package): update eslint-plugin-jest to version 23.2.0 (#26)
  • f9d21b6 chore(package): update eslint-plugin-node to version 11.0.0 (#25)
  • 4a23791 chore(package): update eslint-plugin-jest to version 23.1.1 (#24)
  • ffc2b8e chore(package): update mock-stdin to version 1.0.0 (#22)
  • 07ba13c chore(package): update eslint-plugin-jest to version 23.0.4 (#21)
  • 8ddcf66 chore(package): update eslint-plugin-jest to version 23.0.3 (#20)
  • 2684ad4 Remove dep with pin for [email protected], [email protected] was released that patches the issue. (#18)
  • 47818f5 chore(package): update eslint-plugin-jest to version 23.0.2 (#15)
  • 3f8d8ee chore(package): update eslint-plugin-jest to version 22.19.0 (#12)
  • 45088ab Add .npmrc (no tag version prefix) (#13)
  • 3649863 Update bug_report.md
  • 45cdef8 Update CONTRIBUTING.md
  • e67e2f9 Update README.md

There are 24 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

make JSON output compatible with jq (for action:get among others)

Is your feature request related to a problem? Please describe.
When you action:get, you get the action's name printed before the JSON API response.

> ./bin/run runtime:action:get foo
foo
 { ... }

This makes the output incompatible with jq to project some subset of the values of interest. Since aio here diverges from wsk's output of "ok: got action foo", perhaps do it better by dropping the action name that's currently prefixing the JSON response.

Describe the solution you'd like

> ./bin/run runtime:action:get foo
 {
  "annotations": [
    {
      "key": "exec",
      "value": "nodejs:10"
    }
  ],
  "exec": {
    "kind": "nodejs:10",
    "binary": false
  },
  "limits": {
    "concurrency": 1,
    "logs": 10,
    "memory": 256,
    "timeout": 60000
  },
  "name": "foo",
  "namespace": "guest",
  "parameters": [],
  "publish": false,
  "version": "0.0.1"
}

Describe alternatives you've considered
Wrap the cli with another bash script.

aio runtime action get --url for full action id return wrong url

Describe the bug
For a web action, getting the url for it using the command aio runtime action get --url <action_id> returns a wrong url

To Reproduce
Steps to reproduce the behavior:

  1. Deploy a web action (resource) in a package (package) to a runtime namespace (namespace)
  2. List all action aio rt:ls and get the action id which will be something simiar to /namespace/package/resource
  3. Run aio runtime action get --url <action_id>, you will get a "wrong" url https://adobeioruntime.net/api/v1/web/namespace//namespace/package/resource

Expected behavior
The url should be https://adobeioruntime.net/api/v1/web/namespace/package/resource. You can get the correct url if you send action_id as package/resource only NOT /namespace/package/resource

Note that I get a correct URL if I use wsk CLI wsk action get --url <action_id> if action_id is in both formats.

Suggested solution
The result of wsk action get --url <action_id> should be returned instead of manually creating the url in this line `

OR In this line, ${name} shouldn't be used as it is the value of the input action name and this input value can be more than just the name including the package and namespace. And instead the action name value in the result should be used result.name

deleting a rule always emits the API response to console

Describe the bug

If you delete a rule, you'll get output like this printed to the console:

Rules Deleted! {
  "action": {
    "name": "x",
    "path": "rodricgm-h4nvfnjgdgg"
  },
  "annotations": [],
  "name": "r",
  "namespace": "rodricgm-h4nvfnjgdgg",
  "publish": false,
  "status": "inactive",
  "trigger": {
    "name": "periodic",
    "path": "rodricgm-h4nvfnjgdgg"
  },
  "updated": 1581260192275,
  "version": "0.0.1"
}

This is different from other delete commands which print the JSON output only if the --json flag is present. The rule delete command does not support this flag.

To Reproduce
Steps to reproduce the behavior:

  1. Create a trigger, action and a rule
  2. Delete the rule

Expected behavior
No output to console unless --json is provided.

ACNA-348 - Cannot create a sequence out of actions from shared packages

Describe the bug
I have a shared package in 'sharednamespace' and i am trying to create a sequence in 'mynamespace' namespace under 'mypackage' package using actions from the shared package.
The above results in error because deploy command prepends '/mynamespace' to the actions in the sequence. This works fine with the openwhisk rest api.

To Reproduce
Put the following in manifest.yml and run 'aio runtime deploy'
packages:
mypackage:
sequences:
authenticate:
actions: '/sharednamespace/sharedpackage/login'
web: 'yes'

Expected behavior
Sequence should be created.

Screenshots
NA

action get with save option fails for action in package

Describe the bug

If you have an action in a package and want to retrieve the source, the cli fails because it tries to open a file <package-name>/<action-name>.zip.

To Reproduce
Steps to reproduce the behavior:
Create an action bar in a package foo.
Run aio cli to action get foo/bar --save.

 ›   Error: failed to retrieve the action: ENOENT: no such file or directory, open 'foo/bar.zip'

Expected behavior
The file bar.zip should have been created/saved.

action invoke on timed out/demoted activation response throws exception

Describe the bug
If you executing a result only (action invoke --result) action and it exceeds the wait time allowed by the backend controller, the requests is demoted to an asynchronous request (API response code is 202) and the result is { activationId }.

> ... action invoke name -r --verbose
  aio-cli-plugin-runtime TypeError: Cannot read property 'result' of undefined
  aio-cli-plugin-runtime     at invoke.then.result (/.../node_modules/@adobe/aio-cli-plugin-runtime/node_modules/openwhisk/lib/actions.js:48:67)
  aio-cli-plugin-runtime     at process._tickCallback (internal/process/next_tick.js:68:7) +1m
 ›   Error: failed to invoke the action: Cannot read property 'result' of undefined
 ›     specify --verbose flag for more information

The deficiency comes from the npm openwhisk library itself apache/openwhisk-client-js#198.

To Reproduce
Steps to reproduce the behavior:

  1. Create an action with a time limit greater than 60s
  2. Invoke the action with --result
  3. See error

Expected behavior
The CLI should detect the demotion and output a message:

Your request took longer than expected. Use activation id ... to retrieve the results later.

I have a patch for this bug which works around the npm openwhisk issue while waiting for a proper fix from the Apache project. I am happy to open a PR now or wait (which removes hacking around the openwhisk client).

An in-range update of eslint-plugin-jest is breaking the build 🚨

The devDependency eslint-plugin-jest was updated from 23.0.3 to 23.0.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • codecov/project: 100% remains the same compared to 2e4b21e (Details).
  • codecov/patch: Coverage not affected when comparing 2e4b21e...ec38ecd (Details).
  • Travis CI - Branch: The build passed.
  • Build Failed: Workflow Error
  • Build Failed: Workflow Error

Release Notes for v23.0.4

23.0.4 (2019-11-14)

Bug Fixes

  • get correct ruleName without specifying file extension (#473) (f09203e)
Commits

The new version differs by 4 commits.

  • c5647f2 chore(release): 23.0.4 [skip ci]
  • f09203e fix: get correct ruleName without specifying file extension (#473)
  • b4868be chore(deps): lock file maintenance (#472)
  • 4fd9eea chore: update prettier

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of codecov is breaking the build 🚨

The devDependency codecov was updated from 3.6.4 to 3.6.5.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

codecov is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

action invoke -r for action returning error does not show result

Describe the bug

Create an action that errors as x.js

function main(params) {
    return new Promise(resolve => resolve(params.zoo.bar))
}
> ./bin/run runtime:action:create x x.js

and Invoke it:

./bin/run runtime:action:invoke -i x -r
 ›   Error: failed to invoke the action: 502 Bad Gateway
 ›     specify --verbose flag for more information

The result is the same for -b. The API response is 502 but contains an error object.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.