You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Keval Bhatt (JIRA)" <ji...@apache.org> on 2017/02/07 09:36:41 UTC

[jira] [Created] (ATLAS-1532) In Audit list details attribute returns incorrect JSON format

Keval Bhatt created ATLAS-1532:
----------------------------------

             Summary: In Audit list details attribute returns incorrect JSON format
                 Key: ATLAS-1532
                 URL: https://issues.apache.org/jira/browse/ATLAS-1532
             Project: Atlas
          Issue Type: Bug
            Reporter: Keval Bhatt
            Assignee: Madhan Neethiraj


UI is unable to parse the JSON, for details attribute. When user clicks on detail button from Audit table.

{noFormat}
http://localhost:9999/api/atlas/entities/8668f550-8711-4e90-938e-125c757437ee/audit?count=26&_=1486459047268
{noFormat}


Please find attached JSON Format.

{code}
{
  "requestId": "pool-1-thread-5 - 39270e4c-3d16-43a9-bc1f-3973fda2332b",
  "events": [
    {
      "entityId": "8668f550-8711-4e90-938e-125c757437ee",
      "timestamp": 1486458500396,
      "user": "admin",
      "action": "TAG_DELETE",
      "details": "Deleted trait: a",
      "eventKey": "8668f550-8711-4e90-938e-125c757437ee:1486458500396"
    },
    {
      "entityId": "8668f550-8711-4e90-938e-125c757437ee",
      "timestamp": 1486457996801,
      "user": "admin",
      "action": "TAG_ADD",
      "details": "Added trait: {\n  \"jsonClass\":\"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct\",\n  \"typeName\":\"a\",\n  \"values\":{\n    \n  }\n}",
      "eventKey": "8668f550-8711-4e90-938e-125c757437ee:1486457996801"
    },
    {
      "entityId": "8668f550-8711-4e90-938e-125c757437ee",
      "timestamp": 1486457282141,
      "user": "admin",
      "action": "TAG_ADD",
      "details": "Added trait: {\n  \"jsonClass\":\"org.apache.atlas.typesystem.json.InstanceSerialization$_Struct\",\n  \"typeName\":\"Tag2\",\n  \"values\":{\n    \"Attributes3\":\"\",\n    \"Attributes4\":\"\"\n  }\n}",
      "eventKey": "8668f550-8711-4e90-938e-125c757437ee:1486457282141"
    },
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)