5395 Commits

Author SHA1 Message Date
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
Sriharsha Chintalapani
891ff465a0
Fix #2838: Fix airflow example DAG to import airflow libs (#2839) 2022-02-18 10:47:07 +05:30
Vivek Ratnavel Subramanian
b285d5b505
Fix #2719: Change Events should create a new thread against the data entity (#2814) 2022-02-17 11:54:40 -08:00
Sriharsha Chintalapani
162068e273
Fix #2811: Log level option for running metadata (#2820)
* Fix #2811: Log level option for running metadata

* Fix #2819: Kafka connector security settings along with all configs to be retrieved
2022-02-17 10:10:22 -08:00
Igor Kramer
316e02cdfd
FIX #2802: Skip partitions and add datatypes (#2803)
* ISSUE-2802: Skip partitions and add datatypes

* ISSUE-2802: formatting changes
2022-02-17 10:09:09 -08:00
Suresh Srinivas
c2b3f4a1d9
Fixes #2806 - Webhook changes using PUT API does not reflect updated data as well as version change in list API (#2829) 2022-02-17 09:42:18 -08:00
Shailesh Parmar
d9963e0792
Added test suits for multiple file (#2796) 2022-02-17 22:11:56 +05:30
Ayush Shah
c79f1f286d
Added Users to TableQueries (#2826)
* Added Users to TableQueries

* User EntityReference

* User EntityReference modification
2022-02-17 20:46:14 +05:30
kshinde2512
a9446e0209
Added negative tests and added some assertions (#2825)
Co-authored-by: kushal <kushalshinde2512@gmail.com>
2022-02-17 17:51:46 +05:30
Sriharsha Chintalapani
165f5bb0e9
Fix #2819: Kafka connector security settings along with all configs to be retrieved (#2823)
* Fix #2811: Log level option for running metadata

* Fix #2819: Kafka connector security settings along with all configs to be retrieved

* Fix #2819: Kafka connector security settings along with all configs to be retrieved
2022-02-17 15:17:43 +05:30
Alberto Miorin
b3b5f44c23
Fix #1876: Allow dots in entity names (#2700)
Add getter and setter for `name` into EntityInterface

Refactor code in utility method.

Rename the escape method.

Fix webhook.

Fix pipeline tests

Fix airflowPipeline tests

Fix role, team, and user tests

Replace . with _DOT_ to keep compatibility with the past and avoid a migration.

Remove the Python code that was replacing the . with _DOT_.

Restore "no dots" for services and implement the JSON Schema rule.

** Entites escaping dots
1. AirflowPipeline
2. Chart
3. Dashboard
4. Database
5. Location
6. Metrics
7. MlModel
8. Pipeline
9. Table
10. Topic

** Entities rejecting dots
1. Database Service
2. Dashboard Service
3. Messaging Service
4. Pipeline Service
5. Storage Service

** Entities accepting dots
1. Bots
2. Policy
3. Report
4. Role
5. Team
6. User
7. Webhook

** Fields escaping dots
1. Column
2. Task

Add escape for Column and TableConstraints

Add escape to Task

Remove the Python code. It will be added in a follow-up PR.

Fix Pipeline entity tests
2022-02-17 08:21:53 +01:00
Mayur Singal
419448a28f
Issue 2727: Added Databricks Connector (#2745)
* Issue #2727: Added Databricks Connector

* optional db and licence info

* make core_bump_version_dev

* host_port fix

* fixed service_type

* change package to sqlalchemy-databricks

* Update databaseService.json

Co-authored-by: Ayush Shah <ayush@getcollate.io>
2022-02-17 11:22:13 +05:30
Hendry Suwanda
3b9142886a
Fix #790 Make assertResponse & assertResponseContains shorter on all … (#2821) 2022-02-16 21:28:36 -08:00
Suresh Srinivas
ab0a4f5e36
Fixes #2667 Intermittent failures on WebhookResourceTest (#2822) 2022-02-16 21:27:24 -08:00
Mayur Singal
dfebc85c4e
fix #2790: fixed usage ingestion issue (#2805) 2022-02-17 10:46:23 +05:30
Sachin Chaurasiya
8555966f61
Fix: Lineage Value is not changing on fqn change. (#2795) 2022-02-17 10:14:27 +05:30
Sriharsha Chintalapani
50799227e4
Fix #2817: Remove indexing of Glossary as another Elasticsearch index (#2818) 2022-02-16 20:10:26 -08:00