diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXAccessAuditList.java b/security-admin/src/main/java/org/apache/ranger/view/VXAccessAuditList.java index 224ec6ea606..a6166a3312f 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXAccessAuditList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXAccessAuditList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXAccessAuditList(List objList) { /** * @return the vXAccessAudits */ + @JsonProperty("vXAccessAudits") public List getVXAccessAudits() { return vXAccessAudits; } @@ -58,6 +60,7 @@ public List getVXAccessAudits() { * @param vXAccessAudits * the vXAccessAudits to set */ + @JsonProperty("vXAccessAudits") public void setVXAccessAudits(List vXAccessAudits) { this.vXAccessAudits = vXAccessAudits; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXAssetList.java b/security-admin/src/main/java/org/apache/ranger/view/VXAssetList.java index 4f73869918b..fb0a703cf4e 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXAssetList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXAssetList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXAssetList(List objList) { /** * @return the vXAssets */ + @JsonProperty("vXAssets") public List getVXAssets() { return vXAssets; } @@ -58,6 +60,7 @@ public List getVXAssets() { * @param vXAssets * the vXAssets to set */ + @JsonProperty("vXAssets") public void setVXAssets(List vXAssets) { this.vXAssets = vXAssets; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXAuditMapList.java b/security-admin/src/main/java/org/apache/ranger/view/VXAuditMapList.java index 101c7e78260..1df97fb78c6 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXAuditMapList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXAuditMapList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXAuditMapList(List objList) { /** * @return the vXAuditMaps */ + @JsonProperty("vXAuditMaps") public List getVXAuditMaps() { return vXAuditMaps; } @@ -58,6 +60,7 @@ public List getVXAuditMaps() { * @param vXAuditMaps * the vXAuditMaps to set */ + @JsonProperty("vXAuditMaps") public void setVXAuditMaps(List vXAuditMaps) { this.vXAuditMaps = vXAuditMaps; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXAuditRecordList.java b/security-admin/src/main/java/org/apache/ranger/view/VXAuditRecordList.java index 1389eb232b8..e5869236d8b 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXAuditRecordList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXAuditRecordList.java @@ -23,6 +23,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -37,10 +38,12 @@ public class VXAuditRecordList extends VList { private static final long serialVersionUID = 1L; List vXAuditRecords = new ArrayList(); + @JsonProperty("vXAuditRecords") public List getvAudits() { return vXAuditRecords; } + @JsonProperty("vXAuditRecords") public void setvAudits(List vXAuditRecords) { this.vXAuditRecords = vXAuditRecords; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXAuthSessionList.java b/security-admin/src/main/java/org/apache/ranger/view/VXAuthSessionList.java index 98b0de0f56f..c86b8513523 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXAuthSessionList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXAuthSessionList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXAuthSessionList(List objList) { /** * @return the vXAuthSessions */ + @JsonProperty("vXAuthSessions") public List getVXAuthSessions() { return vXAuthSessions; } @@ -58,6 +60,7 @@ public List getVXAuthSessions() { * @param vXAuthSessions * the vXAuthSessions to set */ + @JsonProperty("vXAuthSessions") public void setVXAuthSessions(List vXAuthSessions) { this.vXAuthSessions = vXAuthSessions; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXCredentialStoreList.java b/security-admin/src/main/java/org/apache/ranger/view/VXCredentialStoreList.java index d92c960dc20..7b46290c1e7 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXCredentialStoreList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXCredentialStoreList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXCredentialStoreList(List objList) { /** * @return the vXCredentialStores */ + @JsonProperty("vXCredentialStores") public List getVXCredentialStores() { return vXCredentialStores; } @@ -58,6 +60,7 @@ public List getVXCredentialStores() { * @param vXCredentialStores * the vXCredentialStores to set */ + @JsonProperty("vXCredentialStores") public void setVXCredentialStores(List vXCredentialStores) { this.vXCredentialStores = vXCredentialStores; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXGroupGroupList.java b/security-admin/src/main/java/org/apache/ranger/view/VXGroupGroupList.java index adc58622619..2dca3e29731 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXGroupGroupList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXGroupGroupList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXGroupGroupList(List objList) { /** * @return the vXGroupGroups */ + @JsonProperty("vXGroupGroups") public List getVXGroupGroups() { return vXGroupGroups; } @@ -58,6 +60,7 @@ public List getVXGroupGroups() { * @param vXGroupGroups * the vXGroupGroups to set */ + @JsonProperty("vXGroupGroups") public void setVXGroupGroups(List vXGroupGroups) { this.vXGroupGroups = vXGroupGroups; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXGroupList.java b/security-admin/src/main/java/org/apache/ranger/view/VXGroupList.java index b992c33427d..18d35f33e69 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXGroupList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXGroupList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXGroupList(List objList) { /** * @return the vXGroups */ + @JsonProperty("vXGroups") public List getVXGroups() { return vXGroups; } @@ -58,6 +60,7 @@ public List getVXGroups() { * @param vXGroups * the vXGroups to set */ + @JsonProperty("vXGroups") public void setVXGroups(List vXGroups) { this.vXGroups = vXGroups; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXGroupPermissionList.java b/security-admin/src/main/java/org/apache/ranger/view/VXGroupPermissionList.java index b0152ed9514..4a5f13a6e44 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXGroupPermissionList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXGroupPermissionList.java @@ -21,6 +21,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -45,6 +46,7 @@ public VXGroupPermissionList(List objList) { /** * @return the vXGroupPermission */ + @JsonProperty("vXGroupPermission") public List getvXGroupPermission() { return vXGroupPermission; } @@ -52,6 +54,7 @@ public List getvXGroupPermission() { /** * @param vXGroupPermission the vXGroupPermission to set */ + @JsonProperty("vXGroupPermission") public void setvXGroupPermission(List vXGroupPermission) { this.vXGroupPermission = vXGroupPermission; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXGroupUserList.java b/security-admin/src/main/java/org/apache/ranger/view/VXGroupUserList.java index 7f6ef1d3362..a0870b28e48 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXGroupUserList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXGroupUserList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXGroupUserList(List objList) { /** * @return the vXGroupUsers */ + @JsonProperty("vXGroupUsers") public List getVXGroupUsers() { return vXGroupUsers; } @@ -58,6 +60,7 @@ public List getVXGroupUsers() { * @param vXGroupUsers * the vXGroupUsers to set */ + @JsonProperty("vXGroupUsers") public void setVXGroupUsers(List vXGroupUsers) { this.vXGroupUsers = vXGroupUsers; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXKmsKeyList.java b/security-admin/src/main/java/org/apache/ranger/view/VXKmsKeyList.java index 24120dd420c..f796c5c5285 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXKmsKeyList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXKmsKeyList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXKmsKeyList(List objList) { /** * @return the vXKeys */ + @JsonProperty("vXKeys") public List getVXKeys() { return vXKeys; } @@ -58,6 +60,7 @@ public List getVXKeys() { * @param vXKeys * the vXKeys to set */ + @JsonProperty("vXKeys") public void setVXKeys(List vXKeys) { this.vXKeys = vXKeys; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXModuleDefList.java b/security-admin/src/main/java/org/apache/ranger/view/VXModuleDefList.java index 75f789d37fc..5f572501d5e 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXModuleDefList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXModuleDefList.java @@ -21,6 +21,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -45,6 +46,7 @@ public VXModuleDefList(List objList) { /** * @return the vXModuleDef */ + @JsonProperty("vXModuleDef") public List getvXModuleDef() { return vXModuleDef; } @@ -52,6 +54,7 @@ public List getvXModuleDef() { /** * @param vXModuleDef the vXModuleDef to set */ + @JsonProperty("vXModuleDef") public void setvXModuleDef(List vXModuleDef) { this.vXModuleDef = vXModuleDef; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXModulePermissionList.java b/security-admin/src/main/java/org/apache/ranger/view/VXModulePermissionList.java index d5ff1ba3cba..c8dab07a0c5 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXModulePermissionList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXModulePermissionList.java @@ -21,6 +21,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -42,10 +43,12 @@ public VXModulePermissionList(List objList) { this.vXModulePermissionList = objList; } + @JsonProperty("vXModulePermissionList") public List getvXModulePermissionList() { return vXModulePermissionList; } + @JsonProperty("vXModulePermissionList") public void setvXModulePermissionList(List vXModulePermissionList) { this.vXModulePermissionList = vXModulePermissionList; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXPermMapList.java b/security-admin/src/main/java/org/apache/ranger/view/VXPermMapList.java index e8dbd326c24..1864af0b936 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXPermMapList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXPermMapList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXPermMapList(List objList) { /** * @return the vXPermMaps */ + @JsonProperty("vXPermMaps") public List getVXPermMaps() { return vXPermMaps; } @@ -58,6 +60,7 @@ public List getVXPermMaps() { * @param vXPermMaps * the vXPermMaps to set */ + @JsonProperty("vXPermMaps") public void setVXPermMaps(List vXPermMaps) { this.vXPermMaps = vXPermMaps; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXPermObjList.java b/security-admin/src/main/java/org/apache/ranger/view/VXPermObjList.java index 97d617b8f8c..fdb264b906c 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXPermObjList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXPermObjList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXPermObjList(List objList) { /** * @return the vXPermObjs */ + @JsonProperty("vXPermObjs") public List getVXPermObjs() { return vXPermObjs; } @@ -58,6 +60,7 @@ public List getVXPermObjs() { * @param vXPermObjs * the vXPermObjs to set */ + @JsonProperty("vXPermObjs") public void setVXPermObjs(List vXPermObjs) { this.vXPermObjs = vXPermObjs; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXPolicyExportAuditList.java b/security-admin/src/main/java/org/apache/ranger/view/VXPolicyExportAuditList.java index d080c923f9f..0416c1703fc 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXPolicyExportAuditList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXPolicyExportAuditList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXPolicyExportAuditList(List objList) { /** * @return the vXPolicyExportAudits */ + @JsonProperty("vXPolicyExportAudits") public List getVXPolicyExportAudits() { return vXPolicyExportAudits; } @@ -58,6 +60,7 @@ public List getVXPolicyExportAudits() { * @param vXPolicyExportAudits * the vXPolicyExportAudits to set */ + @JsonProperty("vXPolicyExportAudits") public void setVXPolicyExportAudits(List vXPolicyExportAudits) { this.vXPolicyExportAudits = vXPolicyExportAudits; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXPolicyLabelList.java b/security-admin/src/main/java/org/apache/ranger/view/VXPolicyLabelList.java index ee1b0df3dca..df83cdb8214 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXPolicyLabelList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXPolicyLabelList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,13 +51,15 @@ public VXPolicyLabelList(List objList) { /** * @return the VXPolicyLabels */ + @JsonProperty("vxPolicyLabels") public List getVXPolicyLabels() { return vxPolicyLabels; } - public void setVXPolicyLabels(List vxPolicyLabels) { - this.vxPolicyLabels = vxPolicyLabels; - } + @JsonProperty("vxPolicyLabels") + public void setVXPolicyLabels(List vxPolicyLabels) { + this.vxPolicyLabels = vxPolicyLabels; + } @Override public int getListSize() { diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXPolicyList.java b/security-admin/src/main/java/org/apache/ranger/view/VXPolicyList.java index 584f848c9f9..8377dd9cc65 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXPolicyList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXPolicyList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXPolicyList(List objList) { /** * @return the vXPolicies */ + @JsonProperty("vXPolicies") public List getVXPolicies() { return vXPolicies; } @@ -58,6 +60,7 @@ public List getVXPolicies() { * @param vXPolicies * the vXPolicies to set */ + @JsonProperty("vXPolicies") public void setVXPolicies(List vXPolicies) { this.vXPolicies = vXPolicies; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXPortalUserList.java b/security-admin/src/main/java/org/apache/ranger/view/VXPortalUserList.java index 8f2fc978aac..f30117d8a22 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXPortalUserList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXPortalUserList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXPortalUserList(List objList) { /** * @return the vXPortalUsers */ + @JsonProperty("vXPortalUsers") public List getVXPortalUsers() { return vXPortalUsers; } @@ -58,6 +60,7 @@ public List getVXPortalUsers() { * @param vXPortalUsers * the vXPortalUsers to set */ + @JsonProperty("vXPortalUsers") public void setVXPortalUsers(List vXPortalUsers) { this.vXPortalUsers = vXPortalUsers; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXRepositoryList.java b/security-admin/src/main/java/org/apache/ranger/view/VXRepositoryList.java index 2c416c4556b..b3f7e729af1 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXRepositoryList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXRepositoryList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXRepositoryList(List objList) { /** * @return the vXRepositories */ + @JsonProperty("vXRepositories") public List getVXRepositories() { return vXRepositories; } @@ -58,6 +60,7 @@ public List getVXRepositories() { * @param vXRepositories * the vXRepositories to set */ + @JsonProperty("vXRepositories") public void setVXRepositories(List vXRepositories) { this.vXRepositories = vXRepositories; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXResourceList.java b/security-admin/src/main/java/org/apache/ranger/view/VXResourceList.java index 016f2328e11..2c2fb6923e0 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXResourceList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXResourceList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXResourceList(List objList) { /** * @return the vXResources */ + @JsonProperty("vXResources") public List getVXResources() { return vXResources; } @@ -58,6 +60,7 @@ public List getVXResources() { * @param vXResources * the vXResources to set */ + @JsonProperty("vXResources") public void setVXResources(List vXResources) { this.vXResources = vXResources; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXStringList.java b/security-admin/src/main/java/org/apache/ranger/view/VXStringList.java index 788cbebab67..373e656a62c 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXStringList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXStringList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXStringList(List objList) { /** * @return the vXStrings */ + @JsonProperty("vXStrings") public List getVXStrings() { return vXStrings; } @@ -58,6 +60,7 @@ public List getVXStrings() { * @param vXStrings * the vXStrings to set */ + @JsonProperty("vXStrings") public void setVXStrings(List vXStrings) { this.vXStrings = vXStrings; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXTrxLogList.java b/security-admin/src/main/java/org/apache/ranger/view/VXTrxLogList.java index 32c01bbee42..de7e5761177 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXTrxLogList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXTrxLogList.java @@ -24,6 +24,7 @@ import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -46,6 +47,7 @@ public VXTrxLogList(List objList) { /** * @return the vXTrxLogs */ + @JsonProperty("vXTrxLogs") public List getVXTrxLogs() { return vXTrxLogs; } @@ -54,6 +56,7 @@ public List getVXTrxLogs() { * @param vXTrxLogs * the vXTrxLogs to set */ + @JsonProperty("vXTrxLogs") public void setVXTrxLogs(List vXTrxLogs) { this.vXTrxLogs = vXTrxLogs; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXUgsyncAuditInfoList.java b/security-admin/src/main/java/org/apache/ranger/view/VXUgsyncAuditInfoList.java index f359418b067..fcd38af4a7b 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXUgsyncAuditInfoList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXUgsyncAuditInfoList.java @@ -25,6 +25,8 @@ */ import org.apache.ranger.common.view.VList; + +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +52,7 @@ public VXUgsyncAuditInfoList(List objList) { /** * @return the vXAccessAudits */ + @JsonProperty("vxUgsyncAuditInfoList") public List getVxUgsyncAuditInfoList() { return vxUgsyncAuditInfoList; } @@ -58,6 +61,7 @@ public List getVxUgsyncAuditInfoList() { * @param vxUgsyncAuditInfoList * the vXAccessAudits to set */ + @JsonProperty("vxUgsyncAuditInfoList") public void setVxUgsyncAuditInfoList(List vxUgsyncAuditInfoList) { this.vxUgsyncAuditInfoList = vxUgsyncAuditInfoList; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXUserList.java b/security-admin/src/main/java/org/apache/ranger/view/VXUserList.java index 18f783938c1..d0a516c278b 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXUserList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXUserList.java @@ -28,6 +28,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -50,6 +51,7 @@ public VXUserList(List objList) { /** * @return the vXUsers */ + @JsonProperty("vXUsers") public List getVXUsers() { return vXUsers; } @@ -58,6 +60,7 @@ public List getVXUsers() { * @param vXUsers * the vXUsers to set */ + @JsonProperty("vXUsers") public void setVXUsers(List vXUsers) { this.vXUsers = vXUsers; } diff --git a/security-admin/src/main/java/org/apache/ranger/view/VXUserPermissionList.java b/security-admin/src/main/java/org/apache/ranger/view/VXUserPermissionList.java index a9b1ff8cab9..1e8f5d368fa 100644 --- a/security-admin/src/main/java/org/apache/ranger/view/VXUserPermissionList.java +++ b/security-admin/src/main/java/org/apache/ranger/view/VXUserPermissionList.java @@ -21,6 +21,7 @@ import java.util.List; import org.apache.ranger.common.view.VList; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; import com.fasterxml.jackson.databind.annotation.JsonSerialize; @@ -45,6 +46,7 @@ public VXUserPermissionList(List objList) { /** * @return the vXModuleDef */ + @JsonProperty("vXUserPermission") public List getvXModuleDef() { return vXUserPermission; } @@ -52,6 +54,7 @@ public List getvXModuleDef() { /** * @param vXModuleDef the vXModuleDef to set */ + @JsonProperty("vXUserPermission") public void setvXModuleDef(List vXModuleDef) { this.vXUserPermission = vXModuleDef; }