How to use the iotagent-node-lib.clearAll function in iotagent-node-lib

To help you get started, we’ve selected a few iotagent-node-lib examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / multientityPlugin.js View on Github external
after(function(done) {
        async.series(
            [
                iotAgentLib.clearAll,
                iotagentLora.stop,
                async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'LORA-N-003'),
                async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'Mote001')
            ],
            done
        );
    });
github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / groupProvisioning.js View on Github external
after(function (done) {
        async.series([
            iotAgentLib.clearAll,
            iotagentLora.stop,
            async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'lora_unprovisioned_device:LoraDeviceGroup'),
            async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'lora_unprovisioned_device2:LoraDeviceGroup')
        ], done);
    });
github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / deviceProvisioning.js View on Github external
after(function (done) {
        async.series([
            iotAgentLib.clearAll,
            iotagentLora.stop,
            async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'LORA-N-003'),
            async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'LORA-N-001')
        ], done);
    });
github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / groupProvisioningTTN.js View on Github external
after(function(done) {
        async.series(
            [
                iotAgentLib.clearAll,
                iotagentLora.stop,
                async.apply(
                    utils.deleteEntityCB,
                    iotAgentConfig.iota.contextBroker,
                    service,
                    subservice,
                    'lora_unprovisioned_device:LoraDeviceGroup'
                ),
                async.apply(
                    utils.deleteEntityCB,
                    iotAgentConfig.iota.contextBroker,
                    service,
                    subservice,
                    'lora_unprovisioned_device2:LoraDeviceGroup'
                )
            ],
github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / groupProvisioningLoRaServerIo.js View on Github external
after(function(done) {
        async.series(
            [
                iotAgentLib.clearAll,
                iotagentLora.stop,
                async.apply(
                    utils.deleteEntityCB,
                    iotAgentConfig.iota.contextBroker,
                    service,
                    subservice,
                    'lora_unprovisioned_device:LoraDeviceGroup'
                ),
                async.apply(
                    utils.deleteEntityCB,
                    iotAgentConfig.iota.contextBroker,
                    service,
                    subservice,
                    'lora_unprovisioned_device2:LoraDeviceGroup'
                )
            ],
github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / deviceProvisioningTTN.js View on Github external
after(function(done) {
        async.series(
            [
                iotAgentLib.clearAll,
                iotagentLora.stop,
                async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'LORA-N-003'),
                async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'LORA-N-001')
            ],
            done
        );
    });
github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / staticProvisioningTTN.js View on Github external
afterEach(function(done) {
        async.series(
            [
                iotAgentLib.clearAll,
                iotagentLora.stop,
                async.apply(
                    utils.deleteEntityCB,
                    iotAgentConfig.iota.contextBroker,
                    service,
                    subservice,
                    'lora_unprovisioned_device:LoraDeviceGroup'
                )
            ],
            done
        );
    });
github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / staticProvisioningLoRaServerIo.js View on Github external
afterEach(function(done) {
        async.series(
            [
                iotAgentLib.clearAll,
                iotagentLora.stop,
                async.apply(
                    utils.deleteEntityCB,
                    iotAgentConfig.iota.contextBroker,
                    service,
                    subservice,
                    'lora_unprovisioned_device:LoraDeviceGroup'
                )
            ],
            done
        );
    });
github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / deviceProvisioningLoRaServerIo.js View on Github external
after(function(done) {
        async.series(
            [
                iotAgentLib.clearAll,
                iotagentLora.stop,
                async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'LORA-N-003'),
                async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'LORA-N-001')
            ],
            done
        );
    });
github Atos-Research-and-Innovation / IoTagent-LoRaWAN / test / unit / applicationServerDecoding.js View on Github external
after(function(done) {
        async.series(
            [
                iotAgentLib.clearAll,
                iotagentLora.stop,
                async.apply(utils.deleteEntityCB, iotAgentConfig.iota.contextBroker, service, subservice, 'LORA-N-003')
            ],
            done
        );
    });