macs - Application mashup command

This command manages mashable application components for WireCloud.

Common Options

Options Description
--host VALUE, -h VALUE broker or server host VALUE (required)
--help show help (default: true)

List mashable application components

This command lists mashable application components.

ngsi macs [options] list

Options

Options Description
--host VALUE, -h VALUE broker or server host VALUE (required)
--widget filtering widget (default: false)
--operator filtering operator (default: false)
--mashup filtering mashup (default: false)
--vender VALUE, -v VALUE vender name of mashable application component
--name VALUE, -n VALUE name of mashable application component
--version VALUE, -V VALUE version of mashable application component
--json, -j JSON format (default: false)
--pretty, -P pretty format (default: false)
--help show help (default: true)

Example

ngsi macs --host wirecloud list
CoNWeT/ngsientity2poi/3.2.2
CoNWeT/ngsi-source/4.0.0
CoNWeT/spy-wiring/1.0.3
FICODES/quantumleap-source/0.2.1
FISUDA/cesiumjs/0.3.0
FISUDA/deckgl/0.1.0
FISUDA/maplibregl/0.6.0
FISUDA/ol-map-ja/1.0.0
NGSIGO/test-widget/0.1.0

Get mashable application component

This command gets infomation of a mashable application component.

ngsi macs [options] get

Options

Options Description
--host VALUE, -h VALUE broker or server host VALUE (required)
--vender VALUE, -v VALUE vender name of mashable application component
--name VALUE, -n VALUE name of mashable application component
--version VALUE, -V VALUE version of mashable application component
--pretty, -P pretty format (default: false)
--help show help (default: true)

Example

ngsi macs --host wirecloud get --vender FISUDA --name maplibregl --version 0.6.0
ngsi macs --host wirecloud get FISUDA/maplibregl/0.6.0

Download mashable application component

This command downloads a mashable application component.

ngsi macs [options] downloads

Options

Options Description
--host VALUE, -h VALUE broker or server host VALUE (required)
--vender VALUE, -v VALUE vender name of mashable application component
--name VALUE, -n VALUE name of mashable application component
--version VALUE, -V VALUE version of mashable application component
--help show help (default: true)

Example

ngsi macs --host wirecloud download --vender FISUDA --name maplibregl --version 0.6.0
ngsi macs --host wirecloud download FISUDA/maplibregl/0.6.0

Install a mashable application component

This command installs a mashable application component.

ngsi macs [options] install 

Options

Options Description
--host VALUE, -h VALUE broker or server host VALUE (required)
--file VALUE, -f VALUE mashable application component file (required)
--public, -p install mashable application component as public (default: false)
--overwrite, -o overwrite mashable application component (default: false)
--json, -j JSON format (default: false)
--pretty, -P pretty format (default: false)
--help show help (default: true)

Example

ngsi macs --host wirecloud install --file NGSIGO_test-widget_0.2.0.wgt --overwirte
ngsi macs --host wirecloud install --overwirte NGSIGO_test-widget_0.2.0.wgt

Uninstall mashable application component

This command uninstalls mashable application component(s).

ngsi macs [options] uninstall 

Options

Options Description
--host VALUE, -h VALUE broker or server host VALUE (required)
--vender VALUE, -v VALUE vender name of mashable application component
--name VALUE, -n VALUE name of mashable application component
--version VALUE, -V VALUE version of mashable application component
--run run command (default: false)
--json, -j JSON format (default: false)
--pretty, -P pretty format (default: false)
--help show help (default: true)

Example

ngsi macs --host wirecloud uninstall --vender NGSIGO --name test-widget --version 0.2.0 --pretty --run
ngsi macs --host wirecloud uninstall --pretty --run NGSIGO/test-widget/0.2.0
ngsi macs --host wirecloud uninstall --vender NGSIGO --name test-widget --pretty --run
ngsi macs --host wirecloud uninstall --pretty --run NGSIGO/test-widget
{
  "affectedVersions": [
    "0.2.0"
  ]
}
 ngsi macs --host wirecloud uninstall --pretty --run NGSIGO/test-widget
{
  "affectedVersions": [
    "0.1.0",
    "0.2.0",
    "0.3.0"
  ]
}