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

ATLAS QA commented on ATLAS-470:
--------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment
  http://issues.apache.org/jira/secure/attachment/12794585/rb45043.patch
  against master revision b2efaf7.

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 2 new 
or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    +1 checkstyle.  The patch generated 0 code style errors.

    {color:red}-1 findbugs{color}.  The patch appears to introduce 339 new 
Findbugs (version 2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in :
 
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.EntityJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.RexsterGraphJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.TypesJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.AdminJerseyResourceIT
./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.MetadataDiscoveryJerseyResourceIT

Test results: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningstypesystem.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningsclient.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningsrepository.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningshive-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningsstorm-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningssqoop-bridge.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningswebapp.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningscommon.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningstitan.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ATLAS-Build/87//artifact/patchprocess/newPatchFindbugsWarningsnotification.html
Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build/87//console

This message is automatically generated.

> update types create a new index with same typename
> --------------------------------------------------
>
>                 Key: ATLAS-470
>                 URL: https://issues.apache.org/jira/browse/ATLAS-470
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>         Environment: Sandbox
>            Reporter: Chethana
>            Assignee: Neeru Gupta
>            Priority: Critical
>         Attachments: applicationLog_op.txt, rb45043.patch
>
>
> Create a type - 
> POST -  http://localhost:21000/api/atlas/types
>   "enumTypes":[
>     
>   ],
>   "structTypes":[
>     
>   ],
>   "traitTypes":[
>     
>   ],
>   "classTypes":[
>     {
>       "superTypes":[
>         
>       ],
>       
> "hierarchicalMetaTypeName":"org.apache.atlas.typesystem.types.ClassType",
>       "typeName":"TypeDefString1",
>       "attributeDefinitions":[
>         {
>           "name":"isCompositeFalse",
>           "dataTypeName":"string",
>           "multiplicity":"optional",
>           "isComposite":false,
>           "isUnique":false,
>           "isIndexable":false,
>           "reverseAttributeName":null
>         }
>       ]
>     }
>   ]
> }
> Update this type
> PUT-
> http://localhost:21000/api/atlas/types
>   "enumTypes":[
>     
>   ],
>   "structTypes":[
>     
>   ],
>   "traitTypes":[
>     
>   ],
>   "classTypes":[
>     {
>       "superTypes":[
>         
>       ],
>       
> "hierarchicalMetaTypeName":"org.apache.atlas.typesystem.types.ClassType",
>       "typeName":"TypeDefString1",
>       "attributeDefinitions":[
>         {
>           "name":"isCompositeFalse",
>           "dataTypeName":"string",
>           "multiplicity":"optional",
>           "isComposite":false,
>           "isUnique":false,
>           "isIndexable":false,
>           "reverseAttributeName":null
>         },
>         {
>           "name":"isTestable",
>           "dataTypeName":"boolean",
>           "multiplicity":"optional",
>           "isComposite":false,
>           "isUnique":false,
>           "isIndexable":false,
>           "reverseAttributeName":null
>         }
>       ]
>     }
>   ]
> }
> actual-
> http://localhost:21000/api/atlas/types?type=CLASS
> {
> "results": [
> "TypeDefString1",
> "TypeDefString1"
> ],
> "count": 60,
> "requestId": "qtp1879648991-299 - 8581163e-cb86-4ef3-af71-ff4495884cb0"
> }
> actual-
> http://localhost:21000/api/atlas/types?type=CLASS
> expected
> {
> "results": [
> "TypeDefString1"
> ],
> "count": 60,
> "requestId": "qtp1879648991-299 - 8581163e-cb86-4ef3-af71-ff4495884cb0"
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to