You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by me...@apache.org on 2018/12/17 11:52:53 UTC
[14/28] ranger git commit: RANGER-2266:To make Id to ID in Audit
Pages of Ranger Admin
RANGER-2266:To make Id to ID in Audit Pages of Ranger Admin
Signed-off-by: peng.jianhua <pe...@zte.com.cn>
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/ae120d0b
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/ae120d0b
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/ae120d0b
Branch: refs/heads/ranger-1
Commit: ae120d0b92a589e91d38688d8ae5cf5c14094e19
Parents: f52bffd
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Thu Oct 25 15:13:09 2018 +0800
Committer: Mehul Parikh <me...@apache.org>
Committed: Thu Dec 13 17:43:28 2018 +0530
----------------------------------------------------------------------
.../src/main/webapp/scripts/modules/globalize/message/en.js | 6 +++---
.../src/main/webapp/scripts/views/reports/AuditLayout.js | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/ae120d0b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
----------------------------------------------------------------------
diff --git a/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
index 19cc7b4..2c0ee98 100644
--- a/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
+++ b/security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
@@ -165,7 +165,7 @@ define(function(require) {
policyStatus : 'Policy Status',
httpResponseCode : 'Http Response Code',
repositoryName : 'Repository Name',
- agentId : 'Plugin Id',
+ agentId : 'Plugin ID',
agentIp : 'Plugin IP',
createDate : 'Export Date',
attributeName : 'Attribute Name',
@@ -177,12 +177,12 @@ define(function(require) {
columnType : 'Column Type',
accountName : 'Account Name',
createdDate : 'Created Date',
- sessionId : 'Session Id',
+ sessionId : 'Session ID',
operation : 'Operation',
auditType : 'Audit Type',
user : 'User',
actions : 'Actions',
- loginId : 'Login Id',
+ loginId : 'Login ID',
loginType : 'Login Type',
ip : 'IP',
userAgent : 'User Agent',
http://git-wip-us.apache.org/repos/asf/ranger/blob/ae120d0b/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
----------------------------------------------------------------------
diff --git a/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js b/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
index 3da1567..fe9566c 100644
--- a/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
+++ b/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
@@ -420,9 +420,9 @@ define(function(require) {
},
addSearchForAdminTab : function(){
var that = this;
- var searchOpt = ["Audit Type", "User", "Actions", "Session Id", "Start Date", "End Date"];
+ var searchOpt = ["Audit Type", "User", "Actions", "Session ID", "Start Date", "End Date"];
var serverAttrName = [{text : "Audit Type", label :"objectClassType",'multiple' : true, 'optionsArr' : XAUtils.enumToSelectLabelValuePairs(XAEnums.ClassTypes)},
- {text : "User", label :"owner"}, {text : "Session Id", label :"sessionId"},
+ {text : "User", label :"owner"}, {text : "Session ID", label :"sessionId"},
{text : 'Start Date',label :'startDate'},{text : 'End Date',label :'endDate'},
{text : "Actions", label :"action",'multiple' : true, 'optionsArr' : XAUtils.enumToSelectLabelValuePairs(XAGlobals.ActionType)},];
@@ -490,8 +490,8 @@ define(function(require) {
},
addSearchForLoginSessionTab : function(){
var that = this , query = '' ;
- var searchOpt = ["Session Id", "Login Id", "Result", "Login Type", "IP", "User Agent", "Start Date","End Date"];
- var serverAttrName = [{text : "Session Id", label :"id"}, {text : "Login Id", label :"loginId"},
+ var searchOpt = ["Session ID", "Login ID", "Result", "Login Type", "IP", "User Agent", "Start Date","End Date"];
+ var serverAttrName = [{text : "Session ID", label :"id"}, {text : "Login ID", label :"loginId"},
{text : "Result", label :"authStatus",'multiple' : true, 'optionsArr' : XAUtils.enumToSelectLabelValuePairs(XAEnums.AuthStatus)},
{text : "Login Type", label :"authType",'multiple' : true, 'optionsArr' : XAUtils.enumToSelectLabelValuePairs(XAEnums.AuthType)},
{text : "IP", label :"requestIP"},{text :"User Agent", label :"requestUserAgent"},