2511 Commits

Author SHA1 Message Date
Matt
f533a67981
Use RequiredArgsConstructor in openmetadata-ui/*.java (#2974) 2022-02-24 15:52:46 +05:30
Matt
3c8fc79b94
Update all *.java in openmetadata-ui to use lombok.LOG (#2973) 2022-02-24 15:14:13 +05:30
Vivek Ratnavel Subramanian
09933a12ae
Fix #2966: JWT filter should compare times in UTC to check the validity (#2971) 2022-02-24 00:57:04 -08:00
Matt
8e998678cf
Assign default roles from Teams to User (#2947) 2022-02-24 00:47:14 -08:00
kshinde2512
9dd8598e96
Adding Webhooks selenium tests (#2911)
* Adding Webhooks selenium tests

* Adding java checkstyle

* Changed assertions based on comments

* Added @RequiredArgsConstructor

* Adding java checkstyle

Co-authored-by: kushal <kushalshinde2512@gmail.com>
2022-02-24 00:46:35 -08:00
Mayur Singal
6a2180e975
Fix #2539: redshift lineage mapping (#2828)
* py_format

* Fixed code smells

* used util method to ingest lineage

* removed sample sql query
2022-02-24 13:20:09 +05:30
Akash Jain
123ef9cab7
Bump up release version (#2968) 2022-02-24 12:48:10 +05:30
Sriharsha Chintalapani
724989e097
Fix #2873: DataQuality test specifications and APIs (#2906)
* Fix #2873: DataQuality test specifications and APIs
2022-02-23 23:13:36 -08:00
Pere Miquel Brull
a4b383fa83
Fix #2897 - Profiler CLI (#2967)
Fix #2897 - Profiler CLI
2022-02-24 08:03:50 +01:00
codingwithabhi
2ef2edbf17
Bigquery lineage mapping (#2849)
* lineage-boilerplate-code-added

* bigquery-lineage-completed

* lineage-code-optimised

* code-cleaned

* code-smell-fixed

* code-refined

* added-database-name-in-fqdn

* code-smell-removed

* exception-handled

* removed-print-statement

* formatted-setup.py

* added-sqllineage-version

* included-valid-type-none

* debug-added-in-logger

* lineage-logic-updated

* updated-lineage-params

* global-config-variables-removed

* return-type-updated-in-entity

* updated-conditionin-from-entity

* imported-sqllineage-inside-method

* code-smell-removed

* code-formatted
2022-02-24 11:59:00 +05:30
Pere Miquel Brull
1fb0e7c489
Fix #2878 & #2877 - Implement Metrics and Validate Composed Metrics (#2926)
Fix #2878 & #2877 - Implement Metrics and Validate Composed Metrics
2022-02-24 07:08:39 +01: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
Matt
a1257bdcc9
Support returning teams for GET /roles (#2958) 2022-02-23 19:29:20 -08:00
Vivek Ratnavel Subramanian
906f5c5352
Fix #2865: Thread should have its own message and posts should only be the replies (#2944) 2022-02-23 14:50:00 -08:00
Matt
c1a1447c4b
Refactor EntityReference list population with id list for a given entity type (#2956) 2022-02-23 14:35:30 -08:00
Mayur Singal
4739aaa096
Fix #2905: Added MSSQL Usage Connector (#2948)
* Fix #2509: added mssql usage connector

* removed comment

* removed unused variables

* fixed code smell

* renamed sql variable
2022-02-24 01:01:03 +05:30
Ayush Shah
fab36fe1b2
fix 2918: Added Error Handling in policy tags (#2933) 2022-02-24 00:56:14 +05:30
kshinde2512
b570d520ac
Changing selenium version (#2934)
Co-authored-by: kushal <kushalshinde2512@gmail.com>
2022-02-23 15:42:23 +05:30
Sriharsha Chintalapani
aac0cbfbe9
Fix #2953: NoopAuthorizer should create a anonymous user (#2940) 2022-02-22 23:50:56 -08:00
Suresh Srinivas
fd30229f4c
Fixes #2899 - Not getting proper relation between parent and child glossary-terms (#2941) 2022-02-22 23:45:02 -08:00
Sachin Chaurasiya
ba97b40c79
Fix #2871: Make search magnifying glass clickable to search (#2923)
* Fix #2871: Make search magnifying glass clickable to search

* Addressing review comments
2022-02-23 11:15:49 +05:30
Ayush Shah
e373483947
Fix #2927: Removed ColumnDataTypeDisplay check with ColumnDataType (#2928) 2022-02-22 12:44:08 -08:00
Mayur Singal
f9182a6244
Fix #2901: fixed error message (#2917)
* Fix #2901: fixed error message

* moved error message to helper.py

* replaced error to http
2022-02-23 00:20:36 +05:30
Sachin Chaurasiya
2420cd2333
Fix #2890 Show columns icons in Lineage UI enhancement. (#2924) 2022-02-22 23:48:30 +05:30
comet
f4bdf219c3
fix incorrect query (#2916) 2022-02-22 08:59:54 -08:00
Sachin Chaurasiya
c2b6d84841
Fix : Roles page is showing blank UI when switch to users tab. (#2922) 2022-02-22 21:29:23 +05:30
Pere Miquel Brull
1224d20a36
Fix #2894 - Profiler Processor & Metrics (#2900)
Fix #2894 - Profiler Processor & Metrics (#2900)
2022-02-22 08:09:02 +01:00
Vivek Ratnavel Subramanian
d0e6a3f11f
Fix #2867: Add support for GET /feed/{id}/posts (#2892) 2022-02-21 14:24:41 -08:00
Pere Miquel Brull
1656ca460c
Check for empty payload (#2903) 2022-02-21 14:19:27 -08:00
Mayur Singal
1e556d2ac1
fix #2869: snowflake-usage processor fixed (#2896) 2022-02-21 09:05:24 -08:00
Akash Jain
3744cd250b
fix: cherry pick for 0.8.3 (#2893)
* update dockerfile with new release download url

* update tags to 0.8.3
2022-02-21 13:55:29 +05:30
Matt
0791c8c266
Extend team to support defaultRoles (#2885)
* Extend team to support defaultRoles

* Add support for team defaultRoles change description

* Add tests
2022-02-20 21:21:08 -08:00
Matt
9e4d8d709d
Support swapping default roles (#2868)
* Support swapping default roles

Pseudocode:

```
A. patchRole(role1, default=True):
B.   set role1.default = True
     for all users:
       add role1 to user.roles
C.   for role in roles if role != role1:
       set role.default = False
       for all users:
         delete role from user.roles
```

This ensures that changeDescription for the role(s) and user(s) are updated accordingly.

Potential optimization:
Adding role1 and removing role from user.roles could be considered/implemented as one change.
However, increases code complexity.

* Set DataConsumer as default role

* Fix tests

* Fix code smell
2022-02-20 11:27:32 -08:00
Matt
5419366a43
Fix access control rule userRoleAttr to point to roleName (#2644) 2022-02-20 10:38:25 -08:00
Pere Miquel Brull
e55579aaa8
Fix #2845 - Init Profiler Workflow (#2862)
* Fix list typing

* Add sqlite service

* Add sqlite service

* Add sqlite service

* Refactor validation into class

* Refactor validation into class

* Prepare table simple profiler

* Add note

* test ORM conversion

* Prepare workflow config utilities

* Prepare workflow skeleton

* Use new core Validation

* Refactor workflow config parsing

* Add comment

* Simplify workflow validations

* Fix table metric check

* Add init for convenience, otherwise interpreter cries when trying to __call__ the get result

* Fix table metric check

* Format

* Format

* Fix table list and metrics init

* Prepare profiler workflow integration tests

* Bump version

* Fix pycharm imports

* format
2022-02-20 17:55:12 +01:00
Vivek Ratnavel Subramanian
28807f8c0a
Fix #2837: Add a Feed Count API with entityLink filter support (#2860) 2022-02-19 11:11:09 -08:00
Matt
f0804816ab
Add support for default role (#2631) (#2676)
- Add default field to role
- Amend GET /roles to query default roles
- Assign default role to new users being created
2022-02-19 11:02:21 -08:00
Ayush Shah
d2c64007cb
Table Constraints Added - Ingestion (#2854) 2022-02-19 09:16:15 -08:00
Ayush Shah
0e34028d05
Tableau Lineage Implementation (#2850)
* Tableau Lineage Implementation

* Handling Code Smell
2022-02-19 09:15:35 -08:00
darth-coder00
5ecf980ab0
Fix: #2521 - Ad owner support for all services and database (#2858) 2022-02-19 16:59:39 +05:30
Sachin Chaurasiya
df58ecf1d4
Fix #2778 UI : Add Queries tab for table details page. (#2793)
* Fix #2778 UI : Add Queries tab for table details page.

* minor change

* Changing Table Queries text to Queries.

* Addressing comments

* Adding last run by user detail

* Minor UI Changes

* Removed icon

* Changing Query card style.

* Changing Icons
2022-02-19 13:45:51 +05:30
Sachin Chaurasiya
3eab339c0e
Fix #2835, #2836 Lineage entities overlap and Descriptions in Lineage view do not have formatting. (#2840)
* Fix #2835, #2836 Lineage entities overlap and Descriptions in Lineage view do not have formatting.

* Minor change

* Changing nodeWidth
2022-02-19 13:45:21 +05:30
Sachin Chaurasiya
9fc3f8979f
Generating Typescript Types from Json Schema. (#2851) 2022-02-19 13:45:05 +05:30
Sriharsha Chintalapani
a8990b97f7
Handle description and tag updates (#2856) 2022-02-18 17:52:13 -08:00
Sriharsha Chintalapani
647712c397
Fix #2843: Ignore ordinalPosition when comparing the columns, carry forward description, tags when a column is changed (#2844) 0.8.1-release 2022-02-17 23:52:40 -08:00
Suresh Srinivas
aa64b8c990
Fixes #2841 - Upgrade maven dependencies for release 0.9 (#2842) 2022-02-17 23:37:50 -08:00
Ayush Shah
959d441661
Glossary Entity Added - Ingestion fix (#2794)
* Added Glossary

* Modified Glossary: Mixin and suffix

* Glossary Mixin Methods

* Sample Data and Mixin for Glossary

* Modified comments

* Glossary Mixin Updated

* Added Glossary import

* Import issues fixed, removed upper limit for jinja2 as it conflicted

* Removed Glossary Import
2022-02-18 12:50:55 +05:30
Pere Miquel Brull
f304d290b4
Fix #2751 - Init ORM Profiler (#2831)
* ORM Profiler skeleton

* Fix table name within service

* Add license

* Prepare custom types

* Fix converter

* Compute stddev only on numeric

* Prepare smart registries

* Update tests

* Update results retrieval

* Fix composed metrics result

* Format

* Add missing type

* Add _label decorator

* clean readme

* clean readme

* Filter types when profiler runs not allowed metric types

* Fix null ratio

* Add proper type

* RuleMetric skeleton

* Prepare table metrics

* Update simple profiler

* Format

* Define test expression grammar and node visiting

* Unify metric registry

* Prepare validation core

* Add grammar lib

* Add safe get

* Format

* Allow decimals in grammar

* Test validation conversion

* Fix validation conversion and test

* Rename to row_number

* Update READMEs

* Format

* Row number naming

* Fix rename
2022-02-18 07:48:38 +01:00
Sriharsha Chintalapani
42dc42174f
Fix #2569: Custom Pipeline Service defenition (#2824)
* Fix #2569: Custom Pipeline Service defenition

* Fix #2569: Custom Pipeline Service defenition

* Adding UI support to show all services available from enum

Co-authored-by: darth-coder00 <aashit@getcollate.io>
2022-02-18 11:45:09 +05:30
darth-coder00
78ee32f585
Added entity selection changes to webhook (#2777)
* Implemented Listing, Add and Delete Webhook functionalities

* Implementing Edit Webhook and minor changes

* Minor updates

* Minor changes for generate button

* Addressing comments

* Addressing comment

* Added entity selection changes to webhook

* Addressing change requests

* Minor changes

* Removed unnecessary file

* Update openmetadata-ui/src/main/resources/ui/src/components/common/webhook-data-card/WebhookDataCard.tsx

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>

* Addressing change requests

* Schema to Typescript interfaces for webhook

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2022-02-18 11:12:04 +05:30