[
https://issues.apache.org/jira/browse/AMBARI-20737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367136#comment-16367136
]
Hudson commented on AMBARI-20737:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8744 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8744/])
AMBARI-20737 Able to hide the Use Public Repository option on Register
(aonishuk:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=1f4a72fd0cca8d822ea8ebb7368452c54d53f8bb])
* (edit)
ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
* (edit)
ambari-admin/src/main/resources/ui/admin-web/app/views/stackVersions/stackVersionPage.html
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
* (edit)
ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java
> Able to hide the Use Public Repository option on Register Version page on
> Ambari Admin View
> -------------------------------------------------------------------------------------------
>
> Key: AMBARI-20737
> URL: https://issues.apache.org/jira/browse/AMBARI-20737
> Project: Ambari
> Issue Type: Bug
> Components: ambari-admin, ambari-server
> Affects Versions: trunk
> Reporter: Di Li
> Assignee: Di Li
> Priority: Major
> Fix For: trunk
>
> Attachments: AMBARI-20737.patch
>
>
> The Register Version UI page on Ambari Admin View shows two options related
> to adding repo URLs: Use Public Repository and Use Local Repository.
> The Use Public Repository is disabled when no stack repos are marked as
> "stack_default=false" ( meaning it;s from the stack/repo URL defined in the
> "latest" section in the repoinfo.xml)
> When repoinfo.xml does not have the latest section, however, the Use Public
> Repository should be hidden from the view as it'd be definitely no
> non-default stacks, and the "Why is this disabled ?" explanation does not
> make sense in this case.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)