Member since
09-03-2016
4
Posts
3
Kudos Received
0
Solutions
09-07-2016
07:36 AM
1 Kudo
I have a tag called "TestTag" which has three attributes namely attr1, attr2, attr3.
I have associated a hive_column 'employeeName' with tag "TestTag" and values given for the attributes while associating the hive column are "attr1: value1", "attr2: value2", "attr3:value3".
Now I want to search for all the entities which has the attribute 'attr1' with value 'value1'. So is there any APIs available or any other ways to find the same?
I am using atlas 0.7 version.
Thanks in advance.
... View more
Labels:
- Labels:
-
Apache Atlas
09-07-2016
06:54 AM
@Vadim Vaks
Thanks for the reply. I added the "X-XSRF-HEADER:valid" header and it worked in postman. 🙂 But from other Rest Client say "Advanced Rest Client", it worked without this header. And with the CURL its working fine as you said.
... View more
09-07-2016
06:52 AM
@Chethana Krishnakumar
Thanks for the answer. I added the said header and it worked in postman. :)
But from other Rest Client say "Advanced Rest Client", it worked without this header.
... View more
09-03-2016
06:08 AM
2 Kudos
POST : http://192.168.1.56:21000/api/atlas/types Body : {
"enumTypes": [],
"structTypes": [],
"traitTypes": [
{
"superTypes": [],
"hierarchicalMetaTypeName": "org.apache.atlas.typesystem.types.TraitType",
"typeName": "TagColumn_56_Api",
"attributeDefinitions": [
{
"testAttrKey": "TestAttrValue"
}
]
}
],
"classTypes": []
}
Response: {
"msgDesc": "Missing Required Header for CSRF Vulnerability Protection"
}
I am passing the credential from Authorization tab. what should I pass in the header? Please suggest the solution.
Thanks in Advance.
... View more
Labels:
- Labels:
-
Apache Atlas