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

Jeffrey E  Rodriguez commented on KNOX-875:
-------------------------------------------

Testing
This can be tested through creating a <version>2.0.0</version> for a service 
and running 
# ./knoxcli.sh validate-topology --cluster default

File to be validated:
/usr/iop/4.3.0.0-0000/knox/bin/../conf/topologies/default.xml
==========================================
Line: 103 -- cvc-complex-type.2.4.a: Invalid content was found starting with 
element 'version'. One of '{url, param}' is expected.

After updating the schema this problem should be resolved.

> topology schema file (topology-v1.xsd)  is missing "version" element 
> definition.
> --------------------------------------------------------------------------------
>
>                 Key: KNOX-875
>                 URL: https://issues.apache.org/jira/browse/KNOX-875
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.6.0, 0.7.0, 0.8.0, 0.9.1, 0.11.0
>         Environment: any
>            Reporter: Jeffrey E  Rodriguez
>            Assignee: Jeffrey E  Rodriguez
>            Priority: Minor
>              Labels: patch
>             Fix For: 0.12.0
>
>         Attachments: KNOX-875.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Developer guide, testcases and code mention a topology "version" subelement 
> for "service" element. The definition is not updated on the topology-v1.xsd 
> thus attempting to validate a topology against schema would fail.



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

Reply via email to