ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-21837 Admin Versions page is missing repository URL. (atkach)
Date Tue, 29 Aug 2017 14:15:32 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 7ca3a4d63 -> 452417120


AMBARI-21837 Admin Versions page is missing repository URL. (atkach)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/45241712
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/45241712
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/45241712

Branch: refs/heads/branch-2.6
Commit: 45241712076f059f4d7bf36d231572a2ea4084cb
Parents: 7ca3a4d
Author: Andrii Tkach <atkach@apache.org>
Authored: Tue Aug 29 13:36:21 2017 +0300
Committer: Andrii Tkach <atkach@apache.org>
Committed: Tue Aug 29 17:15:16 2017 +0300

----------------------------------------------------------------------
 .../main/resources/ui/admin-web/app/scripts/services/Stack.js   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/45241712/ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
----------------------------------------------------------------------
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
index 4a16355..4bfeb45 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/services/Stack.js
@@ -88,8 +88,9 @@ angular.module('ambariAdminConsole')
     },
 
     allPublicStackVersions: function() {
-      var url = '/version_definitions?fields=VersionDefinition/stack_default,operating_systems/repositories/Repositories/*,VersionDefinition/stack_services,VersionDefinition/repository_version'
+
-        '&VersionDefinition/show_available=true';
+      var url = '/version_definitions?fields=VersionDefinition/stack_default,VersionDefinition/type,'
+
+        'operating_systems/repositories/Repositories/*,VersionDefinition/stack_services,'
+
+        'VersionDefinition/repository_version&VersionDefinition/show_available=true';
       var deferred = $q.defer();
       $http.get(Settings.baseUrl + url, {mock: 'version/versions.json'})
         .success(function (data) {


Mime
View raw message