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/14 10:18:41 UTC
[jira] [Resolved] (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:all-tabpanel ]
Keval Bhatt resolved ATLAS-1532.
--------------------------------
Resolution: Fixed
> 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: Keval Bhatt
> 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)