删除 Apache Atlas VIA Rest API 中的关系

问题描述

我正在尝试使用 Apache Atlas 的 REST api 删除关系。类似的 cURL 命令如下。

curl --location --request DELETE 'https://atlas.mydomain.com:443/api/atlas/v2/relationship/guid/8fb66d88-bb69-4a8e-b891-bb7cfd8feffa' \
--data-raw ''

但是,这不会作为关系从 Atlas UI 中删除。我仍然看到实体的这种关系。但是,如果我按 guid 搜索实体,我会发现关系处于 DELETED 状态,这意味着我的 cURL 命令正在运行。

enter image description here

请指导解决这个问题。

最后,我意识到在启用硬删除的同时工作变得更容易、更好。您可以从配置中启用它。

conf/atlas-application.properties

atlas.DeleteHandlerV1.impl=org.apache.atlas.repository.store.graph.v1.HardDeleteHandlerV1

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...