[jira] [Commented] (AMBARI-23055) GPL repo is not hidden when default version is chosen in UI

2018-03-07 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-23055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389643#comment-16389643
 ] 

Hudson commented on AMBARI-23055:
-

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8820 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8820/])
AMBARI-23055. GPL repo is not hidden when default version is chosen in 
(mpapirkovskyy: 
[https://gitbox.apache.org/repos/asf?p=ambari.git=commit=7d388adad9bc4736a711c5e7fefeca525f78dcff])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java


> GPL repo is not hidden when default version is chosen in UI
> ---
>
> Key: AMBARI-23055
> URL: https://issues.apache.org/jira/browse/AMBARI-23055
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.6.2
>Reporter: Vivek Sharma
>Assignee: Myroslav Papirkovskyi
>Priority: Critical
>  Labels: pull-request-available, system_test
> Fix For: 2.6.2
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Ambari server has gpl license disabled i.e.
> {code}
> cat /etc/ambari-server/conf/ambari.properties | grep -i gpl
> gpl.license.accepted=false
> {code}
> - On register version page, upon choosing HDP-2.6.4.0 from the drop-down, the 
> GPL repo field is not masked (see default-version.png)
> - However upon choosing to upload the version from VDF URL, the GPL field is 
> correctly masked (see version-via-vdf.png)
> Looks like the problem is 
> [showRepo()|https://github.com/apache/ambari/blob/branch-2.6/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js#L50]
>  function which calls 
> [isGPLRepo|https://github.com/apache/ambari/blob/branch-2.6/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js#L46]
>  function where if we do not load version fromVDF URL the showRepo return true
>  



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


[jira] [Commented] (AMBARI-23055) GPL repo is not hidden when default version is chosen in UI

2018-03-07 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-23055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389634#comment-16389634
 ] 

Hudson commented on AMBARI-23055:
-

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #646 (See 
[https://builds.apache.org/job/Ambari-branch-2.6/646/])
AMBARI-23055. GPL repo is not hidden when default version is chosen in 
(mpapirkovskyy: 
[https://gitbox.apache.org/repos/asf?p=ambari.git=commit=1ec645afbda1a0d5fdb4507c62aa26eb46be98c7])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java


> GPL repo is not hidden when default version is chosen in UI
> ---
>
> Key: AMBARI-23055
> URL: https://issues.apache.org/jira/browse/AMBARI-23055
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.6.2
>Reporter: Vivek Sharma
>Assignee: Myroslav Papirkovskyi
>Priority: Critical
>  Labels: pull-request-available, system_test
> Fix For: 2.6.2
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Ambari server has gpl license disabled i.e.
> {code}
> cat /etc/ambari-server/conf/ambari.properties | grep -i gpl
> gpl.license.accepted=false
> {code}
> - On register version page, upon choosing HDP-2.6.4.0 from the drop-down, the 
> GPL repo field is not masked (see default-version.png)
> - However upon choosing to upload the version from VDF URL, the GPL field is 
> correctly masked (see version-via-vdf.png)
> Looks like the problem is 
> [showRepo()|https://github.com/apache/ambari/blob/branch-2.6/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js#L50]
>  function which calls 
> [isGPLRepo|https://github.com/apache/ambari/blob/branch-2.6/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsCreateCtrl.js#L46]
>  function where if we do not load version fromVDF URL the showRepo return true
>  



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