This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.testng-testng-7.5.1 in repository https://gitbox.apache.org/repos/asf/ranger.git
discard 107b992ea Bump testng from 7.0.0 to 7.5.1 add 44a82e408 RANGER-4128: updated importTags API to use the service name specified in the URL for all service-resources add 717158e88 RANGER-4063 Editable Search Filter (tokenizer) in Ranger React add 4c68c8549 RANGER-3947 fix thread leak in SolrCollectionBootstrapper add 29d4c7ec7 RANGER-4229:Add flag based support for mounting db volume in dev-support scripts add e3137b224 RANGER-4233: UI fix for DOC SIT in mobile and tab view mode add ce3c3b8b0 RANGER-4168: added unit tests for Metrics and TagDBStore the missing classes add 340ed0c54 RANGER-4168: fixed NPE in recently added unit tests - #2 add 24a746b7f RANGER-4258: increased maximum number of service-defs/services/zones listed in UI from 25 to 1000 add c001652a4 RANGER-4250: fixed getRoles() REST API to handle missing execUser parameter add 883c232b0 RANGER-4261: Flag based support for DEBUG logs in admin, usersync and tagsync (#262) add f33a88a90 RANGER-4165: support SELF_OR_PREFIX resource matching scope add 338f26473 RANGER-4253 Left Sidebar layout for Ranger Admin UI in react code base add 7ee520ae8 RANGER-4260: UI fix for initial load of policies for Add Permissions add a07dbb804 RANGER-4255: Introduce option in Ranger to control retention period of x_auth_sess table data add 67ab95f40 RANGER-4230: Add REST APIs to force delete external users & groups (#253) add a8609db4b RANGER-4026: Allow sync source updates for existing users synced via different sync sources (#254) add 6cd4e8ffe RANGER-4276: changed log level to DEBUG for enrich() (#264) add 04cb1dc5b RANGER-4274: updated security-zones to support admin-roles and audit-roles add cb65abc86 RANGER-4274: updated security-zones to support admin-roles and audit-roles: fix unit test failures - #2 add 27456a9c6 RANGER-4262: Upgrade aws-java-sdk to 1.12.481 add 00267ed13 RANGER-4257: Upgrade Tomcat to 8.5.89 add 97d282a92 Bump testng from 7.0.0 to 7.5.1 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (107b992ea) \ N -- N -- N refs/heads/dependabot/maven/org.testng-testng-7.5.1 (97d282a92) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../RangerServiceResourceMatcher.java | 5 +- .../plugin/contextenricher/RangerTagEnricher.java | 7 +- .../ranger/plugin/errors/ValidationErrorCode.java | 2 +- .../ranger/plugin/model/RangerSecurityZone.java | 24 +- .../validation/RangerSecurityZoneValidator.java | 16 +- .../plugin/policyengine/RangerAccessRequest.java | 13 +- .../policyengine/RangerAccessRequestImpl.java | 11 + .../policyengine/RangerAccessRequestReadOnly.java | 3 + .../policyengine/RangerAccessRequestWrapper.java | 3 + .../policyengine/RangerPolicyEngineImpl.java | 4 +- .../policyengine/RangerPolicyRepository.java | 2 +- .../plugin/policyengine/RangerResourceTrie.java | 88 +- .../RangerAuditPolicyEvaluator.java | 2 +- .../RangerDefaultPolicyEvaluator.java | 8 +- .../RangerDefaultPolicyResourceMatcher.java | 39 +- .../RangerPolicyResourceMatcher.java | 11 + .../RangerAbstractResourceMatcher.java | 69 +- .../RangerDefaultResourceMatcher.java | 20 +- .../resourcematcher/RangerPathResourceMatcher.java | 215 ++-- .../resourcematcher/RangerResourceMatcher.java | 3 +- .../resourcematcher/RangerURLResourceMatcher.java | 20 +- .../plugin/resourcematcher/ResourceMatcher.java | 53 +- .../service/RangerDefaultRequestProcessor.java | 4 +- .../util/RangerResourceEvaluatorsRetriever.java | 12 +- .../RangerSecurityZoneValidatorTest.java | 2 +- .../plugin/policyengine/TestPathResourceTrie.java | 22 +- .../plugin/policyengine/TestPolicyEngine.java | 14 + .../RangerAbstractResourceMatcherTest.java | 3 +- .../RangerDefaultResourceMatcherTest.java | 3 +- .../RangerPathResourceMatcherTest.java | 7 +- .../RangerURLResourceMatcherTest.java | 3 +- .../resourcematcher/TestResourceMatcher.java | 3 +- .../test/resources/policyengine/aws_s3_tags.json | 33 + .../policyengine/test_policyengine_aws.json | 24 +- .../policyengine/test_policyengine_aws_s3.json | 211 ++++ .../policyengine/test_policyengine_kafka.json | 157 +++ dev-support/ranger-docker/.env | 7 +- dev-support/ranger-docker/Dockerfile.ranger-base | 2 +- .../ranger-docker/Dockerfile.ranger-usersync | 3 - ... => docker-compose.ranger-postgres-mounted.yml} | 3 +- .../docker-compose.ranger-tagsync.yml | 1 + .../docker-compose.ranger-usersync.yml | 1 + .../ranger-docker/docker-compose.ranger.yml | 1 + docs/src/site/resources/css/custom.css | 110 ++ .../server/tomcat/SolrCollectionBootstrapper.java | 8 + .../python/apache_ranger/client/ranger_client.py | 27 + .../apache_ranger/model/ranger_security_zone.py | 2 + pom.xml | 11 +- ranger_in_docker | 28 +- .../optimized/current/ranger_core_db_mysql.sql | 18 + ...t-info.sql => 075-create-sz-role-ref-table.sql} | 27 +- .../optimized/current/ranger_core_db_oracle.sql | 19 + .../patches/075-create-sz-ref-role-table.sql} | 36 +- .../optimized/current/ranger_core_db_postgres.sql | 21 + ...t-info.sql => 075-create-sz-ref-role-table.sql} | 33 +- .../current/ranger_core_db_sqlanywhere.sql | 24 + .../patches/075-create-sz-ref-role-table.sql | 40 + .../optimized/current/ranger_core_db_sqlserver.sql | 49 + .../patches/075-create-sz-ref-role-table.sql | 66 ++ security-admin/scripts/setup.sh | 8 + .../java/org/apache/ranger/biz/RoleDBStore.java | 18 + .../apache/ranger/biz/SecurityZoneRefUpdater.java | 144 ++- .../java/org/apache/ranger/biz/ServiceDBStore.java | 36 + .../java/org/apache/ranger/biz/ServiceMgr.java | 65 +- .../main/java/org/apache/ranger/biz/XUserMgr.java | 69 ++ .../java/org/apache/ranger/common/db/BaseDao.java | 4 + .../org/apache/ranger/db/RangerDaoManagerBase.java | 2 + .../org/apache/ranger/db/XXAuthSessionDao.java | 19 +- .../main/java/org/apache/ranger/db/XXGroupDao.java | 2 +- ...fUserDao.java => XXSecurityZoneRefRoleDao.java} | 73 +- ...eRefService.java => XXSecurityZoneRefRole.java} | 81 +- .../java/org/apache/ranger/rest/MetricsREST.java | 10 +- .../java/org/apache/ranger/rest/PublicAPIsv2.java | 23 + .../main/java/org/apache/ranger/rest/RoleREST.java | 12 +- .../org/apache/ranger/rest/SecurityZoneREST.java | 9 + .../java/org/apache/ranger/rest/ServiceREST.java | 39 + .../java/org/apache/ranger/rest/XUserREST.java | 89 +- .../ranger/security/context/RangerAPIList.java | 2 + .../service/RangerSecurityZoneServiceService.java | 2 + .../apache/ranger/service/XGroupServiceBase.java | 18 + .../apache/ranger/service/XUserServiceBase.java | 18 + .../org/apache/ranger/util/RangerMetricsUtil.java | 17 +- .../main/resources/META-INF/jpa_named_queries.xml | 22 + .../main/resources/conf.dist/ranger-admin-site.xml | 8 + .../src/main/webapp/react-webapp/package-lock.json | 57 +- .../src/main/webapp/react-webapp/package.json | 2 +- .../src/main/webapp/react-webapp/src/App.jsx | 40 +- .../src/components/CommonComponents.jsx | 54 +- .../react-webapp/src/components/XATableLayout.jsx | 105 +- .../structured-filter/react-datepicker/calendar.js | 33 + .../react-datepicker/date_input.js | 6 +- .../react-datepicker/datepicker.js | 4 + .../react-typeahead/tokenizer/index.js | 114 +- .../react-typeahead/tokenizer/token.js | 75 +- .../react-typeahead/typeahead/index.js | 65 +- .../main/webapp/react-webapp/src/images/close.svg | 3 + .../react-webapp/src/images/sidebar/account.svg | 3 + .../react-webapp/src/images/sidebar/audits.svg | 3 + .../react-webapp/src/images/sidebar/chevron.svg | 1 + .../react-webapp/src/images/sidebar/dropdown.svg | 10 + .../webapp/react-webapp/src/images/sidebar/key.svg | 3 + .../react-webapp/src/images/sidebar/pipe.svg | 3 + .../react-webapp/src/images/sidebar/ranger.svg | 12 + .../react-webapp/src/images/sidebar/reports.svg | 3 + .../react-webapp/src/images/sidebar/settings.svg | 3 + .../react-webapp/src/images/sidebar/tags.svg | 3 + .../react-webapp/src/images/sidebar/zone.svg | 3 + .../src/main/webapp/react-webapp/src/index.jsx | 4 +- .../main/webapp/react-webapp/src/styles/style.css | 1010 ++++++++++++----- .../main/webapp/react-webapp/src/utils/XAUtils.js | 50 +- .../main/webapp/react-webapp/src/utils/appState.js | 12 +- .../src/views/AuditEvent/AccessLogDetail.jsx | 6 +- .../src/views/AuditEvent/AccessLogs.jsx | 46 +- .../src/views/AuditEvent/AccessLogsTable.jsx | 2 +- .../src/views/AuditEvent/AdminLogs.jsx | 30 +- .../AuditEvent/AdminLogs/PolicyViewDetails.jsx | 11 +- .../src/views/AuditEvent/AdminModal.jsx | 2 +- .../src/views/AuditEvent/AuditLayout.jsx | 4 +- .../src/views/AuditEvent/LoginSessionsLogs.jsx | 30 +- .../src/views/AuditEvent/OperationAdminModal.jsx | 2 +- .../src/views/AuditEvent/PluginStatusLogs.jsx | 31 +- .../src/views/AuditEvent/PluginsLog.jsx | 30 +- .../react-webapp/src/views/AuditEvent/UserSync.jsx | 36 +- .../react-webapp/src/views/CustomBreadcrumb.jsx | 86 +- .../src/views/Encryption/KeyCreate.jsx | 7 +- .../src/views/Encryption/KeyManager.jsx | 36 +- .../main/webapp/react-webapp/src/views/Home.jsx | 117 +- .../main/webapp/react-webapp/src/views/Layout.jsx | 69 +- .../src/views/PermissionsModule/EditPermission.jsx | 28 +- .../src/views/PermissionsModule/Permissions.jsx | 42 +- .../views/PolicyListing/AddUpdatePolicyForm.jsx | 335 +++--- .../views/PolicyListing/PolicyConditionsComp.jsx | 8 +- .../src/views/PolicyListing/PolicyListing.jsx | 92 +- .../views/PolicyListing/PolicyListingTabView.jsx | 418 +++++-- .../views/PolicyListing/PolicyPermissionItem.jsx | 98 +- .../views/PolicyListing/TagBasePermissionItem.jsx | 33 +- .../src/views/Reports/SearchPolicyTable.jsx | 335 +++--- .../src/views/Reports/UserAccessLayout.jsx | 14 +- .../src/views/SecurityZone/SecurityZoneForm.jsx | 28 +- .../src/views/SecurityZone/ZoneDisplay.jsx | 7 +- .../src/views/SecurityZone/ZoneListing.jsx | 25 +- .../src/views/ServiceManager/ImportPolicy.jsx | 26 +- .../views/ServiceManager/ServiceAuditFilter.jsx | 81 +- .../src/views/ServiceManager/ServiceDefinition.jsx | 10 +- .../views/ServiceManager/ServiceDefinitions.jsx | 150 +-- .../src/views/ServiceManager/ServiceForm.jsx | 232 ++-- .../views/ServiceManager/ServiceViewDetails.jsx | 311 +++++ .../src/views/SideBar/ResourceTagContent.jsx | 81 ++ .../react-webapp/src/views/SideBar/SideBar.jsx | 453 ++++++++ .../react-webapp/src/views/SideBar/SideBarBody.jsx | 613 ++++++++++ .../react-webapp/src/views/SideBar/TopNavBar.jsx | 353 ++++++ .../UserGroupRoleListing/UserGroupRoleListing.jsx | 19 +- .../groups_details/GroupForm.jsx | 12 +- .../groups_details/GroupListing.jsx | 38 +- .../UserGroupRoleListing/role_details/RoleForm.jsx | 26 +- .../role_details/RoleListing.jsx | 43 +- .../users_details/AddUserView.jsx | 7 +- .../users_details/EditUserView.jsx | 12 +- .../users_details/UserFormComp.jsx | 15 +- .../users_details/UserListing.jsx | 59 +- .../webapp/react-webapp/src/views/UserProfile.jsx | 9 +- .../main/webapp/scripts/controllers/Controller.js | 9 +- .../src/main/webapp/scripts/utils/XAGlobals.js | 2 + .../scripts/views/policies/PermissionList.js | 2 +- .../scripts/views/policies/RangerPolicyCreate.js | 2 + .../scripts/views/policymanager/ServiceLayout.js | 4 +- .../views/policymanager/ServiceLayoutSidebar.js | 3 +- .../webapp/scripts/views/reports/AuditLayout.js | 3 +- .../scripts/views/reports/UserAccessLayout.js | 1 + .../org/apache/ranger/biz/TestRoleDBStore.java | 54 +- .../java/org/apache/ranger/biz/TestTagDBStore.java | 1187 ++++++++++++++++++++ .../org/apache/ranger/rest/TestMetricsREST.java | 87 ++ .../apache/ranger/util/TestRangerMetricsUtil.java | 51 + tagsync/scripts/setup.sh | 7 + .../unixusersync/config/UserGroupSyncConfig.java | 11 + .../process/PolicyMgrUserGroupBuilder.java | 175 +-- unixauthservice/scripts/setup.sh | 7 + 177 files changed, 8129 insertions(+), 2158 deletions(-) create mode 100644 agents-common/src/test/resources/policyengine/aws_s3_tags.json create mode 100644 agents-common/src/test/resources/policyengine/test_policyengine_aws_s3.json create mode 100644 agents-common/src/test/resources/policyengine/test_policyengine_kafka.json copy dev-support/ranger-docker/{docker-compose.ranger-postgres.yml => docker-compose.ranger-postgres-mounted.yml} (87%) copy security-admin/db/mysql/patches/{031-create-schema-for-usersync-audit-info.sql => 075-create-sz-role-ref-table.sql} (61%) copy security-admin/db/{sqlserver/patches/032-add-options-to-policy-and-tag-for-time-based-processing.sql => oracle/patches/075-create-sz-ref-role-table.sql} (52%) copy security-admin/db/postgres/patches/{031-create-schema-for-usersync-audit-info.sql => 075-create-sz-ref-role-table.sql} (53%) create mode 100644 security-admin/db/sqlanywhere/patches/075-create-sz-ref-role-table.sql create mode 100644 security-admin/db/sqlserver/patches/075-create-sz-ref-role-table.sql copy security-admin/src/main/java/org/apache/ranger/db/{XXSecurityZoneRefUserDao.java => XXSecurityZoneRefRoleDao.java} (56%) copy security-admin/src/main/java/org/apache/ranger/entity/{XXSecurityZoneRefService.java => XXSecurityZoneRefRole.java} (58%) create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/close.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/account.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/audits.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/chevron.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/dropdown.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/key.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/pipe.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/ranger.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/reports.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/settings.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/tags.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/images/sidebar/zone.svg create mode 100644 security-admin/src/main/webapp/react-webapp/src/views/ServiceManager/ServiceViewDetails.jsx create mode 100644 security-admin/src/main/webapp/react-webapp/src/views/SideBar/ResourceTagContent.jsx create mode 100644 security-admin/src/main/webapp/react-webapp/src/views/SideBar/SideBar.jsx create mode 100644 security-admin/src/main/webapp/react-webapp/src/views/SideBar/SideBarBody.jsx create mode 100644 security-admin/src/main/webapp/react-webapp/src/views/SideBar/TopNavBar.jsx create mode 100644 security-admin/src/test/java/org/apache/ranger/biz/TestTagDBStore.java create mode 100644 security-admin/src/test/java/org/apache/ranger/rest/TestMetricsREST.java create mode 100644 security-admin/src/test/java/org/apache/ranger/util/TestRangerMetricsUtil.java