SoftwareAG / cumulocity-lora

LoRa framework including implementations for TTN, Chirpstack, Kerlink Wanesy, Loriot, Actility, Objenious, Live Objects, Orbiwan as well as many codecs and still adding more, and lot of unique features such as user-friendly UI to send device commands, gateway management, codec IDE
Apache License 2.0
10 stars 2 forks source link

Unprovisioning device from C8Y fails #30

Closed haraldmeyer closed 3 years ago

haraldmeyer commented 3 years ago

When I want to deprovision a Objenious device from C8Y, I get the following error message:

The application requested these URL paths but your user is not allowed to access them PUT /service/actility/deprovision/2040

Is it a real issue or an application access permission problem (it is strange to make a request to Actility service) ?

cpoder commented 3 years ago

Apparently something is triggering the actility backend for some reason, probably because the framework is using the "provisioned" property which seems now to be used in a specific way by Cumulocity. If your tenant is subscribed to Actility microservice, maybe try to disable it to see if this behavior still occurs.

haraldmeyer commented 3 years ago

This happens when using the "Delete device" button from the All Devices list as this triggers the standard Actility deprovisioning feature. Devices should be de-provisioned from the LoRa framework specific UI.

As a separate change, the LoRa framework will be changed to not use the standard fragment that triggers the Actility feature.