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

[jira] [Commented] (ATLAS-1532) Audit API reponse details attribute is in incorrect JSON format

    [ https://issues.apache.org/jira/browse/ATLAS-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861716#comment-15861716 ] 

Madhan Neethiraj commented on ATLAS-1532:
-----------------------------------------

[~kevalbhatt] - the JSON in 'details' attribute looks correct. Can you please add details of the error seen during de-serialization?

> Audit API reponse details attribute is in incorrect JSON format
> ---------------------------------------------------------------
>
>                 Key: ATLAS-1532
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1532
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.8-incubating
>            Reporter: Keval Bhatt
>            Assignee: Madhan Neethiraj
>             Fix For: 0.8-incubating
>
>
> 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)