2482 Commits

Author SHA1 Message Date
Ajith Prasad
7c391fa849
Online users not getting tracked ; LDAP adminPrincipal bug (#24091)
* Online users not getting tracked bug fixed

* Added support for adminPrincipals in ldap

* Added TC for adminPrincipal setting in ldap
2025-11-03 16:07:56 +05:30
Adrià Manero
5f1bc5e228
Fixes #23127: Notification Channel Transformers Implementation for Notification Templates (#24053)
* Remove CSS comments from email notification envelope

* Add markdown & HTML processing dependencies

* Notification channel foundation & channel renderers

* Implement core logic for the notification templates engine

* Test core logic for the notification templates engine
2025-11-03 08:12:36 +01:00
sonika-shah
ca9778aea1
Fix assets being lost on tag/term rename, after PR #23054 changes (#24062)
* Fix assets being lost on tag/term rename, after PR #23054 changes

* cleanup function
2025-11-03 12:09:44 +05:30
Bhanu Agrawal
1fd31a8387
Migrated lineage methods (#24052)
* Setup new client for ES/OS

* Migrated createIndex and addIndexAlias methods

* Migrated createAliases method to new ES/OS client

* Migrated updateIndex and deleteIndex methods

* Updated indexExists methods

* refactor: extract index management operations into dedicated manager classes

* Add tests for ElasticSearch and OpenSearch index managers

* chore: fix code style issues"

* Added integeration tests for ES/OS index manager

* Fix log level

* Fixed priority key mapping for test_case_result_index

* fix test to use field name in the query as domains.id not domain.id

* Migrated createEntity and createEntities method

* Fixed failing tests

* Set headers so 8.x client can work with 7.17x or higher server for ES

* Added OpenSearch compatible stemmer configuration

* Fix java code style

* Fixed java checkstyle issue

* Added support for 7.17.x backward compatibility

* Fixed failing tests

* Migrated createTimeSeriesEntity and deleteEntity methods

* Refactor search client architecture with entity management abstraction

* Updated log level to ERROR form WARN

* deleteEntity method impl removed from ES client

* migrated deleteEntityByFields method to new es/os client

* migrated deleteEntityByFQNPrefix method to use new ES/OS client

* deleteEntityByFQNPrefix method removed

* Migrated deleteByScript method to new ES/OS client

* Removed deleteByScript method from SearchClient

* Migrated softDeleteOrRestoreEntity method to new ES/OS client

* Reverted BulkResponse static import

* Migrated softDeleteOrRestoreChildren method to new ES/OS client

* Migrated updateEntity method to new ES/OS client

* Migrated updateChildren method to new ES/OS client

* Removed unused methods

* Migrated getDocByID method to new ES/OS client

* Added info logging

* Fixed parsing issue while passing string doc

* Migrated updateEntityRelationship method to new ES/OS client

* Migrated reindexWithEntityIds method to new ES/OS client

* Added log to show error message for updateEntityRelationship

* Refactored entity manager methods

* Added async client, fixed null obj parsing issue

* Refactoring

* Refactored duplicate methods createEntity and createTimeSeriesEntity

* Added integration tests for ES/OS entity managers

* Updated client availability checks in both index manager classes to use the consistent !isClientAvailable pattern

* Removed comment

* chore: Fix line formatting in Playwright test files

- Adjusted line length in Domains.spec.ts for better readability
- Fixed indentation and formatting in Lineage.spec.ts
- Added missing newline at end of files

* Added new line

* Migrated other index related methods and add tests

* MIgrated updateByFqnPrefix and updateLineage and deleteByRangeQuery methods

* migrated deleteByRangeAndTerm method

* Added integration tests

* Migrated updateColumnsInUpstreamLineage and deleteColumnsInUpstreamLineage methods

* Migrated updateGlossaryTermByFqnPrefix method

* Removed unused method and updated error handling

* Migrated reindexEntities method to new ES/OS client

* Added integration tests for reindexEntities method

* Added interface and impl for generic methods migration

* added default impl

* Migrated deleteDataStream method

* Migrated deleteILMPolicy method

* Migrated deleteIndexTemplate method

* Migrated deleteComponentTemplate emthod

* migrated dettachIlmPolicyFromIndexes method

* migrated removeILMFromComponentTemplate method

* Migrated cluster metric methods

* Removed from ESClient/OSClient to GenericManager

* Migrated getSearchHealthStatus

* Add integration tests

* Migrated buildDIChart and fetchDIChartFields methods

* Migrated listDataInsightChartResult emthod

* Migrated getQueryCostRecords

* Migrated getSchemaEntityRelationship

* Added data insight aggregator tests

* Fixed failing tests

* Migrated aggregate method

* Migrated genericAggregation and aggregate methods

* Fixed failing data insight query

* Updated ref for OS aggregation manager

* Fixed issues with aggregations migration

* Fixed tests

* Migrated lineage methods

---------

Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-10-31 11:05:28 +05:30
Bhanu Agrawal
0ed8335d33
Migrate/es os aggregator methods (#24068)
* Setup new client for ES/OS

* Migrated createIndex and addIndexAlias methods

* Migrated createAliases method to new ES/OS client

* Migrated updateIndex and deleteIndex methods

* Updated indexExists methods

* refactor: extract index management operations into dedicated manager classes

* Add tests for ElasticSearch and OpenSearch index managers

* chore: fix code style issues"

* Added integeration tests for ES/OS index manager

* Fix log level

* Fixed priority key mapping for test_case_result_index

* fix test to use field name in the query as domains.id not domain.id

* Migrated createEntity and createEntities method

* Fixed failing tests

* Set headers so 8.x client can work with 7.17x or higher server for ES

* Added OpenSearch compatible stemmer configuration

* Fix java code style

* Fixed java checkstyle issue

* Added support for 7.17.x backward compatibility

* Fixed failing tests

* Migrated createTimeSeriesEntity and deleteEntity methods

* Refactor search client architecture with entity management abstraction

* Updated log level to ERROR form WARN

* deleteEntity method impl removed from ES client

* migrated deleteEntityByFields method to new es/os client

* migrated deleteEntityByFQNPrefix method to use new ES/OS client

* deleteEntityByFQNPrefix method removed

* Migrated deleteByScript method to new ES/OS client

* Removed deleteByScript method from SearchClient

* Migrated softDeleteOrRestoreEntity method to new ES/OS client

* Reverted BulkResponse static import

* Migrated softDeleteOrRestoreChildren method to new ES/OS client

* Migrated updateEntity method to new ES/OS client

* Migrated updateChildren method to new ES/OS client

* Removed unused methods

* Migrated getDocByID method to new ES/OS client

* Added info logging

* Fixed parsing issue while passing string doc

* Migrated updateEntityRelationship method to new ES/OS client

* Migrated reindexWithEntityIds method to new ES/OS client

* Added log to show error message for updateEntityRelationship

* Refactored entity manager methods

* Added async client, fixed null obj parsing issue

* Refactoring

* Refactored duplicate methods createEntity and createTimeSeriesEntity

* Added integration tests for ES/OS entity managers

* Updated client availability checks in both index manager classes to use the consistent !isClientAvailable pattern

* Removed comment

* chore: Fix line formatting in Playwright test files

- Adjusted line length in Domains.spec.ts for better readability
- Fixed indentation and formatting in Lineage.spec.ts
- Added missing newline at end of files

* Added new line

* Migrated other index related methods and add tests

* MIgrated updateByFqnPrefix and updateLineage and deleteByRangeQuery methods

* migrated deleteByRangeAndTerm method

* Added integration tests

* Migrated updateColumnsInUpstreamLineage and deleteColumnsInUpstreamLineage methods

* Migrated updateGlossaryTermByFqnPrefix method

* Removed unused method and updated error handling

* Migrated reindexEntities method to new ES/OS client

* Added integration tests for reindexEntities method

* Added interface and impl for generic methods migration

* added default impl

* Migrated deleteDataStream method

* Migrated deleteILMPolicy method

* Migrated deleteIndexTemplate method

* Migrated deleteComponentTemplate emthod

* migrated dettachIlmPolicyFromIndexes method

* migrated removeILMFromComponentTemplate method

* Migrated cluster metric methods

* Removed from ESClient/OSClient to GenericManager

* Migrated getSearchHealthStatus

* Add integration tests

* Migrated buildDIChart and fetchDIChartFields methods

* Migrated listDataInsightChartResult emthod

* Migrated getQueryCostRecords

* Migrated getSchemaEntityRelationship

* Added data insight aggregator tests

* Fixed failing tests

* Migrated aggregate method

* Migrated genericAggregation and aggregate methods

* Fixed failing data insight query

* Updated ref for OS aggregation manager

* Fixed issues with aggregations migration

* Fixed tests

* fix aggregate api response

* Fixed aggregation response structure
2025-10-30 21:38:12 +05:30
Adrià Manero
854d396fe7
Fix: ExpressionValidator false positives for identifiers with security keywords (#24061) 2025-10-30 11:35:23 +01:00
Teddy
8cd23b2490
#20463 - Retention for test case results and profile data (#23988)
* fix: migration

* fix: playwright test DBT -> dbt

* feat: added rentention for profile and dq data

* feat: fix failing tests

* feat: address error in postgres delete sql

* feat: fixed missing parameter in psql query

* fix: added the deletion step in test case

* feat: fixed postgres query for deletion before cutoffs
2025-10-30 08:43:49 +01:00
Bhanu Agrawal
c78acbe772
Fix slow or timeout query issue for search (#24082) 2025-10-29 19:50:39 -07:00
Sriharsha Chintalapani
9dea4716e3
Fix lock contention while looking appName, remove appName lookups (#24081) 2025-10-29 15:33:59 -07:00
Mohit Yadav
d77aaabd89
Fix Pytest Failures (#24063)
* Fix Pytest Failures

* Checkstyle failures fix
2025-10-29 17:46:40 +01:00
Chirag Madlani
c2896d896e
feat(ui): pipeline view support for node or edge (#23893)
* feat(ui): pipeline view support for node or edge

* support edge / node view from UI

* update condition

* fix conditions

* update doc and translation

* add tests

* revert lineage spec changes

* Update generated TypeScript types

* Downstream Iteration Fix

* Fix OpenSearch Failures

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-10-29 17:44:38 +05:30
Ram Narayan Balaji
c9c5c4754c
Migrations for entity_extension table for dataContract and glossaryTerm entityStatus (#24066) 2025-10-29 17:28:07 +05:30
Mohit Yadav
c03cc3658a
Fix Migration for 1.10.0 (#24064)
* Fix Migration for 1.10.x

* Fix DROP INDEX for 1.10.0 in Mysql
2025-10-29 16:34:49 +05:30
Ajith Prasad
a481b33264
Proper error message when bearer token is empty (#23903)
* Proper error message when bearer token is empty

* Refactored the method

---------

Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
2025-10-29 15:09:28 +05:30
Shailesh Parmar
3760a2d612
Revert "Migrated aggregation methods (#23947)" (#24057)
This reverts commit e52e7ba68837b486c5730faedc6a5aea2f499e13.
2025-10-29 10:10:51 +01:00
Ajith Prasad
c610192f18
SSO bugs around ldap, botPrincipals fixed (#24041) 2025-10-29 13:39:20 +05:30
Bhanu Agrawal
e52e7ba688
Migrated aggregation methods (#23947)
* Setup new client for ES/OS

* Migrated createIndex and addIndexAlias methods

* Migrated createAliases method to new ES/OS client

* Migrated updateIndex and deleteIndex methods

* Updated indexExists methods

* refactor: extract index management operations into dedicated manager classes

* Add tests for ElasticSearch and OpenSearch index managers

* chore: fix code style issues"

* Added integeration tests for ES/OS index manager

* Fix log level

* Fixed priority key mapping for test_case_result_index

* fix test to use field name in the query as domains.id not domain.id

* Migrated createEntity and createEntities method

* Fixed failing tests

* Set headers so 8.x client can work with 7.17x or higher server for ES

* Added OpenSearch compatible stemmer configuration

* Fix java code style

* Fixed java checkstyle issue

* Added support for 7.17.x backward compatibility

* Fixed failing tests

* Migrated createTimeSeriesEntity and deleteEntity methods

* Refactor search client architecture with entity management abstraction

* Updated log level to ERROR form WARN

* deleteEntity method impl removed from ES client

* migrated deleteEntityByFields method to new es/os client

* migrated deleteEntityByFQNPrefix method to use new ES/OS client

* deleteEntityByFQNPrefix method removed

* Migrated deleteByScript method to new ES/OS client

* Removed deleteByScript method from SearchClient

* Migrated softDeleteOrRestoreEntity method to new ES/OS client

* Reverted BulkResponse static import

* Migrated softDeleteOrRestoreChildren method to new ES/OS client

* Migrated updateEntity method to new ES/OS client

* Migrated updateChildren method to new ES/OS client

* Removed unused methods

* Migrated getDocByID method to new ES/OS client

* Added info logging

* Fixed parsing issue while passing string doc

* Migrated updateEntityRelationship method to new ES/OS client

* Migrated reindexWithEntityIds method to new ES/OS client

* Added log to show error message for updateEntityRelationship

* Refactored entity manager methods

* Added async client, fixed null obj parsing issue

* Refactoring

* Refactored duplicate methods createEntity and createTimeSeriesEntity

* Added integration tests for ES/OS entity managers

* Updated client availability checks in both index manager classes to use the consistent !isClientAvailable pattern

* Removed comment

* chore: Fix line formatting in Playwright test files

- Adjusted line length in Domains.spec.ts for better readability
- Fixed indentation and formatting in Lineage.spec.ts
- Added missing newline at end of files

* Added new line

* Migrated other index related methods and add tests

* MIgrated updateByFqnPrefix and updateLineage and deleteByRangeQuery methods

* migrated deleteByRangeAndTerm method

* Added integration tests

* Migrated updateColumnsInUpstreamLineage and deleteColumnsInUpstreamLineage methods

* Migrated updateGlossaryTermByFqnPrefix method

* Removed unused method and updated error handling

* Migrated reindexEntities method to new ES/OS client

* Added integration tests for reindexEntities method

* Added interface and impl for generic methods migration

* added default impl

* Migrated deleteDataStream method

* Migrated deleteILMPolicy method

* Migrated deleteIndexTemplate method

* Migrated deleteComponentTemplate emthod

* migrated dettachIlmPolicyFromIndexes method

* migrated removeILMFromComponentTemplate method

* Migrated cluster metric methods

* Removed from ESClient/OSClient to GenericManager

* Migrated getSearchHealthStatus

* Add integration tests

* Migrated buildDIChart and fetchDIChartFields methods

* Migrated listDataInsightChartResult emthod

* Migrated getQueryCostRecords

* Migrated getSchemaEntityRelationship

* Added data insight aggregator tests

* Fixed failing tests

* Migrated aggregate method

* Migrated genericAggregation and aggregate methods

* Fixed failing data insight query

* Updated ref for OS aggregation manager

* Fixed issues with aggregations migration

* Fixed tests
2025-10-28 23:51:00 +05:30
Sriharsha Chintalapani
45efc76ea1
Fix: Search Slowness when painless scripts aggregates for terms and classifications (#24038)
* Fix: Search Slowness when painless scripts aggregates for terms and classifications

* Fix Sql

* Add fields to security service index

---------

Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
2025-10-28 07:18:32 -07:00
Pere Miquel Brull
a34f50a6d0
MINOR - Add certification prompts for NLS (#23976)
* MINOR - Add certification prompts for NLS

* add more examples
2025-10-28 14:36:45 +01:00
Ram Narayan Balaji
2712e24f72
Feat# Asset Specific Restrictions based on EntityStatus (#23666)
* Search Query for Tags to restrict tags other than Approved or Unprocessed

* Restrict tag search query in the UI to not show tags other than Approved/UnProcessed

* Fxi Search Queries for Tag Search and use protected for tests

* add activity feed

* Refactored the error message of validation, refactored code

* use generic widgets in data product details

* Update generated TypeScript types

* commit progress

* add activity feed to domains

* commit progress

* add status badge

* commit progress

* Add customizable layout for tag class base

* nit

* Fix data product reviewer fetch

* Add reviewer field in tag page

* Add knowledge center task route for notification

* fix knowledge center page enum

* nit

* Fix tag page unit test

* fix test

* fix expert field visiable issue

* fix expert field

* Fix tag and add domain entity test

* nit

* fix test is for domain add

* fix tags owner test id

* fix tag disabled permission issue

* Add Conversation feature for Data Products

* Update generated TypeScript types

* Merge branch 'main' into entity-specific-restrictions

* nit

* fix glossary integration test

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anujkumar Yadav <anujf0510@gmail.com>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-10-28 18:54:39 +05:30
Pere Miquel Brull
b3a590fe22
MINOR - Remove flyway (#23179)
* test

* test

* format

* pom

* pom

* format

* Handle migration

* Handle migration

* Handle migration

* fix merge

* bump main

* bump main

* undo unnecessary changes

* simplify checksum for migration

* format

* FIX
2025-10-28 09:11:03 +05:30
Sriharsha Chintalapani
a846d3ad84
Improve Performance, Add Redis as optional cache (#23054)
* MINOR - cache settings YAML

* MINOR - cache settings YAML

* Remove Redis; batch fetch all realtions in one query

* Update generated TypeScript types

* Add advanced configs

* Fix tests

* Fix tests

* release 1.9.5

* fix include

* Fix Indexing strategy, add HikariCP configs

* add HikariCP configs to test config

* Add AWS Aurora related configs

* remove vacuum and relax defaults

* fix includes

* Use index

* Add Latency breakdowns on server side

* Update generated TypeScript types

* Add Latency breakdowns on server side

* Propagate fields properly

* Add Async Search calls

* Add Jetty Metrics

* disable gzip

* AWS JDBC Driver

* add pctile

* Add method to endpoint pctile

* handle patch properly in metrics

* tests

* update metrics

* bump flyway

* fix jetty metric handler

* default to postgres

* default to postgres

* ConnectionType with amazon

* Update connection

* Update connection

* Add Redis Cache support for all entities, CacheWarmupApp

* Fix aurora driver settings

* Fix aurora driver settings

* Fix aurora driver settings

* Fix aurora driver settings

* revert config

* Handle ReadOnly

* update config

* Revert "update config"

This reverts commit 9f5751c356de474b8b79797cbbd9d7650a1bb349.

* Revert "Handle ReadOnly"

This reverts commit e0c906365109ae014e253cdba9e31df935208abb.

* Revert "revert config"

This reverts commit e79c3d2d84051320d4864ddf9638dcc6cdef1980.

* Revert "Fix aurora driver settings"

This reverts commit 463e6ebf4b4e8209a7dbb3bf7818544fa68dca5f.

* Revert "Fix aurora driver settings"

This reverts commit 515d22b0e0d3b979cb2af7b87a977b6d4290e38f.

* Revert "Fix aurora driver settings"

This reverts commit 0a1226e9e1e5fc6e42499560373e26004b410e5e.

* Revert "Fix aurora driver settings"

This reverts commit d959976b1cadaace1a09da0ca3d78df490c5a689.

* Add Redis Cache support for all entities, CacheWarmupApp

* Update generated TypeScript types

* Redis SSL

* redis auth

* Fix cache warmup and lookup if cahce fails

* Fix cache of relations

* try search cache

* fix search cache

* fix cache response

* Revert "fix cache response"

This reverts commit 14602dc8c59c5ee6b9b21e20f6d1e3a01ea865a0.

* Revert "fix search cache"

This reverts commit 8eaa76bd7ef9d635e6a5b6d3cba4262057f9d4cd.

* Revert "try search cache"

This reverts commit 0582a1dc03a4353efb3d635957fd4df5dd626f00.

* clean commits

* clean drops

* clean

* clean

* clean

* remove hosts array for ES

* Update generated TypeScript types

* remove hosts array for ES

* format

* remove hosts array for ES

* Remove Embeddings for Table Index

* metrics improvements

* MINOR - Report status for tests that blow up

* Revert "MINOR - Report status for tests that blow up"

This reverts commit e831ac04e6e79aa04e6ccff259d1c5fc852c6ba3.

* Fix tests

* Address comments

* remove unused code

* fix postgres schema migration

* fix tests and improve caching startegy

* fix tests, making search sync

* Update generated TypeScript types

* Fix Failures due to merge conflicts

* Fix Tag Failures

* Fix Retryable Exception

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-10-28 06:29:31 +05:30
Adrià Manero
2f0e83b46d
Improvement: Enhanced notification templates with rich formatting and extended Handlebars helpers (#23989)
* Apply improvements on notification templates

* Implement Handlebars Helpers for notification templates

* Move handlebars implementation to notifications package

* Fix NotificationTemplateResourceTest

---------

Co-authored-by: Teddy <teddy.crepineau@gmail.com>
2025-10-27 13:28:46 +01:00
Bhanu Agrawal
93eac1aad6
Migrated buildDIChart and fetchDIChartFields methods (#23902)
* Setup new client for ES/OS

* Migrated createIndex and addIndexAlias methods

* Migrated createAliases method to new ES/OS client

* Migrated updateIndex and deleteIndex methods

* Updated indexExists methods

* refactor: extract index management operations into dedicated manager classes

* Add tests for ElasticSearch and OpenSearch index managers

* chore: fix code style issues"

* Added integeration tests for ES/OS index manager

* Fix log level

* Fixed priority key mapping for test_case_result_index

* fix test to use field name in the query as domains.id not domain.id

* Migrated createEntity and createEntities method

* Fixed failing tests

* Set headers so 8.x client can work with 7.17x or higher server for ES

* Added OpenSearch compatible stemmer configuration

* Fix java code style

* Fixed java checkstyle issue

* Added support for 7.17.x backward compatibility

* Fixed failing tests

* Migrated createTimeSeriesEntity and deleteEntity methods

* Refactor search client architecture with entity management abstraction

* Updated log level to ERROR form WARN

* deleteEntity method impl removed from ES client

* migrated deleteEntityByFields method to new es/os client

* migrated deleteEntityByFQNPrefix method to use new ES/OS client

* deleteEntityByFQNPrefix method removed

* Migrated deleteByScript method to new ES/OS client

* Removed deleteByScript method from SearchClient

* Migrated softDeleteOrRestoreEntity method to new ES/OS client

* Reverted BulkResponse static import

* Migrated softDeleteOrRestoreChildren method to new ES/OS client

* Migrated updateEntity method to new ES/OS client

* Migrated updateChildren method to new ES/OS client

* Removed unused methods

* Migrated getDocByID method to new ES/OS client

* Added info logging

* Fixed parsing issue while passing string doc

* Migrated updateEntityRelationship method to new ES/OS client

* Migrated reindexWithEntityIds method to new ES/OS client

* Added log to show error message for updateEntityRelationship

* Refactored entity manager methods

* Added async client, fixed null obj parsing issue

* Refactoring

* Refactored duplicate methods createEntity and createTimeSeriesEntity

* Added integration tests for ES/OS entity managers

* Updated client availability checks in both index manager classes to use the consistent !isClientAvailable pattern

* Removed comment

* chore: Fix line formatting in Playwright test files

- Adjusted line length in Domains.spec.ts for better readability
- Fixed indentation and formatting in Lineage.spec.ts
- Added missing newline at end of files

* Added new line

* Migrated other index related methods and add tests

* MIgrated updateByFqnPrefix and updateLineage and deleteByRangeQuery methods

* migrated deleteByRangeAndTerm method

* Added integration tests

* Migrated updateColumnsInUpstreamLineage and deleteColumnsInUpstreamLineage methods

* Migrated updateGlossaryTermByFqnPrefix method

* Removed unused method and updated error handling

* Migrated reindexEntities method to new ES/OS client

* Added integration tests for reindexEntities method

* Added interface and impl for generic methods migration

* added default impl

* Migrated deleteDataStream method

* Migrated deleteILMPolicy method

* Migrated deleteIndexTemplate method

* Migrated deleteComponentTemplate emthod

* migrated dettachIlmPolicyFromIndexes method

* migrated removeILMFromComponentTemplate method

* Migrated cluster metric methods

* Removed from ESClient/OSClient to GenericManager

* Migrated getSearchHealthStatus

* Add integration tests

* Migrated buildDIChart and fetchDIChartFields methods

* Migrated listDataInsightChartResult emthod

* Migrated getQueryCostRecords

* Migrated getSchemaEntityRelationship

* Added data insight aggregator tests

* Fixed failing tests

* Fixed failing data insight query

* Fixed issue with FQN json data
2025-10-27 15:04:16 +05:30
Adrià Manero
9b08850fe9
Fix missing Slack notifications for workflow-generated approval tasks (#24005) 2025-10-27 09:07:41 +01:00
Eugenio
cb5065cf9f
Clean up recognizers migration data (#24001)
* Remove data placed in the wrong directory

* Update `MigrationUtil` to use data from `piiTagsWithRecognizers`

That way we can also remove duplicate json and have a single source of data

* Update migration queries to use prepared statements

* Minor fix in the `piiTagsWithRecognizers` definitions
2025-10-24 14:55:44 +00:00
Adrià Manero
5abe6d5cfc
Fix user & team entity URL builder on ChangeEvent notifications (#23977) 2025-10-23 15:51:05 +02:00
Teddy
30d0b0c04a
MINOR: dbt migration fix (#23980)
* fix: migration

* fix: playwright test DBT -> dbt
2025-10-23 12:54:34 +02:00
Teddy
b5866df8bd
ISSUE #21319 - Add test case for user assignment persistence after user deletion (#23424)
* feat: Add test case for user assignment persistence after user deletion

- Add test_userAssignmentPersistsAfterUserDeletion method
- Creates user, assigns to test case incident, deletes user
- Verifies user assignment persists after deletion
- Covers functionality from PR #21314

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Teddy <TeddyCr@users.noreply.github.com>

* fix: Update test to verify user assignment is removed after user deletion

- Changed test name from test_userAssignmentPersistsAfterUserDeletion to test_userAssignmentRemovedAfterUserDeletion
- Modified assertions to verify user is no longer assigned to incident after deletion
- Added proper handling for cases where assignee is null or status type changes

Co-authored-by: Teddy <TeddyCr@users.noreply.github.com>

* fix: Apply Java code formatting for checkstyle compliance

Co-authored-by: Teddy <TeddyCr@users.noreply.github.com>

* style: ran java linting

* fix: implement tests

* fix: handle assigned incidents on user deletion

* fix: wildcard import

* fix: use AsyncService singleton for async exec

* fix: wildcard import

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Teddy <TeddyCr@users.noreply.github.com>
2025-10-23 08:57:04 +02:00
Pere Miquel Brull
72795365c1
FIX - Looker local path git converter (#23983) 2025-10-22 20:00:29 +02:00
IceS2
633152124a
Fixes #23397: Thin Slice for Dimensionality on Data Quality (#23529)
* Initial implementation for Dimensionality on Data Quality Tests

* Fix ColumnValuesToBeUnique and create TestCaseResult API

* Refactor dimension result

* Initial E2E Implementation without Impact Score

* Dimensionality Thin Slice

* Update generated TypeScript types

* Update generated TypeScript types

* Removed useless method to use the one we already had

* Fix Pandas Dimensionality checks

* Remove useless comments

* Implement PR comments, fix Tests

* Improve the code a bit

* Fix imports

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-22 15:40:20 +02:00
Sriharsha Chintalapani
c426d11d44
Add custom property fields to search settings (#23966)
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-10-21 10:40:12 +02:00
Teddy
e103a8c805
MINOR: Fix uppercase DBT to lowercase dbt (#23900)
* fix: uppercase DBT to lowercase dbt

* fix: change DBT to lowercase dbt in TestPlatform enum

* fix: fix dbt syntax in valueMax

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-10-21 07:59:09 +02:00
IceS2
7b162d7440
Add Timestamp filters to Incident Manager (#23924) 2025-10-20 16:29:08 +00:00
Adrià Manero
98483279a6
Ensure single ChangeEvent is reported per TestSuite & DataContract run (#23948) 2025-10-20 12:19:19 +02:00
Bhanu Agrawal
a9bf8ccd4e
Migrate/es os generic methods (#23808)
* Setup new client for ES/OS

* Migrated createIndex and addIndexAlias methods

* Migrated createAliases method to new ES/OS client

* Migrated updateIndex and deleteIndex methods

* Updated indexExists methods

* refactor: extract index management operations into dedicated manager classes

* Add tests for ElasticSearch and OpenSearch index managers

* chore: fix code style issues"

* Added integeration tests for ES/OS index manager

* Fix log level

* Fixed priority key mapping for test_case_result_index

* fix test to use field name in the query as domains.id not domain.id

* Migrated createEntity and createEntities method

* Fixed failing tests

* Set headers so 8.x client can work with 7.17x or higher server for ES

* Added OpenSearch compatible stemmer configuration

* Fix java code style

* Fixed java checkstyle issue

* Added support for 7.17.x backward compatibility

* Fixed failing tests

* Migrated createTimeSeriesEntity and deleteEntity methods

* Refactor search client architecture with entity management abstraction

* Updated log level to ERROR form WARN

* deleteEntity method impl removed from ES client

* migrated deleteEntityByFields method to new es/os client

* migrated deleteEntityByFQNPrefix method to use new ES/OS client

* deleteEntityByFQNPrefix method removed

* Migrated deleteByScript method to new ES/OS client

* Removed deleteByScript method from SearchClient

* Migrated softDeleteOrRestoreEntity method to new ES/OS client

* Reverted BulkResponse static import

* Migrated softDeleteOrRestoreChildren method to new ES/OS client

* Migrated updateEntity method to new ES/OS client

* Migrated updateChildren method to new ES/OS client

* Removed unused methods

* Migrated getDocByID method to new ES/OS client

* Added info logging

* Fixed parsing issue while passing string doc

* Migrated updateEntityRelationship method to new ES/OS client

* Migrated reindexWithEntityIds method to new ES/OS client

* Added log to show error message for updateEntityRelationship

* Refactored entity manager methods

* Added async client, fixed null obj parsing issue

* Refactoring

* Refactored duplicate methods createEntity and createTimeSeriesEntity

* Added integration tests for ES/OS entity managers

* Updated client availability checks in both index manager classes to use the consistent !isClientAvailable pattern

* Removed comment

* chore: Fix line formatting in Playwright test files

- Adjusted line length in Domains.spec.ts for better readability
- Fixed indentation and formatting in Lineage.spec.ts
- Added missing newline at end of files

* Added new line

* Migrated other index related methods and add tests

* MIgrated updateByFqnPrefix and updateLineage and deleteByRangeQuery methods

* migrated deleteByRangeAndTerm method

* Added integration tests

* Migrated updateColumnsInUpstreamLineage and deleteColumnsInUpstreamLineage methods

* Migrated updateGlossaryTermByFqnPrefix method

* Removed unused method and updated error handling

* Migrated reindexEntities method to new ES/OS client

* Added integration tests for reindexEntities method

* Added interface and impl for generic methods migration

* added default impl

* Migrated deleteDataStream method

* Migrated deleteILMPolicy method

* Migrated deleteIndexTemplate method

* Migrated deleteComponentTemplate emthod

* migrated dettachIlmPolicyFromIndexes method

* migrated removeILMFromComponentTemplate method

* Migrated cluster metric methods

* Removed from ESClient/OSClient to GenericManager

* Migrated getSearchHealthStatus

* Add integration tests
2025-10-17 19:40:16 +05:30
Eugenio
5e6112fe4d
Fix/recognizer migraitons 1 11 0 (#23942)
* Refactor recognizer migration for 1.11.0

This is because in a previous PR I had added this migration without following the standard pattern for Java migrations using `MigrationUtil`s

* Remove seed data for tags without recognizers
2025-10-17 13:25:15 +00:00
Mohit Yadav
fdb24d8f1e
Fix Lineage Service Issue (#23915)
* Fix Lineage Service Issue

* Revert "Fix Lineage Service Issue"

This reverts commit f74512a5eed8013bc22b2ee1ea1247e9ec3c19e4.

* Use Data asset for lineage
2025-10-17 18:07:24 +05:30
Bhanu Agrawal
a279be5d7b
Migrated entity management methods to new ES/OS client (#23503)
* Setup new client for ES/OS

* Migrated createIndex and addIndexAlias methods

* Migrated createAliases method to new ES/OS client

* Migrated updateIndex and deleteIndex methods

* Updated indexExists methods

* refactor: extract index management operations into dedicated manager classes

* Add tests for ElasticSearch and OpenSearch index managers

* chore: fix code style issues"

* Added integeration tests for ES/OS index manager

* Fix log level

* Fixed priority key mapping for test_case_result_index

* fix test to use field name in the query as domains.id not domain.id

* Migrated createEntity and createEntities method

* Fixed failing tests

* Set headers so 8.x client can work with 7.17x or higher server for ES

* Added OpenSearch compatible stemmer configuration

* Fix java code style

* Fixed java checkstyle issue

* Added support for 7.17.x backward compatibility

* Fixed failing tests

* Migrated createTimeSeriesEntity and deleteEntity methods

* Refactor search client architecture with entity management abstraction

* Updated log level to ERROR form WARN

* deleteEntity method impl removed from ES client

* migrated deleteEntityByFields method to new es/os client

* migrated deleteEntityByFQNPrefix method to use new ES/OS client

* deleteEntityByFQNPrefix method removed

* Migrated deleteByScript method to new ES/OS client

* Removed deleteByScript method from SearchClient

* Migrated softDeleteOrRestoreEntity method to new ES/OS client

* Reverted BulkResponse static import

* Migrated softDeleteOrRestoreChildren method to new ES/OS client

* Migrated updateEntity method to new ES/OS client

* Migrated updateChildren method to new ES/OS client

* Removed unused methods

* Migrated getDocByID method to new ES/OS client

* Added info logging

* Fixed parsing issue while passing string doc

* Migrated updateEntityRelationship method to new ES/OS client

* Migrated reindexWithEntityIds method to new ES/OS client

* Added log to show error message for updateEntityRelationship

* Refactored entity manager methods

* Added async client, fixed null obj parsing issue

* Refactoring

* Refactored duplicate methods createEntity and createTimeSeriesEntity

* Added integration tests for ES/OS entity managers

* Updated client availability checks in both index manager classes to use the consistent !isClientAvailable pattern

* Removed comment

* chore: Fix line formatting in Playwright test files

- Adjusted line length in Domains.spec.ts for better readability
- Fixed indentation and formatting in Lineage.spec.ts
- Added missing newline at end of files

* Added new line

* Migrated other index related methods and add tests

* MIgrated updateByFqnPrefix and updateLineage and deleteByRangeQuery methods

* migrated deleteByRangeAndTerm method

* Added integration tests

* Migrated updateColumnsInUpstreamLineage and deleteColumnsInUpstreamLineage methods

* Migrated updateGlossaryTermByFqnPrefix method

* Removed unused method and updated error handling

* Migrated reindexEntities method to new ES/OS client

* Added integration tests for reindexEntities method
2025-10-17 14:09:34 +05:30
Sriharsha Chintalapani
34ef13f083
Add Impersonation By Bots (#23712)
* Add Impersonation By Bots

* Update generated TypeScript types

* Fix migrations

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 19:14:29 -07:00
Bhanu Agrawal
6841591a1e
Added migration to update NLQ settings (#23906) 2025-10-16 15:51:21 +05:30
Mohit Yadav
73eca212ce
Fix Indexing Recreate (#23867)
* Fix Indexing Recreate

* Fix OpenMetadata Operation Creation and Deletion

* Default Should Cleanup all precreated prefixed indices
2025-10-16 12:43:41 +05:30
sonika-shah
303ee47d6f
Add assets API and deprecate inline assets field for Domain and Dataproduct (#23856)
* Add assets API and deprecate inline assets field for Domain and Dataproduct

* fix mvn test

* fix py test and add new tests

* fix py test

* fix py test

* fix timeout for workflow test

* address pr feedback

* Update generated TypeScript types

* minor- remove unused function

---------

Co-authored-by: Bhanu Agrawal <bhanuagrawal2018@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 05:23:05 +05:30
Akash Verma
9b16119ab5
feat: Add Hex dashboard connector support (#23246)
* feat: Add Hex dashboard connector support

* files

* Added tests and UI image

* fix tests

---------

Co-authored-by: Akash Verma <akashverma@Mac.lan>
2025-10-15 11:05:42 +05:30
Ajith Prasad
84545efd3f
Team filter in Most Viewed Data Entities (#23884)
* Team filter in Most Viewed Data Entities

* Added TC

* create the constant USES_OWNER_FIELD_FOR_TEAM_FILTER
2025-10-15 09:04:18 +05:30
Bhanu Agrawal
b39c08256c
Support all stemmer languages in OpenSearch index transformation (#23890) 2025-10-14 22:49:13 +05:30
Adrià Manero
86b6de3346
Fix duplicate tags in ChangeDescription by passing empty lists to recordListChange (#23841) 2025-10-14 17:44:41 +02:00
Bhanu Agrawal
650627a025
fix(nlq): Use dual-field search for owner queries to improve match rates (#23794) 2025-10-14 20:31:04 +05:30
IceS2
7bdd9008ec
Fixes #23776 : Fix/data quality dashboard filtering (#23818)
* Fix Data Quality Dashboard Filtering

* Fix Data Quality Dashboard Filtering

* Fix Tier filter on DQ Dashboard

* Fix issue when tags are empty list

* Add Tier/Tag propagation to TestCaseResultIndex

* Add Tier/Tag propagation to TestCaseResultIndex

* Add Tier/Tag propagation to TestCaseResultIndex

* Add Tier/Tag propagation to TestCaseResultIndex

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
2025-10-14 11:30:10 +02:00
Sriharsha Chintalapani
949cc32eef
Fix user creation through openmetadata-ops.sh (#23879) 2025-10-14 09:19:17 +05:30