Repository: ambari Updated Branches: refs/heads/trunk bdc54e5dd -> 3e6e9932c
AMBARI-15633. Add auto-create-instance elements to files view. (dipayanb) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3e6e9932 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3e6e9932 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3e6e9932 Branch: refs/heads/trunk Commit: 3e6e9932ca7d5ba240853bbe3c3d4ca6e44811ef Parents: bdc54e5 Author: Dipayan Bhowmick <[email protected]> Authored: Thu Mar 31 11:00:29 2016 +0530 Committer: Dipayan Bhowmick <[email protected]> Committed: Thu Mar 31 11:01:44 2016 +0530 ---------------------------------------------------------------------- contrib/views/files/src/main/resources/view.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/3e6e9932/contrib/views/files/src/main/resources/view.xml ---------------------------------------------------------------------- diff --git a/contrib/views/files/src/main/resources/view.xml b/contrib/views/files/src/main/resources/view.xml index eb80292..ad5202c 100644 --- a/contrib/views/files/src/main/resources/view.xml +++ b/contrib/views/files/src/main/resources/view.xml @@ -130,4 +130,14 @@ <name>files</name> <service-class>org.apache.ambari.view.filebrowser.FileBrowserService</service-class> </resource> + + <auto-instance> + <name>AUTO_FILES_INSTANCE</name> + <label>Files View</label> + <description>This view instance is auto created when the HDFS service is added to a cluster.</description> + <stack-id>HDP-2.*</stack-id> + <services> + <service>HDFS</service> + </services> + </auto-instance> </view>
