2333 Commits

Author SHA1 Message Date
Ram Narayan Balaji
bd948de115
fix: GlossaryTermRepository.java (#21816) 2025-06-17 20:40:49 +05:30
mgorsk1
48eac68a10
feat: add lineage tool in MCP Server for impact analysis (#21516)
* 🎉 Init

* fix required args

* fix after recator

* fix linting

* revert mysql volume docker-compose.yml change

---------

Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-06-17 12:09:19 +05:30
Sriharsha Chintalapani
acf0696c12
Search index app optimization (#21798)
* Use a fixed thread pool

* skip entity not found
2025-06-17 11:59:35 +05:30
Karan Hotchandani
2689676b9a
Feat(ui): add and edit certifications from asset page (#21758)
* Feat(ui): add and edit certifications from asset page (#21344)

* added styling to certification

* added tests

* changed icons for certificatie popup

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>

* #19529 Improvise import to include certification for Assets (Database, DatabaseSchema, DatabaseService), Introduce EDIT_CERTIFICATION policy and Fix Elastic Search Indexes on Certification (#21564)

* #19529 - Adding certification field in json schema for databaseService.json, databaseServiceCsvDocumentation.json for bulk import facility, Implemented bulk import for non-recursive databaseService import async

* #19529 -Bulk async import - databaseSchema entity

* #19529 -Bulk async import - database entity

* #19529 - Initial Implementation of Search Indexes for Certificate during bulk Import

* #19529 - Edit Certification Policy Implementation, Attaching it to DataStewards and DataConsumers, also adding it to Migration

* #19529 - Updated ElasticSearch Index mapping name

* #19529 - Updated the CSV indices for recursive import

* #19529 - Single Test working as expected but not as a test suite.

* #19529 - Fixed DatabaseSchemaResourceTest

* #19529 - Fixed DatabaseResource Test for exportImportCSV

* #19529 - Fixed DatabaseServiceResource Test for exportImportCSV

* #19529 - Updated and Improvised ElasticSearch Certification functionality

* #19529 - Added postgres migration as well along with mysql migration

* #19529 - Removed migration scripts from v160 and placed it at v180, Included mappings for database_service in zh and jp,
Applied mvn spotless:apply

* #19529 - Adding certification field in json schema for databaseService.json, databaseServiceCsvDocumentation.json for bulk import facility, Implemented bulk import for non-recursive databaseService import async

* #19529 -Bulk async import - databaseSchema entity

* #19529 -Bulk async import - database entity

* #19529 - Initial Implementation of Search Indexes for Certificate during bulk Import

* #19529 - Edit Certification Policy Implementation, Attaching it to DataStewards and DataConsumers, also adding it to Migration

* #19529 - Updated ElasticSearch Index mapping name

* #19529 - Updated the CSV indices for recursive import

* #19529 - Single Test working as expected but not as a test suite.

* #19529 - Fixed DatabaseSchemaResourceTest

* #19529 - Fixed DatabaseResource Test for exportImportCSV

* #19529 - Fixed DatabaseServiceResource Test for exportImportCSV

* #19529 - Updated and Improvised ElasticSearch Certification functionality

* #19529 - Added postgres migration as well along with mysql migration

* #19529 - Removed migration scripts from v160 and placed it at v180, Included mappings for database_service in zh and jp,
Applied mvn spotless:apply

* Applied mvn spotless:apply

* Reused the Existing UPDATE_CERTIFICATION_SCRIPT for ElasticSearch Indexing

* Added field certification in the static String FIELDS

* fix playwright test around bulk action

* #19529 - Persisting Null or empty in the bulk import for certification

* #19529 - Persisting Null or empty in the bulk import for certification - Moved the if block to the top

* mvn spotless:apply

* Reverted an unimportant file

* mvn spotless:apply

* #19529 - Persisting the field Certification in clearFIeldsInternal

* typescript files for edit_certification

* Revert "typescript files for edit_certification"

This reverts commit f5e5514a98008cbd0b62d7cb21fefe61659e97cb.

* typescript files for edit_certification

* mvn:spotless:apply

* Removed correction

* needed typescript file for edit_certification

* Removed Unnecessary Comments

* Improved Test Cases - Added DATA_ASSET_SEARCH alias instead of GLOBAL_ALIAS

* Fixed csv values in order

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
Co-authored-by: System Administrator <root@192.168.1.4>
Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>

* update certification component

* Fixed Certification Indexes

* Fixed Missing Certification Label for DBSchema

* add certification changes

* fix test errors

* Remove Certification field and mapping from database service asset

* Removed certification from schema and fixed test

* fix tests

---------

Co-authored-by: Dhruv Parmar <83108871+dhruvjsx@users.noreply.github.com>
Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com>
Co-authored-by: Ashish Gupta <ashish@getcollate.io>
Co-authored-by: System Administrator <root@192.168.1.4>
Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
Co-authored-by: Ram Narayan Balaji <ramnarayanb3005@gmail.com>
2025-06-17 11:28:07 +05:30
Ram Narayan Balaji
961a5357dd
Fix: #17965 Correct FQN values will be shown to the user in case of tag validation failures in Glossary Term (#21731)
* Correct FQN values will be shown to the user in case of validation failures in glossary term tags

* Applied mvn:spotless apply

* Added Test cases to verify the validation of assets
2025-06-17 10:40:38 +05:30
Mohit Yadav
0a6a1b37d2
Removed unecessary fields from the Es doc (#21792) 2025-06-17 09:56:45 +05:30
sonika-shah
4143308f96
Fix #1681 - Deleted Filter in Automations Not Working as Expected (#21760)
* Fix #1681 - Deleted Filter in Automations Not Working as Expected

* Revert "Fix #1681 - Deleted Filter in Automations Not Working as Expected"

This reverts commit d941ad440b6c5bcb66d4ac8bb31c321fb23cbcfc.

* Set deleted param in /search/query API to type Boolean to allow default null values

* fix AUT test failures related to user search in settings/users page

* fix AUT test failures related to user search in settings/users page

* Make `deleted` param optional for search API call in explore page

* Fix the deleted users showing on the user listing page after user search

* Fix playwright tests

* Fix playwright tests

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2025-06-16 12:02:19 -07:00
mohitdeuex
0e2c00bd00 Add cleanSearchResponseObject() 2025-06-16 23:03:49 +05:30
Sriharsha Chintalapani
074329418f
Fix #17244: Pagination for columns in UI (#21508) 2025-06-15 21:30:31 +05:30
Mohit Yadav
5b6e25999e
Disabled bot creating activity feeds (#21773)
* - Disabled bot creating feeds

* - nit
2025-06-14 19:21:00 +05:30
Mohit Yadav
059289a83b
Disable query indexing (#21767) 2025-06-13 09:23:44 -07:00
Sriharsha Chintalapani
7d07222635
Fix #21668: Add Auto Tune to conifgure Search Index Application Parameters (#21669)
* Fix #21668: Add Auto Tune to conifgure Search Index Application Parameters

* add auto tune param in app json

* add test

* use virtual threads

* Fix Failing Test

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
2025-06-13 09:23:22 -07:00
Pere Menal-Ferrer
44e09e41a2
Revert "FIX #1464 (#21520)" (#21726)
This reverts commit 1e86f9870fd663122b9bbb64f3cf17cf32619c7f.
2025-06-13 17:27:32 +02:00
mohitdeuex
9b7b5f2b91 Revert "Add Data Quality Test Casae (#21764)"
This reverts commit c7e92d42f11f1fb2b3dbc7bf760494926b0f9d05.
2025-06-13 19:47:14 +05:30
Mohit Yadav
c7e92d42f1
Add Data Quality Test Casae (#21764)
* Add Test Parameter Definition tool

* Add Dq create test case
2025-06-13 19:28:35 +05:30
Ram Narayan Balaji
580880e8c1
#17584 Improve Bulk add assets API in Tags, GlossaryTerms (#21673)
* Fix: Remove operations and glossaryTags from bulk asset add api

* Fix: Improved the test case

* addTagToAssets schema - Removed operations field in the payload

* Replacing the request payload for validating tags in the UI

* UI changes for add and remove assets to glossary term

* Using getByName and Entity.GLOSSARY

---------

Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
2025-06-13 16:04:05 +05:30
Ajith Prasad
023abfda1d
Scim Interface and resource in OM (#21512)
* SCIM interface

* removed unwanted code

* remove SCIM registration in OM

* reverted scim configuration settings, as it is not needed

* Added security context to create user

* Added scimusername in user jsons

* added externalid, scimUsername in createUser

* Added security context on create and update groups

* Added jakarta imports

* Authorization added

* Added role, policy and bot for SCIM
2025-06-13 13:12:41 +05:30
sonika-shah
ae5657c608
Add missing ngram fields for displayName and name in jp/zh indexes (#21750) 2025-06-12 20:26:13 -07:00
sonika-shah
69b45dcca2
Revert pr #21723 (#21749) 2025-06-12 20:25:53 -07:00
sonika-shah
d2c9952c9c
Bump jetty.version to 11.0.25 (#21699) 2025-06-12 18:24:42 -07:00
IceS2
a3968d40b0
Fix 172 migrations by avoiding throwing errors (#21697) 2025-06-12 14:49:26 -07:00
Mohit Tilala
2803e62f0b
Add missing Data space type in qlikcloud (#21698)
* Add missing `Data` space type in qlikcloud

* Fix broken json files
2025-06-12 14:49:10 -07:00
sonika-shah
6fd5778219
Fix #21653 - Tag search based on displayName (#21722)
* Fix #21653 - Tag search based on displayName

* added test

* update test to search by classification display name

---------

Co-authored-by: shrushti2000 <shrushtipolekar@gmail.com>
2025-06-12 14:48:14 -07:00
sonika-shah
66d2ef2c8b
Fix #21653 - Remove recently added delete param field in searchByField api (#21723) 2025-06-12 14:47:54 -07:00
Sriharsha Chintalapani
eb7ca6087e
Update reset-link.json (#21742) 2025-06-12 14:45:26 -07:00
Sriharsha Chintalapani
7e6e23b95a
Fix API pages (#21695)
* Fix API pages

* Fix API pages

* Fix API pages
2025-06-12 12:23:34 +05:30
Mohit Yadav
5430cad8bf
[MCP] Update Mcp Documents and Images (#21720)
* Update documentation

* Updated documentation

* Update Documentation

* doc change

* update description

* again try something

* update

* Update to "MCP Server"
2025-06-12 00:26:54 +05:30
Mohit Yadav
3662db05ec
Mcp Doc fixes (#21715)
* Update doc

* MCP Application

* Typo
2025-06-11 20:04:40 +05:30
Teddy
1531130382
fix: failing DQ mvn test (#21702) 2025-06-11 14:56:03 +02:00
sonika-shah
d05f62ead6
Fix TagResourceTest mvn test failure (#21706) 2025-06-11 17:07:52 +05:30
Mohit Yadav
9a0f614331
[MCP] Changed MCP as an APP (#21687)
* - Added Prompts

* - Add Prompts for Search

* Embedded Server Mcp as Application

* Add MCP Application

* Fix Prompts and Tool Context

* Get Wrapped Result

* Wrapped result Fixes

* Add Assets for App

* Document Update

* Add doc

* Update Doc

* Remove Config from yaml and use app

* Add Doc
2025-06-11 16:08:42 +05:30
Teddy
c09a8b27ae
ISSUE #16676 - Add Tag to CreateTestCase (#21366)
* refactor: removed testSuite field from CreateTestCase

BREAKING CHANGE: when creating a test case, testsuite is now derived from entityLink (fetch or created)

* feat: allow setting tags when creating a test case

* style: ran linters

* fix: compiling error

* fix: failing test case

* fix: failing tests

* removed testSuite from required filed

* fixed ui side

* style: ran java linting

* deprecation: remove testSuite param from ingestion

* fix: remove test suite filed

* fix: remove test_suite field

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-06-11 09:59:08 +02:00
sonika-shah
047c3bfbe4
Fix user page partial search (#21684)
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-06-10 09:54:17 -07:00
Ram Narayan Balaji
febd195bfd
#16279 Update Classification Schema to include Governance Fields - Schema and Java Implementation (#21636)
* Update Classification Schema to include Governance Fields

* Removed Tags, Reviewers, Domain from Classification as they are needed and corrected tests

* Added Permission check for owners in Classification Resource Test

* Added LoadTags.ts generated from createClassificationSchema.json

* Only have my schema changes in the typescript files, ignore other changes.

---------

Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-06-10 07:06:20 -07:00
Mohit Yadav
b8cb82c25c
[Fix-21275] Service pipeline lineage not appearing (#21664)
* Fix Pipeline Service Lineage

* Unique Id issue
2025-06-10 17:57:57 +05:30
Sriharsha Chintalapani
dd9449c8d4
Fix Lineage/EntityRelationship mappings back to object (#21675)
* Fix Lineage/EntityRelationship mappings back to object

* Add displayName to the user when the user is created and displayName is not set

* remove UserResource related changes

---------

Co-authored-by: sonikashah <sonikashah94@gmail.com>
2025-06-10 17:17:10 +05:30
Ram Narayan Balaji
d065d85e0a
Revert "Fix: #17584 Improve Glossary Bulk Asset Upload APIs (#21652)" (#21672)
This reverts commit 5b30aa94e2e018eb4c486d14424a5d34b2877979.
2025-06-10 11:36:42 +05:30
Ram Narayan Balaji
5b30aa94e2
Fix: #17584 Improve Glossary Bulk Asset Upload APIs (#21652)
* Fix: Remove operations and glossaryTags from bulk asset add api

* Fix: Improved the test case

* addTagToAssets schema - Removed operations field in the payload

---------

Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-06-10 11:09:07 +05:30
Mohit Yadav
d1ea459a81
Queries not tableQueries (#21670) 2025-06-10 10:08:42 +05:30
Mohit Yadav
dc25350ea2
MCP Core Items Improvements (#21643)
* Search Util fix and added tableQueries

* some json input fix

* Add team and user

* WIP : Add Streamable HTTP

* - Add proper tools/list schema and tools/call

* - auth filter exact match

* - Add Tools Class to dynamically build tools

* Add Origin Validation Mandate

* Refactor MCP Stream

* comment

* Cleanups

* Typo

* Typo
2025-06-10 09:42:24 +05:30
Sriharsha Chintalapani
c2b2d37f95
Fix #21457: SearchIndexing: Limit of total fields [1000] has been exceeded (#21503)
* Fix #21457: SearchIndexing: Limit of total fields [1000] has been exceeded

* Fix #21457: SearchIndexing: Limit of total fields [1000] has been exceeded

* Fix BulkItemException throwing back to the UI

* add upstreamLineage to all appropriate indexes

* Remove conflicting lines and clean up index mappings for api_collection and stored_procedure JSON files

---------

Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
Co-authored-by: Ayush Shah <ayush@getcollate.io>
2025-06-09 16:07:39 -07:00
Sriharsha Chintalapani
98aff312da
Fix #21502: TooManyNestedClauses: Query contains too many nested clauses (#21505)
* Fix #21502: TooManyNestedClauses: Query contains too many nested clauses; maxClauseCount is set to 4096 error in table_search_index for complex search queries in Opensearch

* Fix #21502: TooManyNestedClauses: Query contains too many nested clauses; maxClauseCount is set to 4096 error in table_search_index for complex search queries in Opensearch

* Update openmetadata-service/src/test/java/org/openmetadata/service/resources/search/SearchResourceTest.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix mvn build

* fix checkstyle

* fix tests in SearchResourceTest

* fix tests in SearchResourceTest

* instead of wrapping baseQuery+functionScore in a new BoolQuery,use functionScore directly as the final query - avoid duplication of mult_match query

* add requestSchema fields in APIEndpointIndex, and remove array fields in searchSettings to use fuzzyfields avoiding clause explosion

* - Set fuzzyMaxExpansions/maxExpansions to 10 instead of default 50
- Turn off fuzziness (Fuzziness.ZERO) for `.ngram` fields
- Update QUERY_SYNTAX_PATTERN so only uppercase AND, OR, NOT are treated as boolean operators

* use non Fuzzy query for ngram Fields in QueryStringBuilder , remove duplication of query in should phrase

* add fuzzy/nonFuzzy Fields for each asset in searchSettings.json

* add fuzzy/nonFuzzy Fields for each asset in searchSettings.json

* update isFuzzyField function

* fix playwright

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
2025-06-09 16:07:23 -07:00
Pere Menal-Ferrer
1e86f9870f
FIX #1464 (#21520)
* Add PIICategoryTags and some utilities on top of them.

* Fix static-check

* Add test for fqn representation

* Add NEREntityGeneralTags.json from Collate

* Add test to check PIICategoryTags agree with the ones used by OM server

* Add LabelExtractor

* Fix style

* Add ignore superflous-parens for pylint

* Ass comment as per PR review

* Fix not-updated PII-IT

* Remove duplicated IT test for PII

---------

Co-authored-by: Pere Menal <pere.menal@getcollate.io>
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
2025-06-09 16:05:35 -07:00
Siddhant
f30eff4dc5
Fixes #19466: Cleanup Activity Feed In Retention App (#21640)
* add activityThreadsRetentionPeriod in the DataRetentionApplication jsons

* clean up activity threads of type conversation
2025-06-09 19:22:40 +05:30
Siddhant
1511871fc1
Fixes #20142 : Add QueryParams To The Webhook Request URL (#21637)
* queryParams to the webhook request URL

* add activityThreadsRetentionPeriod in the DataRetentionApplication jsons

* clean up activity threads of type conversation

* Revert "clean up activity threads of type conversation"

This reverts commit e66ea8623be6aa1c5d07afdec04b4807eb21c7e7.

* Revert "add activityThreadsRetentionPeriod in the DataRetentionApplication jsons"

This reverts commit 4180be18a8d5e0d4fd4b3d4662df0532bb16dbed.
2025-06-09 19:21:53 +05:30
Ajith Prasad
9a9db8129c
Fixes #21511 :Domain not getting removed through import (#21616)
* Minor: Domain not getting removed through bulk import/ recursive import, bug fix

* Added tag, owner, domain removal in TCs

---------

Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
2025-06-09 19:19:30 +05:30
Teddy
5078a2fbb9
DEPRECATION: Remove testCaseResults endpoint from testCaseResource (#21527)
* deprecation: remove testCaseResults endpoint from testCaseResource

* fix: path in test e2e test

* fix: endpoint name to testCaseResults

* style: fix java linting
2025-06-07 21:02:54 +02:00
Sriharsha Chintalapani
1c5772d6f8
Fix #21533 - Add a tool to openmetadata-ops.sh to delete orphaned relations (#21534)
* Fix #21533 - Add a tool to openmetadata-ops.sh to delete orphaned relations

* Fix #21533 - Add a tool to openmetadata-ops.sh to delete orphaned relations

* Add exit 1 and make dry-run default

* Add exit 1 and make dry-run default

* Fix checkstyle

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
2025-06-06 16:19:39 -07:00
Pere Miquel Brull
a51187d46b
FIX CL-1641 - Allow to search by descriptionSources (#21487)
* FIX CL-1641 - Allow to search by descriptionSources

* Add new fields for advanced search filters

* feat: added createdBy params

* Move the tag label type options to constants

* Add tier & tag source

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
Co-authored-by: Teddy Crepineau <teddy.crepineau@gmail.com>
Co-authored-by: ulixius9 <mayursingal9@gmail.com>
2025-06-06 14:10:25 +02:00
Pere Miquel Brull
635382dd1d
Revert "[WIP] MCP Core Items Improvements (#21598)" (#21614)
This reverts commit 0b3bf4ac0d3a7ac74e39552ad49896d37e469516.
2025-06-06 07:32:20 +02:00