[
https://issues.apache.org/jira/browse/KNOX-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238424#comment-16238424
]
Phil Zampino edited comment on KNOX-1105 at 11/7/17 8:34 PM:
-------------------------------------------------------------
Added header comment to topology XML files generated from simple descriptors,
and set the same files as read-only.
The admin UI does not render the XML comments. It also does not honor the
read-only attribute set on the underlying topology file
({noformat}-r--r--r--{noformat}); it overwrites the file, and sets the owner
write flag ({noformat}-rw-r--r--{noformat}).
So, the admin UI needs to be addressed as part of this.
was (Author: pzampino):
Added header comment to topology XML files generated from simple descriptors,
and set the same files as read-only.
The admin UI does not render the XML comments. It also does not honor the
read-only attribute set on the underlying topology file (-r--r--r--); it
overwrites the file, and sets the owner write flag (-rw-r--r--).
So, the admin UI needs to be addressed as part of this.
> Provide indication that topologies were generated from simple descriptors
> -------------------------------------------------------------------------
>
> Key: KNOX-1105
> URL: https://issues.apache.org/jira/browse/KNOX-1105
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Phil Zampino
> Assignee: Phil Zampino
> Labels: kip-8
> Fix For: 0.14.0
>
> Attachments: KNOX-1105.patch
>
>
> When generating topology XML files, add a comment indicating that the XML
> file was generated.
> Also, mark the generated XML file as read-only.
> Neither of these really prevents anyone from modifying them, but they may
> offer a clue that it may not be a good idea.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)