51 Commits

Author SHA1 Message Date
Mohit Yadav
a352a7ca6c
[GEN-1704] Remove Table Details from Import/Export at table level (#18093)
* [GEN-1704] Remove Table Details from Import/Export at table level, and only add columns

* Fix Tests
2024-10-04 10:07:45 +05:30
Mohit Yadav
f07daae196
[RbacDomain] RBAC with Domain Restrictions (#16586)
* Add domain field to entity jsons

* add subdomains ui

* Add Domain To create Request

* Typo fix

* commit progress

* allow multiple domains

* - add userDomains and teamDomains

* - Restrict Api Access

* allow multiple domain support

* - Add Listing Restricition
- Add Search Restrictions

* - Field Fix

* - Inherit Team Domains

* remove glossary filter from ui

* - Fix Tag and User Filter

* - Id -> FQN in create

* - Missing domain on indexes

* add domain in creation of team, user and glossary

* fix merge conflicts

* fix feedbacks

* fix tests

* add domain playwright

* minor changes

* fix domain fetching calls

* Add Thread Listing with EntityDomain

* Fixes for Team Join

* Mkae list mutable

* Add missing import

* Fix Team Test

* User Test case fix

* Fix User Domain

* Minor bug fixes related to sub domains

* Fix data retaining in add sub domain modal after closing

* fix NavBar unit test

* Make Domain Access Work Via Policies

* Fix errors introduced after conflict resolutions

* update render function in SubDomainsTable.component.tsx to accept an array of owners instead of a single owner

* fix java checkstyle

* fix py-test

* format

* Fix the domain e2e owner field type

* Fix Failing Tests

* fixed pytest list index

* update userDomains and teamDomains to domains

* Entity Domain to Domain for thread and changeEvent

* FIx fields

* @Ovveride

* FIx

* Remove Duplicate Field

* Remove Duplicate Field

* Fix Failing Test

* fix domain related changes

* fix subdomains loader

* Fix Owners Order

* Enforce Domain Permissions

* fix domain cleanup

* Fix Test

* rever owner change

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
Co-authored-by: Onkar Ravgan <onkar.10r@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2024-08-02 10:16:14 +05:30
Pere Miquel Brull
8d739563f2
FIX CL-548 - Encrypt JWT Token w/ Secrets Manager (#16861)
* encrypt jwt

* encrypt jwt

* Handle token revokes with SM

* #10192 - Validate both include and excludes filters

* #10192 - Validate both include and excludes filters

* docs
2024-07-11 09:16:48 +02:00
Imri Paran
a3e6ba2eef
MINOR: fix get resources (#16912)
* fix: get resources

use set to dedupe jar list when retrieving resources

* fix
2024-07-04 10:06:10 +05:30
Mohit Yadav
53407fb681
[Issue-16642] Add Claim Mapping to uniquely identifty username and email from claims (#16643)
* - Add Claim Mapping to uniquely identift username and email from claims

* - Null Check

* - Add field to yaml

* - Fix issue with token being null

* - Auth Code Flow Fix

* support jwtPrincipleClaimMapping from UI

---------

Co-authored-by: Chira Madlani <chirag@getcollate.io>
2024-06-19 13:13:09 +05:30
Karan Hotchandani
f9f7cde43e
Show fields for other lineage entities (#15513)
* show fields for other entities

* fix minor delete issue

* add support for topics and dashboards

* minor fixes

* Remove constraints of connecting column level lineae

* Enable Column Level lineage for all the entities

* Add delete edge by name apis

* fix fields display on drop

* Fix finding a nested column while adding column level lineage

* Fix finding a nested column while adding column level lineage

* add support for collapsible record and struct fields

* add column level lineage cypress

* minor fixes

* Fix dashboard chart lineage

* Fix dashboard chart lineage

---------

Co-authored-by: Sriharsha Chintalapani <harsha@getcollate.io>
2024-03-18 15:54:20 +05:30
07Himank
115870b2af
Pipeline and stored procedure lineage fix (#14681)
* pipeline and stored procedure lineage

* pipeline and stored procedure lineage

* fix: pass entity type in url

* fix unit tests

* pipeline and stored procedure lineage

* pipeline lineage

* pipeline and stored procedure lineage

* fix performance issues

* pipeline and stored procedure lineage done

* optimisation

* fix fullscreen mode

* add pipeline animation

* update loading state

* fix styling

* update pipeline status

* fixes

* fix cypress

* fix cypress

* fix cypress

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
2024-01-24 11:04:31 +05:30
Sriharsha Chintalapani
1294f93e15
Minor: Migrate to latest google code style library to support Java 17 and beyond (#14429)
* Minor: add spotless and use simplecontext

* Remove context from rule evaluaiton

* Fix EventSubscription tests

* Minor: Migrate to latest google code style library to support Java 17 and beyond

* Minor: Ignore code style migration from git blame
2023-12-18 12:56:17 -08:00
Pere Miquel Brull
d8984d267e
#14340 & #13849 - Clean secret ID and improve encrypt/decrypt exception management (#14356)
* Fix supported characters in SM

* Update SM

* Fixes

* Fixes

* Improve class conversion exceptions

* Comments

* Rename noop to db secrets manager providee

* Update sm

* Fix

* db SM

* db SM

* Fix test

* UI

* Update openmetadata-ui/src/main/resources/ui/src/mocks/IngestionListTable.mock.ts

* update default
2023-12-18 06:43:20 +01:00
Pere Miquel Brull
21e789b5a6
MINOR - Add Collate resources from classPath jars (#14177)
* MINOR - Add Collate resources from classPath jars

* Fix tests
2023-11-29 18:28:14 +01:00
Sriharsha Chintalapani
fe3e0b4b0a
Filter unnecessary jars and only look for openmetadata jars to register data json files (#13536) 2023-11-09 10:34:16 -08:00
Suresh Srinivas
dc5de12668
13188 (#13331)
* WIP

* Fixes #13188 Non-admin user can't add term on glossary after policy assigned
2023-09-25 12:09:25 -07:00
Suresh Srinivas
f45d82484d
Fixes #3090 Glossary Term approval workflow (#13269) 2023-09-19 18:30:20 -07:00
Suresh Srinivas
0e08d6d412
Turn JSONProcessingException into Runtime Exception (#12765) 2023-08-06 18:16:04 -07:00
Sriharsha Chintalapani
9dbaabad44
Adding MD5 hash to fullyQualifiedName and names to simplify DB indexes for lookups and increasing the size of FQN (#11960)
* Fix fqn hash

* Add name & fqnHash and remove generated columns from top level

* Add name & fqnHash and remove generated columns from top level

* Add name & fqnHash and remove generated columns from top level

* Add name & fqnHash and remove generated columns from top level

* Add name & fqnHash and remove generated columns from top level

* Add name & fqnHash and remove generated columns from top level

* Add name & fqnHash and remove generated columns from top level

* Add name & fqnHash and remove generated columns from top level

* Add name & fqnHash and remove generated columns from top level

* merge commits

* merge commits

* merge commits

* Fix glossary import/export

* Fix BotResource Tests

* Fix BotResource Tests

* Fix Glossary Term tests

* Fix Glossary Term tests

* Fix Glossary Import/Export tests

* All backend tests are fixed.

* merge with main

* Fix tests and revert local changes

* Fix tests and revert local changes

* Fix NullPointerException for Glossary and Query

* Fix Tests

---------

Co-authored-by: Ayush Shah <ayush@getcollate.io>
2023-06-19 15:43:05 +05:30
Suresh Srinivas
a1b9d3fe65
Fixes 10021 - Add CSV import/export for users (#10022)
* Fixes 10021 - Add CSV import/export for users

* Fixes 10021 - Add CSV import/export for users
2023-01-30 21:34:34 -08:00
Suresh Srinivas
dbdd4a13cb
Code cleanup of IDE flagged issues (#9715) 2023-01-12 18:40:50 -08:00
Suresh Srinivas
8c08cf73b5
Fixes #9290 Policies Don't Prevent Custom Properties Modification by Object Owner (#9327) 2022-12-15 20:37:51 -08:00
Nahuel
e5abdc8c5c
Fix#8577: Services sensitive passwords fields are stored in secrets store (#8671)
* Services sensitive passwords fields are stored in secrets store

* Update services on application startup in case of changes in the JSON Schema

* Minor changes after manual test
2022-11-14 13:48:50 +01:00
Suresh Srinivas
292672a970
Clean up code warnings (#8532) 2022-11-04 11:24:46 -07:00
Mahesh Pai R
0a1c701c76
Corrected null checks (#8320) 2022-10-23 05:43:37 -07:00
Sriharsha Chintalapani
1ef189540f
Revert "Fix ISSUE-3790: Remove unnecessary public modifiers (#8268)" (#8295)
This reverts commit 24f3ae763eaecc707d56fc62bea59b792eb7ad8b.
2022-10-20 10:04:35 -07:00
Shivam Shrey
24f3ae763e
Fix ISSUE-3790: Remove unnecessary public modifiers (#8268) 2022-10-20 08:58:52 -07:00
Ozan Uslan
84a1b11b11
Add private constructor to utility classes to hide the implicit public one (#7850) 2022-10-01 12:13:54 -07:00
Suresh Srinivas
4e335796ba
Deleting CipherText introduced for building pagination cursors is no longer used (#7142) 2022-09-01 14:10:50 -07:00
Suresh Srinivas
c2a70bd545
Fixes #6978 Helper function for building ChangeDescription (#6979)
* Fixing test failures

* Fixes #6978  Helper function for building ChangeDescription
2022-08-26 14:07:15 -07:00
Nahuel
30e7312203
Fix#5920: Expose hostPort field for some services (#6678)
* Expose hostPort field for some services

* Fix failing tests after changes

* Remove added interface to json schemas

* Change implementation to use annotations for exposing fields of objects

* Update JsonUtils test

* Format Java code
2022-08-16 09:54:47 +02:00
Nahuel
80ca224c39
Fix: Avoid store sensitive info in events repository using custom annotation (#6666)
* Avoid store sensitive infomation in created event when a Secrets Manager is configured

* Refactor code to start using custom annotations in the json schma deffinition

* Remove unused config object

* Add removed comment

* Add separated entity comparision for events in EntityResourceTest

* Add missing mask property in service connection schemas

* Update openmetadata-core pom.xml

* Missing import in openmetadata-core pom.xml
2022-08-12 15:56:37 -07:00
Suresh Srinivas
eb459c0b58
Fix for sonar flagged issues (#4345) 2022-04-22 18:57:08 -07:00
Suresh Srinivas
a07d08871b
Fix some of the sonar cloud flagged issues (#4175) 2022-04-17 21:49:10 -07:00
Suresh Srinivas
6057a37015
Fixes #3717 Remove unnecessary exceptions thrown (#3718) 2022-03-28 14:58:24 -07:00
Suresh Srinivas
f7cc5160cc
Fix warnings from issue3501 where exceptions are no longer thrown (#3512) 2022-03-19 17:57:57 -07:00
Suresh Srinivas
6ad55972d4
Fixes #3069 - Attempt 2 - Add PATCH support Glossary and GlossaryTerms (#3088) 2022-03-02 18:22:09 -08:00
Suresh Srinivas
7ea9e448d0
Fixes #2942 - Fix bugs reported by Sonar issue on release 0.9 (#2943) 2022-02-23 20:40:25 -08:00
Shreshtha Misra
97c6ae9272
Fix issue #2037- Use lombok Slf4j annotation to initialize logger (#2282)
* Fix #2037-add lombok
Co-authored-by: Sriharsha Chintalapani <harsha@getcollate.io>
2022-01-19 12:36:48 -08:00
Suresh Srinivas
5a8e2ee31f
Issue2194 - Change dateTime field to unix epoch timestamp milliseconds and add support for webhook secret key (#2195)
* Add support for webhook secret key

* Fixes #2194 - Change dateTime field to unix epoch timestamp milliseconds and add support for webhook secret key

* Fixes #2194 - Added support for upgrading existing metadata to move dateTime attributes to timestamp
2022-01-13 12:08:42 -08:00
Matt
ed797dc335
Remove unused Guice (#2120) 2022-01-09 21:03:50 -08:00
mask
dea0f2117d
Remove public modifier for test methods(#1979) (#2039) 2022-01-05 03:34:14 -08:00
Suresh Srinivas
8a390d4dbb
Fixes #2031 - Fix some sonarcloud flagged issues (#2032) 2022-01-04 10:04:24 -08:00
Suresh Srinivas
a649e723cd
Fixes #1984 - Remove unused code in Json related utils (#1985) 2021-12-31 11:52:11 -08:00
Suresh Srinivas
b396cbd373
Fixes #1910 - Add support for enabling and disabling webhook (#1911) 2021-12-23 20:10:38 -08:00
Suresh Srinivas
5892595b1f
Fixes #1900 - Initial implementation of webhook API (#1905)
Co-authored-by: Suresh Srinivas <sureshsrinivas@Suresh-Collate.local>
2021-12-23 11:26:00 -08:00
Matt
f1a8a7886e
Link Lifecycle Policy to specific Location (#1720)
- Amend ingestion to support Location reference from Policy
- Amend PolicyResource and PolicyRepository to accommodate Location reference
2021-12-23 11:06:15 -08:00
Matt
f4c3947fc5
Add googleformatter to auto-format Java classes (#1705) 2021-12-16 16:13:50 +01:00
parthp2107
a9e70e6a89
License header update (#1498)
* updated liscense header

* updated license header

* updated license header

* updated license header

* addressing stylecheck findings
2021-12-01 12:46:28 +05:30
sureshms
2b60b4abdd Fix #640 - Fix warnings in the code 2021-10-01 15:46:46 -07:00
Sriharsha Chintalapani
4d8a9c0a9d
Fix #458: Sort table profile data by profile date (#459)
* Fix #458: Sort table profile data by profile date
2021-09-09 22:55:24 -07:00
Suresh Srinivas
4c3f2f6b07 Checkstyle; Fix checkstyle errors 2021-08-05 18:33:03 -07:00
Suresh Srinivas
b4c14ab27b Checkstyle; Include test files for checkstyle, removed AvoidWildcard, StaticVariableName, MemberVariableNameCheck 2021-08-05 17:45:58 -07:00
parthp2107
b5baa9f2db applied license to the backend files 2021-08-02 15:08:30 +05:30