Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RANGER-4314: Delete nonexistent user return error status code #1

Open
wants to merge 524 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
524 commits
Select commit Hold shift + click to select a range
a37a896
Merge branch 'master' into RANGER-3923
mneethiraj Dec 11, 2023
56f9d8c
RANGER-4533: updated REST API /public/v2/api/service-headers to exclu…
mneethiraj Dec 11, 2023
88d7644
RANGER-4542: SearchFilter.ZONE_NAME_PARTIAL missed in earlier commit …
mneethiraj Dec 11, 2023
7968a28
Merge branch 'master' into RANGER-3923
mneethiraj Dec 12, 2023
1d6a82c
RANGER-4519 - Update ServiceDef icons in service manager page
Brijesh619 Nov 29, 2023
0096f5d
RANGER-4587: blog: dynamic expressions - #2
mneethiraj Dec 12, 2023
95253ff
Modified documentation to fix the PMC role
sneethiraj Dec 13, 2023
1fafc63
RANGER-4587: blog: dynamic expressions - #3
mneethiraj Dec 12, 2023
d950460
RANGER-4283: [WIP] UI for GDS: updated datashare tab in dataset detai…
anandN872 Dec 14, 2023
4a8eaba
Merge branch 'master' into RANGER-3923
mneethiraj Dec 14, 2023
425910b
RANGER-4608: updated getDataShare() API to enforce ACL specified in t…
prashantdev88 Dec 14, 2023
4ecb2f8
RANGER-4609:Support in File-based Tag Retriever to provide tag-deltas
kulkabhay Dec 14, 2023
aa61a10
RANGER-4616: modified committer info for doc purpose
sneethiraj Dec 18, 2023
fff59fd
RANGER-4603: added query param createdBy for dataset GET API
prashantdev88 Dec 13, 2023
678a4c6
RANGER-4604: added query param createdBy for security-zone GET API
prashantdev88 Dec 19, 2023
5cfe873
RANGER-4467: User Agent info not logged under 'Login sessions' when l…
RakeshGuptaDev Oct 10, 2023
913d737
RANGER-4502 : Getting Error to load backbone.js latest UI.
dhavaljrajpara Dec 5, 2023
c18743d
RANGER-4613: updated trx log retrieval API to support objectId query …
mneethiraj Dec 18, 2023
627fa28
RANGER-4618: added service displayName field in ZoneServiceSummary Ob…
prashantdev88 Dec 19, 2023
0364ef1
RANGER-4609:Support in File-based Tag Retriever to provide tag-deltas
kulkabhay Dec 14, 2023
fbeddbe
RANGER-4616: modified committer info for doc purpose
sneethiraj Dec 18, 2023
1be421d
RANGER-4467: User Agent info not logged under 'Login sessions' when l…
RakeshGuptaDev Oct 10, 2023
4d38037
RANGER-4502 : Getting Error to load backbone.js latest UI.
dhavaljrajpara Dec 5, 2023
c4bb32b
RANGER-4613: updated trx log retrieval API to support objectId query …
mneethiraj Dec 18, 2023
f54e14e
RANGER-4618: added service displayName field in ZoneServiceSummary Ob…
prashantdev88 Dec 19, 2023
ebfc4c1
RANGER-4617: updated DatasetSummary to include ACL principal counts
prashantdev88 Dec 19, 2023
74351d6
RANGER-4585:Support multiple columns policy creation in ranger for Gr…
Dec 7, 2023
de4a379
RANGER-4624: database schema updates to support GDS
monika-kachhadiya Dec 21, 2023
866b919
Merge branch 'master' into RANGER-3923
mneethiraj Dec 22, 2023
2dc2a7e
RANGER-4566: Java patch to set x_access_type_def.category
mneethiraj Dec 21, 2023
97b7f66
RANGER-4267: moved GDS service creation to init, instead of at resour…
mneethiraj Dec 26, 2023
0e36d42
RANGER-4283: GDS UI - datashare detailed view updates
anandN872 Dec 29, 2023
3b9ec33
RANGER-4490: added API to fetch DataShareInDataset Summary
prashantdev88 Dec 29, 2023
dbac454
RANGER-4625: updated yarn-plugin packaging to include dependent libra…
qingzhongli Jan 2, 2024
b009908
Merge branch 'master' into RANGER-3923
mneethiraj Jan 2, 2024
e4da912
RANGER-4302: RangerCache updated to support value loader to use calle…
mneethiraj Jan 2, 2024
9b478f0
RANGER-4631: updated admin audits UI to correctly render operation fo…
princeap173 Jan 3, 2024
271986e
RANGER-4615 : Keep the LDAP usersync details popup names same as the …
fimugdha Jan 3, 2024
f3e1564
RANGER-4492: Optimize plugins/definitions API Call for Initial Load i…
Brijesh619 Dec 12, 2023
592de52
RANGER-4532: Optimize policy listing loader after session timeout and…
Brijesh619 Dec 13, 2023
ed3a0f3
RANGER-4513: Policy listing page experiences an unexpected reset to A…
Brijesh619 Jan 4, 2024
c2b83f5
RANGER-4611 : Security zone form not populate resources value properl…
dhavaljrajpara Jan 4, 2024
64da8ed
Merge branch 'master' into RANGER-3923
mneethiraj Jan 4, 2024
8159115
RANGER-4606: /assets/assets/count API does not return the proper coun…
princeap173 Dec 14, 2023
58a75b1
RANGER-4605: /assets/resources/count does not return proper count if …
princeap173 Dec 14, 2023
712fc43
RANGER-4601: /xaudit/access_audit/count API does not return the prope…
princeap173 Dec 12, 2023
05e8bef
RANGER-4600: updated /xaudit/access_audit API to handle KMS audit log…
princeap173 Dec 12, 2023
501f1cc
Merge branch 'master' into RANGER-3923
mneethiraj Jan 5, 2024
8ef4e51
RANGER-4613: GDS : Need filter of objectId in /assets/report api to f…
dineshkumar-yadav Jan 4, 2024
fca13a7
Merge branch 'master' into RANGER-3923
mneethiraj Jan 5, 2024
fb0d1d5
RANGER-4448: updated GDS CRUD APIs to return appropriate status code …
prashantdev88 Jan 5, 2024
2f7f762
RANGER-4283: GDS UI - updated request listing page, created history t…
anandN872 Jan 8, 2024
96da0c8
RANGER-4639: Provide an option to bypass evaluation of chained plugin…
kulkabhay Jan 8, 2024
65b17ec
Merge branch 'master' into RANGER-3923
mneethiraj Jan 9, 2024
12a1bf5
RANGER-4634: on service deletion, delete associated GDS objects as well
prashantdev88 Jan 8, 2024
c9da69b
RANGER-4628: updated validations for security-zone partial update API
prashantdev88 Dec 28, 2023
614114e
RANGER-4642: on security-zone delete/update, delete associated GDS ob…
mneethiraj Jan 9, 2024
67d8c80
RANGER-4440: remove stale code that attempts to decompress x_security…
mneethiraj Jan 10, 2024
70770ef
RANGER-4641: Handling empty values while displaying ActivationTime & …
Brijesh619 Jan 11, 2024
6ecec1e
RANGER-4539: Plugin status UI should render GDS download details
Brijesh619 Jan 11, 2024
dba0f11
RANGER-4647: [Ranger UI] Text overflowing in the datashares table lis…
princeap173 Jan 11, 2024
54ef387
RANGER-4636: RANGER-4637: Fix /public/api/policy/count and /public/ap…
princeap173 Jan 10, 2024
c4e6e94
RANGER-4645: fixed unit test failures in TestSecurityZoneDBStore
mneethiraj Jan 11, 2024
42bbf5c
RANGER-4651: update GDS objects ACL for deletion of Ranger user/group…
prashantdev88 Jan 12, 2024
9e92583
RANGER-4648: updated GDS validation for name length
princeap173 Jan 14, 2024
a664de5
RANGER-4655: Execute and read permissions granted to a user in differ…
kulkabhay Jan 16, 2024
7aa17a1
RANGER-4675: Using the ozone service id specified in the config inste…
fateh288 Jan 17, 2024
7dd8d5d
RANGER-4658: updated GDS policy evaluation to fix handling of _any ac…
mneethiraj Jan 17, 2024
11dbcf7
RANGER-4660: fixed error while creating service having name without a…
siddheshphatak92 Jan 18, 2024
30dd2b5
RANGER-4666: fixed getResourceACLs() API to account for tags assigned…
mneethiraj Jan 19, 2024
255aabc
RANGER-4664: GDS validation updated to handle empty resource
suchnit Jan 19, 2024
3d2bf96
RANGER-4651: fixed incorrect JPA query names - #2
prashantdev88 Jan 19, 2024
a62c0a0
RANGER-4654: Handle Dataset and Datashare creation errors gracefully
princeap173 Jan 22, 2024
a07b6d4
RANGER-4662: fix to update GDS version after deletion of user, group
prashantdev88 Jan 18, 2024
cff0530
RANGER-4663: service creation should skip creation of default tag-ser…
siddheshphatak92 Jan 24, 2024
6e94858
RANGER-4669: updated GDS APIs for retreiving datasets shared with the…
suchnit Jan 24, 2024
d1eb5af
RANGER-4652: Value for datasets and projects field in the access audi…
princeap173 Jan 27, 2024
0a69510
RANGER-4536: Audit UI updates to support datasets and projects
princeap173 Jan 28, 2024
8351b32
RANGER-4610: API calls for zones and services on initial landing in Z…
Brijesh619 Dec 18, 2023
861dd2b
RANGER-4612 : Fix to use correct service for resource lookup API in s…
fimugdha Dec 15, 2023
9513ecb
RANGER-4653: Add inline assertions for displayName length in service …
princeap173 Jan 13, 2024
4a621c2
RANGER-4544 - Implement best coding practices for policy resources
dhavaljrajpara Jan 22, 2024
43cb907
RANGER-4659: Add eye icon for password visibility in Ranger Login Page
Brijesh619 Jan 24, 2024
9dcb210
RANGER-4656: Filtering the resources in the search filter options on …
Brijesh619 Jan 16, 2024
4efae9a
RANGER-4675: Checkbox selection issue when clicking on permission lab…
Brijesh619 Jan 31, 2024
c8fbd01
RANGER-4684 Need to update createdBy ,updatedBy field for gds objects…
prashantdev88 Jan 31, 2024
e18f179
RANGER-4632: Security Zone policies version increases by +2 when we u…
RakeshGuptaDev Jan 3, 2024
834c211
RANGER-4668: Need to have new local storage item for column show hide…
Brijesh619 Feb 1, 2024
fa1532e
RANGER-4691: updated GDS validation to allow dataset admins to create…
anandN872 Feb 8, 2024
168613e
RANGER-4644: updated access audit UI to fix error in rendering GDS po…
princeap173 Feb 7, 2024
741f233
RANGER-4690: updated Hive plugin to fix incorrect policy version in a…
Sanket-Shelar Feb 7, 2024
af3252c
RANGER-4695: updated API to find zones for a resource to handle delet…
mneethiraj Feb 8, 2024
52c7ef8
RANGER-4696: Fix User Deletion Issue for GDS approver users in Ranger
princeap173 Feb 11, 2024
87b7bb9
RANGER-4697: increment GDS version of services when a security zone i…
anandN872 Feb 14, 2024
ae6481f
RANGER-4630: added pagination support and searchFilters in tag REST APIs
anandN872 Feb 17, 2024
48520f9
RANGER-4630: added multiple tagId search in /tags/tags/paginated API
anandN872 Feb 18, 2024
dd05b9e
RANGER-3923: updated sample_gds_client.py to use multiple users, grou…
mneethiraj Feb 20, 2024
e686c24
RANGER-3923: updated sample_gds_client.py to use multiple users, grou…
mneethiraj Feb 20, 2024
f47db0c
RANGER-4630: updated tag REST APIs to support multiple resourceIDs
anandN872 Feb 21, 2024
4280c51
RANGER-4689: Fix Ranger Javapatch failure even if service-defs do not…
pradeepagrawal8184 Feb 6, 2024
c4f6cc3
RANGER-4722: HDFS authorization logic for directory hierarchy rooted …
kulkabhay Feb 20, 2024
84ef6e5
RANGER-4723: updated zone matcher to handle descendent match
mneethiraj Feb 21, 2024
ca8d7fc
RANGER-4724: updated importServiceTags API to handle missing service …
anandN872 Feb 22, 2024
a6a5c4b
RANGER-4680 : Inconsistent resource lookup behaviour with newly creat…
dhavaljrajpara Feb 20, 2024
82747eb
RANGER-4687: Updating the Something went wrong page in Ranger React UI
Brijesh619 Feb 26, 2024
736a767
RANGER-4718 : Skip showing 'Page not found' page for INVALID_INPUT_DA…
fimugdha Feb 23, 2024
bed90ca
RANGER-4717 : Skip showing 'Page not found' for wrong value is provid…
fimugdha Feb 23, 2024
0fdc598
RANGER-4700: Audit logs for Masking policy is missing data mask type …
Brijesh619 Feb 23, 2024
dd01ab2
RANGER-4720: Ranger Admin server gives empty response when user with …
RakeshGuptaDev Feb 16, 2024
e987ab7
RANGER-4699 : Update the execution of setServiceDef call in App.jsx
dhavaljrajpara Feb 26, 2024
b02b3e8
RANGER-4698: Audit UI improvements with respect to values overflowing…
princeap173 Feb 12, 2024
c45a1c0
RANGER-4568: Upgrade Spring Security to 5.7.11 and spring framework t…
pradeepagrawal8184 Feb 26, 2024
a7026dd
RANGER-4390: creating another row batch causes null pointer exception…
fateh288 Mar 4, 2024
1fcc15e
RANGER-4727: failure to delete tagDef should return appropriate error…
suchnit Mar 6, 2024
8222674
RANGER-4741: Hive plugin optimization to avoid excessive metastore AP…
mneethiraj Mar 7, 2024
74ac212
RANGER-4734: Docker setup to run Ranger enabled Trino
Mar 9, 2024
02c0748
RANGER-4719: fix incorrect handling of policy condition expressions i…
Feb 20, 2024
c6842bc
RANGER-4734: Docker setup updated to build Trino plugin package - #2
mneethiraj Mar 12, 2024
59f840b
RANGER-4672: updated tagsync log configuration to include hostname an…
himanshumaurya09876 Jan 24, 2024
d8956c1
RANGER-4584: UI fix in rendering tag-based policy for EXPIRES_ON
himanshumaurya09876 Dec 12, 2023
05cba73
RANGER-4747: Add exception handling in docker based service creation …
kumaab Mar 13, 2024
8a3747e
RANGER-4730: Migrate Ranger modules to junit5 - phase 2
kishorgollapalliwar Mar 4, 2024
29bec24
RANGER-4511: Enable Parallel Compilation for Multiple Modules in Rang…
JiaLiangC Mar 22, 2024
a1dc832
RANGER-4746: Fix ranger-jdk11 build profile (#301)
kumaab Mar 22, 2024
3fab587
RANGER-4752: Enable jdk 11 builds on PRs and merges to master (#305)
kumaab Mar 22, 2024
9887eb7
RANGER-4749: added TagREST APIs to retrieve by resource and get pagin…
anandN872 Mar 22, 2024
caec262
RANGER-4760: updated to use case-insensitive matching for zoneNamePar…
risesDOTio Mar 26, 2024
5981fb3
RANGER-4749: fixed TagREST.getServiceResourceByResource() to populate…
anandN872 Mar 26, 2024
b209e61
RANGER-4753: Upgrade Spring Security to 5.7.12 and spring framework t…
pradeepagrawal8184 Mar 20, 2024
ffda775
RANGER-4762:Prevent duplicate values for a resource while
fateh288 Apr 2, 2024
73083dd
RANGER-4764: update name of dataset/project policies when a dataset/p…
anandN872 Apr 3, 2024
785c563
RANGER-4763: updated Test Connection error message when this is not i…
anandN872 Apr 3, 2024
2d875da
RANGER-4767: Deleted policies are still taking effect if all policies…
kulkabhay Apr 4, 2024
4abb993
RANGER-4745: Enhance handling of subAccess authorization in Ranger HD…
kulkabhay Apr 4, 2024
f3637ac
RANGER-4746: Change default docker build to use JDK 8 (#309)
kumaab Apr 9, 2024
ccb31a7
RANGER-4650: Hive plugin should make column-type available in masking…
mneethiraj Jan 12, 2024
83b89ac
Added 'Dhaval Rajpara' as a committer
dhavaljrajpara Apr 30, 2024
9672762
RANGER-4786: Ranger override policy is not working
kulkabhay Apr 30, 2024
4c56f42
RANGER-4784: create default tag-based policies in new security zone
suchnit May 6, 2024
fa18ffb
RANGER-4761: [hbase] make lazy memory allocation for family map (#307)
fateh288 May 6, 2024
e6b83f3
RANGER-4783: remove duplicate entries of users/groups/roles during in…
fateh288 May 6, 2024
ae7d6b1
RANGER-4761: added missing Copyrights text from previous commit (#313)
fateh288 May 6, 2024
e2d2f80
RANGER-4787: reduce plugin memory footprint by avoiding unnecessary c…
mneethiraj Apr 28, 2024
9bfcff1
RANGER-3998: KMS integration with AWS KMS
Dec 16, 2022
ad51170
RANGER-4593 : Upgrade react-bootstrap library
dhavaljrajpara Mar 4, 2024
bf114e6
RANGER-4643 : Upgrade react-bootstrap library for GDS UI.
dhavaljrajpara May 8, 2024
301c8ff
RANGER-4681 : Audit logs for Mask & Row policy does not show policy c…
Brijesh619 May 13, 2024
bce9af1
RANGER-4498: Newly created user with admin role doesn't get permissio…
princeap173 Jan 30, 2024
8553644
RANGER-4769: remove code duplication in generation of admin audit logs
mneethiraj Mar 21, 2024
d793c59
RANGER-4737 : The inactivityTimeout is getting reset when user update…
fimugdha Mar 8, 2024
1671901
RANGER-4765: GDS UI: Need a date filter to filter the records in hist…
fimugdha Apr 17, 2024
8b1c1b1
RANGER-4105: updated stress_policy.py to create users/groups before c…
mneethiraj May 24, 2024
537720a
RANGER-4653: [addendum] Use Name validation regex instead of service …
princeap173 Mar 8, 2024
53188e1
RANGER-4688: Display query information for Show databases/schemas com…
princeap173 Feb 5, 2024
90f5cfe
RANGER-4673 : Pagination on the Ranger Admin - Plugin Status page
dhavaljrajpara May 20, 2024
65fad02
RANGER-4774 : Ranger react UI some modules shown hardcoded time zone …
dhavaljrajpara May 27, 2024
14cc011
RANGER-4803: create a single x_trx_log_v2 record instead of multiple …
mneethiraj May 24, 2024
a1bd509
RANGER-4811: updated to comply with Trino repo coding requirements
mneethiraj Jun 6, 2024
b129cd1
RANGER-4815: removed trino-shim as Trino already uses classloader to …
mneethiraj Jun 7, 2024
e06ab9f
RANGER-4794: updated GDS Python client to support forceDelete flag
mneethiraj May 16, 2024
3e38396
RANGER-4817: Optimize Ranger HDFS Authorization by combining multiple…
kulkabhay Jun 10, 2024
2c90db0
RANGER-4711: Auditing SHOW GRANT Hive Command
Arveti Jun 6, 2024
16c6027
RANGER-4820: Support authorization of multiple accesses grouped by ac…
kulkabhay Jun 17, 2024
5ca4342
RANGER-4823: Incorrect processing of downloaded policies in plugin wh…
kulkabhay Jun 18, 2024
10b8793
RANGER-4806: fixed errors in writing audit to spool with JDK17, by re…
monika-kachhadiya Jun 17, 2024
d8a670c
RANGER-4824: Remove ACL-based policy engine unit test code
kulkabhay Jun 18, 2024
b3b5ece
RANGER-4821: fixed bugs and code smell reported by sonarqube
monika-kachhadiya Jun 18, 2024
626deed
RANGER-3927-Avoid generating MK if it already exists
vikaskr22 Nov 29, 2023
90c8ebb
RANGER-4775 : Ranger Kms is failing with oracle23 Database
dhavalshah9131 Apr 17, 2024
73409bf
RANGER-4782: Implement best coding practices for validating service c…
RakeshGuptaDev Jun 6, 2024
058388f
RANGER-4812: Database schema patch to create x_trx_log_v2 table
princeap173 Jun 19, 2024
93299cf
RANGER-4830: fixed failures in Ranger KMS db initialization
mneethiraj Jun 21, 2024
2a1bd00
RANGER-4822: fixed failure in persisting policy validity schedule
anandN872 Jun 25, 2024
7982907
RANGER-4831: updated agents-audit module to replace aws-java-sdk-bund…
mneethiraj Jun 24, 2024
b2253ad
RANGER-4834 : Remove 'Switch to latest UI' option from Ranger Admin B…
fimugdha Jun 26, 2024
6bfca1a
RANGER-4832: updated v2 to v1 admin audit log conversion to set uniqu…
mneethiraj Jun 25, 2024
d199202
RANGER-4822: fix for PMD violation in previous commit - #2
mneethiraj Jun 28, 2024
02f796c
RANGER-4792: Fix issue with creating index and import data in Elastic…
ognjen-it Jun 27, 2024
01882a8
Fix java.lang.NoClassDefFoundError in ranger usersync (#321)
kumaab Jun 30, 2024
a0b83f4
RANGER-4835:RangerHiveAuthorizer audit enhancement for metadata opera…
Jun 29, 2024
48865de
RANGER-4818: Fix users with role assignments from undergoing role res…
kumaab Jul 2, 2024
72f6c57
RANGER-4840:Fix compilation error in Ranger Hive Plugin module
Jul 2, 2024
aaaed10
RANGER-3967: fixed service creation to not fail due to missing implClass
mneethiraj Jul 3, 2024
780032f
RANGER-4807: upgraded Hadoop to 3.3.3
granewang May 29, 2024
8abe9e2
RANGER-4845: removed guava dependency
mneethiraj Jul 9, 2024
60252b5
RANGER-4849: updated Python library versions in ranger-tools: dependa…
mneethiraj Jul 9, 2024
2adfa71
RANGER-4849: updated Python library version in ranger-tools - #2
mneethiraj Jul 10, 2024
9e9ec52
RANGER-4807: upgraded Hadoop to 3.3.3 - #2; fixed build failure in pl…
mneethiraj Jul 10, 2024
7b922df
RANGER-4225: replaced org.codehaus.jackson with com.fasterxml.jackson
sercanCyberVision Jul 10, 2024
0e5a139
RANGER-4225: updated pom.xml files to remove duplicate dependencies - #2
mneethiraj Jul 12, 2024
e6e2190
RANGER-4855: updated logback to 1.5.6
kokosing Jul 11, 2024
9648f8f
RANGER-4852: De-duplicated tags do not work correctly when tag-deltas…
kulkabhay Jul 12, 2024
bc091c5
RANGER-4858: Remove usage of htrace-core4 PR #332
kokosing Jul 15, 2024
c9361dc
RANGER-4837: Fix flaky test by iterating over datewise subfolders for…
fateh288 Jul 15, 2024
8953190
RANGER-4729: upgraded commons-compress to 1.26.0
RakeshGuptaDev Jul 10, 2024
6c4c5af
RANGER-4857: Upgrade HBASE version to 2.6.0
Jul 16, 2024
cf29e10
RANGER-4729: Update commons-compress to 1.26.2 - #2
kokosing Jul 11, 2024
085baf4
RANGER-4859: updated Trino service-def for authorization interface ch…
pradeepagrawal8184 Jul 16, 2024
1e8c230
RANGER-4857: updated docker setup to use HBASE version 2.6.0 - #2
mneethiraj Jul 17, 2024
a855a4f
RANGER-4862: updated plugins packaging to include jackson libraries
mneethiraj Jul 17, 2024
f51a086
RANGER-4805: removed Atlas permissions in tag-based policies
RakeshGuptaDev Jul 17, 2024
8468f37
RANGER-4780: upgraded json-smart to 2.4.10
RakeshGuptaDev Jul 17, 2024
7cf63c2
RANGER-4863: fixed failures in HBase test-connection and auto-complete
mneethiraj Jul 18, 2024
b051ad6
RANGER-4804: fix for NPE while updating user-group associations
RakeshGuptaDev Jul 18, 2024
f806430
RANGER-4829: Atlas policy engine unit tests fixes (#317)
fateh288 Jul 18, 2024
967e2a5
Bump python dependencies in ranger-tools module (#330)
kumaab Jul 18, 2024
4e74eb0
RANGER-4866: version updates suggested by dependabot: testng, json-pa…
mneethiraj Jul 19, 2024
a2eff62
RANGER-4751 RANGER-4861: Enable docker builds for PRs, merges to mast…
kumaab Jul 22, 2024
a76a7b4
RANGER-4373: incorrect error message when deleting a role referenced …
Sanket-Shelar Jul 23, 2024
cea39c5
RANGER-4868: fix for ranger-mem-sizing failure with NoClassDefFoundError
mneethiraj Jul 23, 2024
81079a6
RANGER-4870: updated libthrift to 0.14.0 - pull request #353
kokosing Jul 25, 2024
e93368d
RANGER-4870: updated Solr to 8.11.3 - pull request #354
kokosing Jul 25, 2024
27df265
RANGER-4870: updated protobuf to 3.19.6 - pull request #355
kokosing Jul 25, 2024
a7e452a
RANGER-4871: cleaned up shim dependencies - pull request #356
kokosing Jul 25, 2024
e5053e1
RANGER-4225: updated Hive plugin shim to exclude org.codehaus.jackson…
kokosing Jul 25, 2024
487457c
Upgrade zookeeper to 3.9.2 (#359)
ksobolew Jul 26, 2024
9ea9db6
RANGER-4873: [docker] Upgrade zookeeper to 3.9.2 (#362)
kumaab Jul 27, 2024
5b550e3
RANGER-4195: added REST API to fetch health status of Ranger admin se…
ramackri Jul 28, 2024
0a274b5
RANGER-4561: added configuration to disable access logs in Ranger adm…
ramackri Nov 26, 2023
9791653
RANGER-4874: updated dependencies to exclude jsr311-api library
mneethiraj Jul 29, 2024
02cc698
RANGER-4819: Proposal to Upgrade All React.js Dependent Libraries
dhavaljrajpara Jul 26, 2024
72270ab
RANGER-4851 : Upon editing an User we are seeing some discrepancy in …
dhavaljrajpara Jul 24, 2024
477f879
RANGER-4874: replaced javax.ws.rs-api with jsr311-api, as jersey-bund…
mneethiraj Jul 29, 2024
7680447
RANGER-4878: upgraded webpack version to latest 5.93.0
fimugdha Jul 30, 2024
e97f95c
RANGER-4864: Upon performing Policy Import some of Audit Admin logs a…
RakeshGuptaDev Jul 23, 2024
1e26674
RANGER-4882: updated dependent library versions - fasterxml.jackson, …
mneethiraj Jul 31, 2024
f1c8f00
RANGER-4884: updated dependent library versions: Hadoop, AWS SDK, avr…
kokosing Jul 27, 2024
286066a
RANGER-4877 : Upgrade requireJS to 2.3.6 to 2.3.7.
dhavaljrajpara Jul 31, 2024
9fa4e4c
Added 'Mugdha Varadkar' as a committer
fimugdha Aug 5, 2024
5e4caa5
updated committer details for mneethiraj
mneethiraj Aug 8, 2024
9de9676
RANGER-4889: updated RangerMemSizing to support access request evalua…
mneethiraj Aug 6, 2024
cbc70f6
RANGER-4893: enhanced trie to support custom handling of matches
mneethiraj Aug 8, 2024
f58a47e
RANGER-4891: replaced use of PrivilegedAction with PrivilegedExceptio…
mneethiraj Aug 6, 2024
4e36545
RANGER-4904: updated Hadoop version to 3.3.6; removed avro dependency…
kokosing Aug 13, 2024
c0480ed
RANGER-4905:Reduce memory needed to create Ranger policy engine
kulkabhay Aug 15, 2024
d338761
RANGER-4709: Auditing set role command in hive
Arveti Aug 14, 2024
c416047
Added Guru Thejus Arveti as contributor
pradeepagrawal8184 Aug 16, 2024
1709b80
RANGER-4909 : Upgrade axios library version from 1.7.2 to 1.7.4 in Ra…
fimugdha Aug 16, 2024
cf2c4a5
RANGER-4908: updated plugin to use session cookie for all APIs
mneethiraj Aug 16, 2024
2e34537
RANGER-4911: support validity-schedule in datasets/projects to enable…
mneethiraj Aug 20, 2024
8bb2053
Fix maven build - add jetbrains repository (#380)
kumaab Aug 29, 2024
89879dc
RANGER-4921: Fix docker compose command in CI (#374)
kumaab Aug 29, 2024
2c77bb8
RANGER-4924 : Upgrade webpack library version from 5.93.0 to 5.94.0 i…
fimugdha Aug 30, 2024
705f1bf
RANGER-4925: Cache downloaded archives during CI docker build (#383)
kumaab Aug 30, 2024
f1ba91b
RANGER-4889: updated RangerMemSizing to support option -k, to specify…
mneethiraj Aug 23, 2024
7aa0658
RANGER-4922: Reduce time to find tags associated with multi-level res…
kulkabhay Sep 5, 2024
6cc4280
RANGER-4622: Fix the default value of ranger.accesslog.rotate.rename_…
upczsh Sep 7, 2024
204801c
RANGER-3746: Introduce ubi9-minimal as the ranger base image with bui…
kumaab Sep 7, 2024
4f6923a
Added 'Bhavik Patel' as a PMC
bhavikpatel9977 Sep 8, 2024
dd78538
Merge branch 'master' into patch-2
coldestlin Sep 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
130 changes: 118 additions & 12 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven
name: CI

on:
push:
Expand All @@ -31,17 +31,123 @@ on:
branches: [ "master" ]

jobs:
build:

build-8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: build (8)
run: mvn -T 8 clean install --no-transfer-progress -B -V
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: target-8
path: target/*

build-11:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install --no-transfer-progress -B -V
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: build (11)
run: mvn -T 8 clean install -pl '!knox-agent' --no-transfer-progress -B -V
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: target-11
path: target/*

docker-build:
needs:
- build-8
- build-11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download build-8 artifacts
uses: actions/download-artifact@v4
with:
name: target-8

- name: Copy artifacts for docker build
run: |
cp ranger-*.tar.gz dev-support/ranger-docker/dist
cp version dev-support/ranger-docker/dist

- name: Cache downloaded archives
uses: actions/cache@v3
with:
path: dev-support/ranger-docker/downloads
key: ${{ runner.os }}-ranger-downloads-${{ hashFiles('dev-support/ranger-docker/.env') }}
restore-keys: |
${{ runner.os }}-ranger-downloads-

- name: Run download-archives.sh
run: |
cd dev-support/ranger-docker
chmod +x download-archives.sh && ./download-archives.sh

- name: Build all ranger-service images
run: |
cd dev-support/ranger-docker
docker compose -f docker-compose.ranger-base.yml build
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
export RANGER_DB_TYPE=postgres
docker compose \
-f docker-compose.ranger-${RANGER_DB_TYPE}.yml \
-f docker-compose.ranger.yml \
-f docker-compose.ranger-usersync.yml \
-f docker-compose.ranger-tagsync.yml \
-f docker-compose.ranger-kms.yml \
-f docker-compose.ranger-hadoop.yml \
-f docker-compose.ranger-hbase.yml \
-f docker-compose.ranger-kafka.yml \
-f docker-compose.ranger-hive.yml \
-f docker-compose.ranger-knox.yml build
- name: Bring up containers
run: |
cd dev-support/ranger-docker
export RANGER_DB_TYPE=postgres
docker compose \
-f docker-compose.ranger-${RANGER_DB_TYPE}.yml \
-f docker-compose.ranger.yml \
-f docker-compose.ranger-usersync.yml \
-f docker-compose.ranger-tagsync.yml \
-f docker-compose.ranger-kms.yml \
-f docker-compose.ranger-hadoop.yml \
-f docker-compose.ranger-hbase.yml \
-f docker-compose.ranger-kafka.yml \
-f docker-compose.ranger-hive.yml \
-f docker-compose.ranger-knox.yml up -d
- name: Check status of containers and remove them
run: |
sleep 60
containers=(ranger ranger-zk ranger-solr ranger-postgres ranger-usersync ranger-tagsync ranger-kms ranger-hadoop ranger-hbase ranger-kafka ranger-hive ranger-knox);
flag=true;
for container in "${containers[@]}"; do
if [[ $(docker inspect -f '{{.State.Running}}' $container 2>/dev/null) == "true" ]]; then
echo "Container $container is running!";
else
flag=false;
echo "Container $container is NOT running!";
fi
done

if [[ $flag == true ]]; then
echo "All required containers are up and running";
docker stop $(docker ps -q) && docker rm $(docker ps -aq);
else
docker stop $(docker ps -q) && docker rm $(docker ps -aq);
exit 1;
fi
Comment on lines +70 to +153
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robust Docker build integration, but needs script fixes.

The integration of Docker operations into the CI pipeline enhances the build and deployment process. However, the shell script commands used in the Docker operations need attention:

  • Ensure proper quoting to prevent word splitting and globbing issues, as indicated by static analysis tools.

Apply these fixes to address the shell script issues:

- docker stop $(docker ps -q) && docker rm $(docker ps -aq);
+ docker stop "$(docker ps -q)" && docker rm "$(docker ps -aq)";
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
docker-build:
needs:
- build-8
- build-11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download build-8 artifacts
uses: actions/download-artifact@v4
with:
name: target-8
- name: Copy artifacts for docker build
run: |
cp ranger-*.tar.gz dev-support/ranger-docker/dist
cp version dev-support/ranger-docker/dist
- name: Cache downloaded archives
uses: actions/cache@v3
with:
path: dev-support/ranger-docker/downloads
key: ${{ runner.os }}-ranger-downloads-${{ hashFiles('dev-support/ranger-docker/.env') }}
restore-keys: |
${{ runner.os }}-ranger-downloads-
- name: Run download-archives.sh
run: |
cd dev-support/ranger-docker
chmod +x download-archives.sh && ./download-archives.sh
- name: Build all ranger-service images
run: |
cd dev-support/ranger-docker
docker compose -f docker-compose.ranger-base.yml build
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
export RANGER_DB_TYPE=postgres
docker compose \
-f docker-compose.ranger-${RANGER_DB_TYPE}.yml \
-f docker-compose.ranger.yml \
-f docker-compose.ranger-usersync.yml \
-f docker-compose.ranger-tagsync.yml \
-f docker-compose.ranger-kms.yml \
-f docker-compose.ranger-hadoop.yml \
-f docker-compose.ranger-hbase.yml \
-f docker-compose.ranger-kafka.yml \
-f docker-compose.ranger-hive.yml \
-f docker-compose.ranger-knox.yml build
- name: Bring up containers
run: |
cd dev-support/ranger-docker
export RANGER_DB_TYPE=postgres
docker compose \
-f docker-compose.ranger-${RANGER_DB_TYPE}.yml \
-f docker-compose.ranger.yml \
-f docker-compose.ranger-usersync.yml \
-f docker-compose.ranger-tagsync.yml \
-f docker-compose.ranger-kms.yml \
-f docker-compose.ranger-hadoop.yml \
-f docker-compose.ranger-hbase.yml \
-f docker-compose.ranger-kafka.yml \
-f docker-compose.ranger-hive.yml \
-f docker-compose.ranger-knox.yml up -d
- name: Check status of containers and remove them
run: |
sleep 60
containers=(ranger ranger-zk ranger-solr ranger-postgres ranger-usersync ranger-tagsync ranger-kms ranger-hadoop ranger-hbase ranger-kafka ranger-hive ranger-knox);
flag=true;
for container in "${containers[@]}"; do
if [[ $(docker inspect -f '{{.State.Running}}' $container 2>/dev/null) == "true" ]]; then
echo "Container $container is running!";
else
flag=false;
echo "Container $container is NOT running!";
fi
done
if [[ $flag == true ]]; then
echo "All required containers are up and running";
docker stop $(docker ps -q) && docker rm $(docker ps -aq);
else
docker stop $(docker ps -q) && docker rm $(docker ps -aq);
exit 1;
fi
docker-build:
needs:
- build-8
- build-11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download build-8 artifacts
uses: actions/download-artifact@v4
with:
name: target-8
- name: Copy artifacts for docker build
run: |
cp ranger-*.tar.gz dev-support/ranger-docker/dist
cp version dev-support/ranger-docker/dist
- name: Cache downloaded archives
uses: actions/cache@v3
with:
path: dev-support/ranger-docker/downloads
key: ${{ runner.os }}-ranger-downloads-${{ hashFiles('dev-support/ranger-docker/.env') }}
restore-keys: |
${{ runner.os }}-ranger-downloads-
- name: Run download-archives.sh
run: |
cd dev-support/ranger-docker
chmod +x download-archives.sh && ./download-archives.sh
- name: Build all ranger-service images
run: |
cd dev-support/ranger-docker
docker compose -f docker-compose.ranger-base.yml build
export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=1
export RANGER_DB_TYPE=postgres
docker compose \
-f docker-compose.ranger-${RANGER_DB_TYPE}.yml \
-f docker-compose.ranger.yml \
-f docker-compose.ranger-usersync.yml \
-f docker-compose.ranger-tagsync.yml \
-f docker-compose.ranger-kms.yml \
-f docker-compose.ranger-hadoop.yml \
-f docker-compose.ranger-hbase.yml \
-f docker-compose.ranger-kafka.yml \
-f docker-compose.ranger-hive.yml \
-f docker-compose.ranger-knox.yml build
- name: Bring up containers
run: |
cd dev-support/ranger-docker
export RANGER_DB_TYPE=postgres
docker compose \
-f docker-compose.ranger-${RANGER_DB_TYPE}.yml \
-f docker-compose.ranger.yml \
-f docker-compose.ranger-usersync.yml \
-f docker-compose.ranger-tagsync.yml \
-f docker-compose.ranger-kms.yml \
-f docker-compose.ranger-hadoop.yml \
-f docker-compose.ranger-hbase.yml \
-f docker-compose.ranger-kafka.yml \
-f docker-compose.ranger-hive.yml \
-f docker-compose.ranger-knox.yml up -d
- name: Check status of containers and remove them
run: |
sleep 60
containers=(ranger ranger-zk ranger-solr ranger-postgres ranger-usersync ranger-tagsync ranger-kms ranger-hadoop ranger-hbase ranger-kafka ranger-hive ranger-knox);
flag=true;
for container in "${containers[@]}"; do
if [[ $(docker inspect -f '{{.State.Running}}' $container 2>/dev/null) == "true" ]]; then
echo "Container $container is running!";
else
flag=false;
echo "Container $container is NOT running!";
fi
done
if [[ $flag == true ]]; then
echo "All required containers are up and running";
docker stop "$(docker ps -q)" && docker rm "$(docker ps -aq)";
else
docker stop "$(docker ps -q)" && docker rm "$(docker ps -aq)";
exit 1;
fi
Tools
actionlint

134-134: shellcheck reported issue in this script: SC2086:info:5:52: Double quote to prevent globbing and word splitting

(shellcheck)


134-134: shellcheck reported issue in this script: SC2046:warning:15:17: Quote this to prevent word splitting

(shellcheck)


134-134: shellcheck reported issue in this script: SC2046:warning:15:46: Quote this to prevent word splitting

(shellcheck)


134-134: shellcheck reported issue in this script: SC2046:warning:17:17: Quote this to prevent word splitting

(shellcheck)


134-134: shellcheck reported issue in this script: SC2046:warning:17:46: Quote this to prevent word splitting

(shellcheck)

65 changes: 57 additions & 8 deletions agents-audit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@
<groupId>org.slf4j</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -169,11 +177,6 @@
<artifactId>httpmime</artifactId>
<version>${httpcomponents.httpmime.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${google.guava.version}</version>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
Expand Down Expand Up @@ -312,7 +315,7 @@
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-spatial</artifactId>
<version>${lucene.version}</version>
<version>8.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
Expand Down Expand Up @@ -361,16 +364,62 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.orc</groupId>
<artifactId>orc-shims</artifactId>
<version>${orc.version}</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.airlift</groupId>
<artifactId>aircompressor</artifactId>
<version>${aircompressor.version}</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bundle</artifactId>
<artifactId>aws-java-sdk-logs</artifactId>
<version>${aws-java-sdk.version}</version>
</dependency>

<!-- Test -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
@ThreadSafe
public class AmazonCloudWatchAuditDestination extends AuditDestination {

private static Logger LOG = LoggerFactory.getLogger(AmazonCloudWatchAuditDestination.class);
private static final Logger LOG = LoggerFactory.getLogger(AmazonCloudWatchAuditDestination.class);

public static final String PROP_LOG_GROUP_NAME = "log_group";
public static final String PROP_LOG_STREAM_PREFIX = "log_stream_prefix";
Expand Down Expand Up @@ -92,7 +92,7 @@ public void stop() {
}

@Override
synchronized public boolean log(Collection<AuditEventBase> collection) {
public synchronized boolean log(Collection<AuditEventBase> collection) {
boolean ret = false;
AWSLogs client = getClient();

Expand Down
Loading
Loading