Created 11-14-2018 10:19 AM
we need to create lineageinfo between two existed entities or new created entities, but can not find useful api, any help is aprreciated
Created 11-14-2018 07:51 PM
@haosheng lou, consider creating a process entity with inputs and outputs attributes.
e.g.
POST http://localhost:21000/api/atlas/v2/entity
{
"entity": {
"typeName": "Process",
"attributes": {
"description": null,
"name": "process1",
"owner": null,
"inputs": [
{
"guid": "cf3be027-1cbf-4109-a6b4-dabe980043a0",
"typeName": "DataSet"
}
],
"outputs": [
{
"guid": "8493a6a6-51c8-4106-a3dc-89eccb00833d",
"typeName": "DataSet"
}
],
"qualifiedName": "process1@cl1"
},
"guid": -1
},
"referredEntities": {}
}
Created 11-14-2018 07:51 PM
@haosheng lou, consider creating a process entity with inputs and outputs attributes.
e.g.
POST http://localhost:21000/api/atlas/v2/entity
{
"entity": {
"typeName": "Process",
"attributes": {
"description": null,
"name": "process1",
"owner": null,
"inputs": [
{
"guid": "cf3be027-1cbf-4109-a6b4-dabe980043a0",
"typeName": "DataSet"
}
],
"outputs": [
{
"guid": "8493a6a6-51c8-4106-a3dc-89eccb00833d",
"typeName": "DataSet"
}
],
"qualifiedName": "process1@cl1"
},
"guid": -1
},
"referredEntities": {}
}
Created 11-19-2018 08:32 AM
thank you very much, it works through you method!
Created 12-10-2018 09:13 AM
I get another error when create hive_process by rest api v2 , detail info in