有没有办法(批量)删除 Fiware Orion 中的所有订阅?
Is there a way to (batch) delete all Subcriptions in Fiware Orion?
由于脚本中的一些错误,我有数千个订阅(超过 5000 个)。有什么办法可以全部删除吗?
我知道对于实体我可以使用 this batch delete script,但是,我不知道是否有类似的方法来删除订阅。关于订阅的 CRUD 操作甚至有批处理模式吗?
据我所知还没有,但是使用 shell 脚本和 curl 应该很容易做到。另一种选择是通过 mongoDB 集合,但这将是一种可能导致不一致的 hack ...
由于脚本中的一些错误,我有数千个订阅(超过 5000 个)。有什么办法可以全部删除吗?
我知道对于实体我可以使用 this batch delete script,但是,我不知道是否有类似的方法来删除订阅。关于订阅的 CRUD 操作甚至有批处理模式吗?
据我所知还没有,但是使用 shell 脚本和 curl 应该很容易做到。另一种选择是通过 mongoDB 集合,但这将是一种可能导致不一致的 hack ...