UNPKG

liveapicreator-admin-cli

Version:

The NodeJS command line utility for 'CA Live API Creator' DevOps Administration from CA Technologies

60 lines 1.74 kB
[ { "name": "MQTTListener", "description": "comments", "is_active": false, "code": "// Listener code goes here or check out examples ( see top right dropdown menu ) \n", "logging_level": 2, "provider_ident": 3, "connection": { "ident": 2003, "ts": "2017-12-28T15:32:20+00:00", "name": "MQTTConn", "description": "comments", "is_active": false, "connect_code": null, "disconnect_code": null, "provider_ident": 3, "project_ident": 2000, "@metadata": { "href": "http://localhost:8080/rest/abl/admin/v2/ListenerExport.connection/2003", "checksum": "A:6def3f37920232c1" } }, "ListenerParameters": [ { "value": "test", "type_ident": 1, "description": null, "@metadata": { "href": "http://localhost:8080/rest/abl/admin/v2/ListenerExport.ListenerParameters/2002", "checksum": "A:7e5001bae2aa70f3" } } ], "@metadata": { "action": "MERGE_INSERT", "key": [ "project_ident", "name" ] } }, { "name": "START", "description": null, "is_active": false, "code": "// This is only a very generic example\nvar json = listenerUtil.restPost(\n 'https://consul.rocks/v1/agent/members',\n {},\n {headers:\n {\"X-Consul-Token\": \"abcd1234\"}\n },\n {name: listenerUtil.getHostName()}\n);// Listener code goes here or check out examples ( see top right dropdown menu ) \n", "logging_level": 2, "provider_ident": 1, "connection": null, "ListenerParameters": [], "@metadata": { "action": "MERGE_INSERT", "key": [ "project_ident", "name" ] } } ]