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

ASF subversion and git services commented on KNOX-1367:
-------------------------------------------------------

Commit 11539a2e3618eed2ba0f87ed5222eaa0dce591dc in knox's branch 
refs/heads/master from [~moresandeep]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=11539a2 ]

KNOX-1367 - Revert the previous schema changes, make a switch to enable strict 
topology validation, by default strict validation is false


> GatewayDeployFuncTest is broken because of topology validation
> --------------------------------------------------------------
>
>                 Key: KNOX-1367
>                 URL: https://issues.apache.org/jira/browse/KNOX-1367
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>            Priority: Major
>             Fix For: 1.1.0
>
>
> As part of the effort of KNOX-1350 topology validation is enforced which 
> causes GatewayDeployFuncTest test to fail.
> Relevant diff snippet from DefaultTopologyService.java for the change.
> {code:java}
>  try {
>        TopologyValidator tv = new TopologyValidator(topology);
>  
> -      if(tv.validateTopology()) {
> +      if(!tv.validateTopology()) {
>          throw new SAXException(tv.getErrorString());
>        }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to