1562 Commits

Author SHA1 Message Date
Ayush Shah
d09d0689ec
Fix Test Case (#12818) 2023-08-09 18:41:25 +05:30
Suresh Srinivas
340a029807
Fixes #12802 Add support for generic entity cache (#12803)
* Add entity cache in EntityRepository for all the entities

* Set entity fields only when it is not already set

* Clone entities from the cache

* Remove SubjectCache

* Remove RoleCache

* Remove PolicyCache

* Remove TagLabelCache

* Deleting lingering files

* Test failure fixes

* Remove getEntityReference methods from EntityDAO

* Move quoteName logic to EntityRepository

* Fix test failures
2023-08-08 16:42:54 -07:00
Suresh Srinivas
0e08d6d412
Turn JSONProcessingException into Runtime Exception (#12765) 2023-08-06 18:16:04 -07:00
Mohit Yadav
505a70982a
test suite listing fixes (#12758) 2023-08-04 16:53:51 +05:30
Suresh Srinivas
dc819d0369
Fixes #12741 Getting entity by name does not return inherited properties (#12742) 2023-08-04 03:46:06 -07:00
07Himank
cda004e35e
fixed issue for when classification has . in name the termCount was n… (#12729)
* fixed issue for when classification has . in name the termCount was not getting

* fix url encoding issues

* changes as per comments and sonar fix

* changes as per comments

* fixed issue for when classification has . in name and testcase and pytest issue

* checkstyle

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2023-08-04 11:37:17 +05:30
Suresh Srinivas
c5e7a63fbb
Fixes #11305 Delete tasks corresponding to an entity when the entity is deleted (#12740) 2023-08-03 18:27:01 -07:00
07Himank
00885380b6
fixed displayName issue for owner (#12724) 2023-08-03 19:09:35 +05:30
Mohit Yadav
daf6012374
Fix Failing TestSuite Migration (#12730) 2023-08-03 17:06:30 +05:30
Mohit Yadav
191cee2da0
Fix Test Suite Migrations (#12697)
* Fix Test Suite Migrations

* Fix Test Suite Migrations

* Fix Test
2023-08-02 16:58:22 +05:30
Esmaeil Chitgar
744a3d403f
add automate exception message for invalid enum value as api request parameter (#12400)
* add exception Message for invalid enum value

when enum value is incorrect in api call, this method generates the exactly message as we expect. for example the Include.java in databaseServiceResource.java list() api.

* add an example for invalid enum value as unit test for databaseServiceResource class.

A unit test example that shows how to use invalidEnumValue() method instead of traditional way i.e. writing plain string.

* apply google-formatter

* Merge branch 'EsmaeilChitgar-AddExceptionMessageForInvalidEnumValue' of https://github.com/EsmaeilChitgar/OpenMetadata into EsmaeilChitgar-AddExceptionMessageForInvalidEnumValue

* fix reported issues in pull request

---------

Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
2023-08-01 22:52:48 -07:00
Ashish Gupta
de06d50e7f
fix(ui): ui breaking as url was not encoded. (#12643)
* fix ui breaking because of url having percent in it

* added support for % in about

* fix test cases

* checkstyle

* url fix

* fix storage url

* encoded topic, mlmodel and pipeline entity

---------

Co-authored-by: 07Himank <himank07mehta@gmail.com>
2023-08-01 14:12:47 +05:30
Sriharsha Chintalapani
878fda47a1
Fix tests logging; do not initialize the search client if the search … (#12681)
* Fix tests logging; do not initialize the search client if the search config is not present

* Fix logging and parallelization defaults 1C

* Fix logging and parallelization defaults 1C

* Fix logging and parallelization defaults 1C

* Fix logging and parallelization defaults 1C

* Fix logging and parallelization defaults 1C

* Fix logging and parallelization defaults 1C
2023-07-31 23:35:08 -07:00
Chirag Madlani
098625c549
feat(server): description support for team hierarchy (#12638) 2023-08-01 11:25:42 +05:30
Suresh Srinivas
d968304853
Add BindFQN jdbi annotation to change fqn to fqnHash (#12658) 2023-07-31 11:51:40 -07:00
Mohit Yadav
361629fffd
no batch in migration updates (#12660) 2023-07-31 18:55:09 +05:30
07Himank
a95d19eaeb
Refactor Es OS code (#12572)
* refactor Es OS code

* refactoring Es OS code

* hardcore RUN_ELASTIC_SEARCH_TESTCASES value to true

* updated the size of maven-surefire from 1024 to 2048

* fixed blank service type issue for aggregation

* debugging pr

* debugging pr

* added configuration to openmetadata-secure-test.yaml

* debugging ci failure

* debugging ci failure

* debugging ci

* debugging ci issue

* added container to be created single time

* added container to start just once

* removed elasticSearchContainer = null

* removed elasticSearchContainer = null

* removed elasticsearchcontainer.stop

* reverted ElasticSearchContainer Changes

* revert extra memory added for jvm added

* reverted JUnit.run.xml

* resolved conflicts

---------

Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2023-07-31 12:07:10 +05:30
Suresh Srinivas
786dde170e
Fixes #12651 Organization policy changes are overwritten during server restart (#12652) 2023-07-29 11:42:49 -07:00
Suresh Srinivas
b7e3242911
Make LoadingCache members final variables (#12648)
* Make LoadingCache members final variables

* Simplify singleton classes

* Reuse Entity fields instead of declaring them again
2023-07-29 11:42:28 -07:00
Suresh Srinivas
cb9e5d8b6f
Simplify getting from and to entity relationships (#12627) 2023-07-28 04:59:16 -07:00
Sriharsha Chintalapani
50fb66c8dc
Fix #12610: adminUsers lookup should be quoted, do not allow bot users s to be promoted to admin user via adminUsers config (#12611)
* Fix #12610: adminUsers lookup should be quoted, do not allow bot users to be promoted to admin user via adminUsers config

* Fix #12610: adminUsers lookup should be quoted, do not allow bot users to be promoted to admin user via adminUsers config

* remove changes to yaml

---------

Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2023-07-27 23:34:48 -07:00
Suresh Srinivas
8830d1707d
Initialize EntityResoruceTest support flags automatically (#12513) 2023-07-27 20:42:10 -07:00
mohitdeuex
3e17c984eb added list to ignore migration if already done for 2023-07-27 12:09:01 +05:30
Pere Miquel Brull
6773541d15
[1.1.1] - Bump size for FQN (#12092)
* Bump size for FQN

* Bump table entityName size

* Bump table entityName size

* Fix table resource tests

* Remove pattern from fqn

* Remove pattern from fqn

* Remove pattern from fqn

* Generalize get_by_name in ometa client

* Generalize get_by_name in ometa client

* Format

* Fix test suite

* Remove limit from FQN max size

* Remove limit from FQN max size

* Add sample data

* Update lint names

* Add more sample data

* Bump column name size

* 1024 max FQN length

* 1024 max FQN length

* 1024 max FQN length

* Bump FQN
2023-07-26 12:36:42 -07:00
Sriharsha Chintalapani
67b68a70c9
Fix #7712: Align AuthProvider values in the JSON schema definition (#11508)
* Fix #7712: Align AuthProvider values in the JSON schema definition

* Fix ingestion bot initialization, create jwt token if there is no authMechanism pre-configured

* Fix ingestion bot initialization, create jwt token if there is no authMechanism pre-configured

* Handle new providers

* Lint

* Fix #7712: Align AuthProvider values in the JSON schema definition

* Handle new providers

* Fix ingestion bot initialization, create jwt token if there is no authMechanism pre-configured

* Fix ingestion bot initialization, create jwt token if there is no authMechanism pre-configured

* Lint

* fix rebase

* Fix test

* Fix test

* Fix Usage of Auth Provider in User Resource

* remove unused function

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2023-07-26 11:34:58 -07:00
mohitdeuex
5af1bc4a55 Update SQL queries for reading and comming migration 2023-07-26 17:48:46 +05:30
mohitdeuex
410cb984a2 Merge remote-tracking branch 'origin/main' 2023-07-26 16:41:02 +05:30
mohitdeuex
8ab4072504 Change ignoreFileChksum to force 2023-07-26 16:40:52 +05:30
Onkar Ravgan
0f8ebf4afe
Fixed Tableau-Bigquery lineage issue (#12570) 2023-07-26 16:07:48 +05:30
Shailesh Parmar
f36ed5f204
fixed: ui: add support of azure config in dbt form #12589 (#12594)
* fixed: ui: add support of azure config in dbt form #12589

* translation-sync

* fixed azure option selection in edit mode
2023-07-26 14:32:22 +05:30
Mohit Yadav
c86bda9d94
Update Pagination with offset and limit for Reindexing (#12553) 2023-07-25 18:39:23 +05:30
Mohit Yadav
60c9477d18
fix date issues in table profile (#12574) 2023-07-25 11:11:42 +05:30
07Himank
699beec9c6
backend changes for feedback(Activity feed alert) (#12548) 2023-07-24 11:51:01 +05:30
07Himank
db5f6c594c
added missing aggregation for query API (#12395)
* added  missing aggregation

* fix: update aggregations keys in ui

* added field owner in glossary_search_index

* added filtering on aggregation

* working on filtering aggregation

* fix: update aggregate api

* fix: cypress tests

* fix: excluding cypress folder in sonar properties

* aggregation changes from backend for opensearch and elasticsearch

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: karanh37 <33024356+karanh37@users.noreply.github.com>
2023-07-23 11:28:02 +05:30
Suresh Srinivas
493c073a66
Fixes #12459 Members of the group, that owns the object, can't resolve a task (#12535) 2023-07-21 11:16:47 -07:00
Sriharsha Chintalapani
bde7509a8c
Remove file appender from logging for tests (#12514) 2023-07-21 08:36:02 -07:00
Mohit Yadav
977e13d00c
Optimize db calls for entity_extension and field_relationship table (#12543)
* Optimize db calls for entity_extension and field_relationship table

* change count sql for postgres
2023-07-21 15:23:37 +05:30
07Himank
8e0fc86b4e
fixed glossary name not visible after reindex issue (#12438)
* fixed glossary name not visible after reindex issue and added display name as name if display name is null beacuse aggregation is done on owner display name

* fix
2023-07-20 10:32:43 +05:30
Mayur Singal
0c6435ae9b
Fix #2957: Add support for qlik sense enterprise connector (#12450) 2023-07-19 21:08:05 +05:30
Mohit Yadav
3534913b96
List Deleted table Profile (#12484) 2023-07-19 10:49:55 +05:30
Suresh Srinivas
159b6a2e4f
12142.task3 Add support for inheriting domain from parent to child (#12472) 2023-07-18 12:54:10 -07:00
07Himank
b6d5a438ec
Support '%' in entity Name (#12382)
* added support for the % in entity name

* added support for the % in glossary and glossary term  name

* Added U exclude

* Fixed pytest

* fix: support % in glossary name

* added suppport for % in entityName

* fix % issue in the glossary or term

* fix: glossary with % encoding

* fix: tags redirect issue for glossaries with %

* fix: glossary import path

* fixed CI

* fixed Py Test

* fixed PyTest

* fixed glossary resource test

---------

Co-authored-by: Onkar Ravgan <onkar.10r@gmail.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: karanh37 <33024356+karanh37@users.noreply.github.com>
2023-07-18 17:58:16 +05:30
mohitdeuex
a5fafb1289 Typo fix 2023-07-18 16:57:24 +05:30
Suresh Srinivas
62e82ba492
Move setting common patch and updated fields to EntityRepository (#12469) 2023-07-17 21:41:25 -07:00
07Himank
532a78e0c0
added composition aggs to aggregate API (#12161) 2023-07-16 10:10:33 -07:00
Suresh Srinivas
0d119de96e
Fixes #12447 Use JSON schema constrain validation in CSV imports (#12448) 2023-07-15 15:02:17 -07:00
Mohit Yadav
0a6e91d69a
Fix issue while storing empty email (#12437)
* Fix issue while storing empty email

* Update TeamRepository.java

* chore(ui): if email is empty set value as undefined

* chore(ui): address comments

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2023-07-14 20:08:18 +05:30
Pere Miquel Brull
3433e2b5dd
Ingestion Pipeline - Bulk deploy API & Status response updated (#12365)
* Redeploy in tables init

* Use Status class

* Update response Status

* Format

* Rename pipelineServiceClientResponse
2023-07-14 07:38:29 +02:00
Mohit Yadav
9a643c3a41
Fix Missing We Config on Error Page Response in #UI (#12428) 2023-07-13 21:16:05 +05:30
Mohit Yadav
47eeb76d81
Fix Migration Issues, Log issues (#12409)
* Fix Migration Issues, Log issues

* Log FQNs creation
2023-07-13 18:30:02 +05:30