199 Commits

Author SHA1 Message Date
Ajith Prasad
f2a9dd0015
Fixes angus mail vulnerability issue (#23843) 2025-10-14 15:46:48 +05:30
Sriharsha Chintalapani
bb1395fc72
Implement Modern Fluent API Pattern for OpenMetadata Java Client (#23239)
* Implement Modern Fluent API Pattern for OpenMetadata Java Client

* Add Lineage, Bulk, Search static methods

* Add all API support for Java & Python SDKs

* Add Python SDKs and mock tests

* Add Fluent APIs for sdks

* Add Fluent APIs for sdks

* Add Fluent APIs for sdks, support async import/export

* Remove unnecessary scripts

* fix py checkstyle

* fix tests with new plural form sdks

* Fix tests

* remove examples from python sdk

* remove examples from python sdk

* Fix type check

* Fix pyformat check

* Fix pyformat check

* fix python integration tests

* fix pycheck and pytests

* fix search api pycheck

* fix pycheck

* fix pycheck

* fix pycheck

* Fix test_sdk_integration

* Improvements to SDK

* Remove SDK coverage for Python 3.9

* Remove SDK coverage for Python 3.9

* Remove SDK coverage for Python 3.9
2025-09-29 16:07:02 -07:00
Adrià Manero
dacd60d535
Fixes #23129: Add system-default notification templates (#23441)
* Setup system provided templates for ChangeEvent notifications

* Setup handlebars helpers for system-default notification templates
2025-09-24 09:56:30 +02:00
Mohit Yadav
9921301048
Fix Vulnerability (#23504)
* Fix Vulnerability

* Update database schema

---------

Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
2025-09-24 08:54:32 +05:30
Adrià Manero
840f7e2a68
Setup NotificationTemplate CRUD (#23293) 2025-09-16 15:21:11 +02:00
Ram Narayan Balaji
c4c851c077
Fix #22547: Include All the tests to be run in the CI build for openmetadata-service (#22552)
* Include All the tests to be run in the CI build for openmetadata-service

* Resort to individual directory includes in the surefire plugin

* Fix: RateLimiterComparisonTest

* Fix: RateLimiterProductionReadinessTest

* Fix: ListFilterTest

* Fix: SearchListFilterTest

* Fix: RequestLatencyContextTest

* Fix: RequestLatencyTrackingSimpleTest

* fix: SearchRepositoryTest failing tests

* fix: SearchRepositoryTest failing tests

* fix:FuzzySearchClauseTest failing tests

* fix:SearchClusterMetricsTest failing tests

* fix SM tests

* fix UserMetricsServletTest

* fix JwtFilterTest,MicrometerBundleTest,TagUsageCacheTest

* Fix RuleEngineTests

* Corrected TestUsageCacheTest

* Fix Java CheckStyle

* Fix CollectionDAOEventOrderingTest

* Fixes: CI test failures in TagUsageCacheTest.java - eliminate timing assertion and focus on testing/validating cache functionality

* Fixes: CI test failures in RelationshipCacheTest.java - eliminate timing assertion and focus on testing/validating cache functionality

* Fix RelationshipCacheTest.java

* Disable Request Latechny Threshold Tests

---------

Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
Co-authored-by: aji-aju <ajithprasad770@gmail.com>
2025-09-16 12:20:26 +05:30
Bhanu Agrawal
55d9054d69
fix: resolve critical security vulnerabilities (Netty, Spring, commons-lang) (#23324)
* fix: upgrade Spring Framework to 6.1.15 for security vulnerability

  - Upgrades spring-beans, spring-core, spring-expression from 6.1.14 to 6.1.15
  - Addresses security vulnerability detected by Snyk
  - Patch release with no breaking changes

* fix: resolve critical security vulnerabilities in dependencies
2025-09-15 17:02:59 +05:30
satish
4767826b40
Theme setup (#23171)
* Theme setup

* Update colors and shadows

* Use theme colors

* Add colors types

* Colors update

* Consistent outline

* Theme separate module

* Add colors and dep version update

* Theme module as library

* Revert preinstall script

* Update types in theme configs

* Same typescript version for core components

* Fix type errors

* Temp build core component in preinstall

* Fix color string type error

* Remove component examples

* Exclude vite config in build

---------

Co-authored-by: Satish <satish@Satishs-MacBook-Pro.local>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2025-09-10 16:42:02 +05:30
Mohit Yadav
414a009474
Upgrade Mcp to 0.11.2 (#23049)
* Upgrade Mcp to 0.11.2
Use stateless Mcp Servlet

* Add Test for Load Testing and Improve Search Response

* Fixed Glossary And Patch Test

* Add user tests

* Fix failing load test
2025-08-22 22:42:47 +05:30
Mohit Yadav
c0d7a574d7
chore(release): Prepare Branch for 1.10.0-SNAPSHOT (#23034)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-21 21:43:01 +05:30
Mohit Yadav
30b5634522
Fix Vulnerabilities (#22813) 2025-08-07 13:59:24 +05:30
Mohit Yadav
b92e9d0e06
chore(release): Prepare Branch for 1.9.0-SNAPSHOT (#22742)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-04 20:00:25 +05:30
Sriharsha Chintalapani
cec7dd31ad
Fix #21662: Optional Redis Write-Through Cache for Database Queries (#21667)
* Fix #21662: Optional Redis Write-Through Cache for Database Queries

* Fix #21662: Optional Redis Write-Through Cache for Database Queries

* Fix #21662: Optional Redis Write-Through Cache for Database Queries

* Add lazy load, add test profile

* Fix stylecheck

* Fix tests, sonar comments

* Fix tests, sonar comments

---------

Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-07-04 23:21:20 -07:00
sonika-shah
25247cbf1c
update the snapshots url for ossrh migration (#22090) 2025-07-02 15:46:20 +05:30
sonika-shah
f31c9c011a
update the snapshots url for ossrh migration (#22079) 2025-07-02 10:16:32 +05:30
sonika-shah
d65b923a0f
Update Maven URLs for Central Publisher Portal migration (#22076)
* Update Maven URLs for Central Publisher Portal migration

* keep the snapshots url same
2025-07-02 09:26:15 +05:30
Sriharsha Chintalapani
b461eeb881
Move MCP into separate maven module (#22043)
* Move MCP into separate maven module

* Fix styling

* Add Tests, upgrade to 0.10 mcp-sdk version

* Fix tests

* revert npm package and related files

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2025-07-01 12:02:29 -07:00
sonika-shah
d2c9952c9c
Bump jetty.version to 11.0.25 (#21699) 2025-06-12 18:24:42 -07:00
Sriharsha Chintalapani
8bb055fc9e
Fix #21506: Upgrade to Java 21 (#21507)
* Fix #21506: Upgrade to Java 21

* Fix #1655: Upgrade to Java 21
2025-06-11 22:06:08 -07:00
dependabot[bot]
fcd0c4114f
Bump org.postgresql:postgresql from 42.7.4 to 42.7.7 (#21717)
Bumps [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) from 42.7.4 to 42.7.7.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.7.4...REL42.7.7)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-version: 42.7.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-11 15:47:20 -07:00
sonika-shah
ac5d6cc82d
Bump ch.qos.logback:logback-core from 1.4.x to 1.5.13 in /openmetadata-service and platform (#21484)
* Bump ch.qos.logback:logback-core from 1.4.x to 1.5.13 in /openmetadata-service

* match logback-classic.version to logback-core.version

* upgrade dropwizard version to 4.0.14 and logback to 1.5.18

---------

Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
2025-06-03 13:57:12 -07:00
Sriharsha Chintalapani
138d57f890
Issue-19251: Upgrade dropwizard to 4.x and Jetty to 11.x (#19252)
* Issue-19251: Upgrade dropwizard to 4.x and Jetty to 11.x

* keep jdbi3.37.1 version for ConnectionAware functionality

* Code builds

* Merge with main and fix MCP

* Fix to make server run

* Tests fix

* JsonArray causing issue

* Fix WebSockets

* fix json2schema using jakarta instead of javax

* Fix patch tests

* Fix tests

* Register auditing subtypes in OpenmeteadataOperations

---------

Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-05-27 20:31:59 +05:30
Mohit Yadav
bbc450b2d1
Embedded MCP Server (#21206)
* Mcp Server

* Update Server

* Refactored into multiple files

* Add Tool Dynamic loading

* Updated to use toolName

* add description for tools

* initial create glossary term action

* initial patch entity tool

* Fix Glossary Tool

* Use prepare

* Changed const to default

* Prepare for Collate Tools

* Update HttpServletSseServerTransportProvider.java

* Checkstyle fix

* endpoint changed to messages in new versions

* Add Auth Filter to MCP Request

* description

* clean response

---------

Co-authored-by: Pablo Takara <pjt1991@gmail.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
2025-05-20 07:23:50 +02:00
Sriharsha Chintalapani
4c267f8af5
Fix snyk's reported vulnerabilities (#21167)
* Fix snyk's reported vulnerabilities

* Fix tests

* Fix tests

* fix PolicyEvaluatorTest

* replace with single line imports

* Fix tests

---------

Co-authored-by: Harsha <harsha@Harshas-MacBook-Air.local>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
2025-05-17 09:50:06 +05:30
Sriharsha Chintalapani
f360b3eaf5
fix: pom.xml to reduce vulnerabilities (#21073)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGELASTICSEARCH-9919796
- https://snyk.io/vuln/SNYK-JAVA-ORGELASTICSEARCHPLUGIN-9919795

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2025-05-05 07:35:07 +07:00
Ajith Prasad
37112fa4d2
Added netty dependency for Azure SDK (#21011) 2025-04-29 16:50:46 +05:30
Ashish Gupta
73aaa34b75
update the snapshot to 1.8.0 (#20925) 2025-04-24 10:46:36 +05:30
Mohit Yadav
8615a5db29
Update Dependency of jetty-server (#20871) 2025-04-17 00:24:42 +05:30
Akash Jain
bb36a13735
fix: pom.xml to reduce vulnerabilities (#20790)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGELASTICSEARCH-9679275

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2025-04-16 10:34:53 -07:00
Akash Jain
0f6d0523d8
feat: Bump Versions to 1.7.0-SNAPSHOT on Main Branch (#20847)
* feat: Bump Versions to 1.7.0-SNAPSHOT on Main Branch

* fix(script): Add a condition for "-SNAPSHOT" is version update script
2025-04-16 15:21:01 +05:30
Sriharsha Chintalapani
62c0ef09e9
Fix #19103: Search Settings with Ranking config (#19962)
* Search Settings with Ranking config

* Fix #19103: Search Settings with Ranking config

* feat: search setting based on entity

* refactor: css and address review comments

* test: add unit tests

* test: e2e test for update search setting

* update searchSettings.json

* Refactor search builder

* Refactor search builder

* Integrate it into SearchClients

* Integrate it into SearchClients

* Integrate it into SearchClients

* Add preview endpoint

* Add preview endpoint

* test: fix and add unit tests

* test: add playwright tests

* style: fix minor styles

* fix: search preview on reload page

* Fix merge conflicts

* refactor: address PR comments

* style: term boost and icons

* fix: route for entity search page

* Fix fqn search, store search settings, add validation

* Fix SearchSettings tests

* Refactor the code to remove duplication; fix aggregation to have only unique field names

* Fix preview calls, common aggregations

* Fix search ranking

* Fix search relevancy

* Remove useNaturalLanguageSearch

* fix: style, delete field and tests

* Add text fields for tags, tier, certification

* Fix java style

* fix: style variables

* fix: localisation and styles

* fix merge conflicts

* Fix failing test due to same aggrgation name coming from the asset configuration and global

* Fix Hierarchy Tests

* Fix Test Case failures

* Add NLQ integration interfaces

* disable NLS by default

* Fix Glossary and Glossary Term Resource Tests

* revert openmetadata

* fix path for json search settings

* fix playwright failure

* Fix failing test

* add tag and search index

---------

Co-authored-by: Pranita <pfulsundar8@gmail.com>
Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-03-18 23:12:23 +05:30
Mohit Yadav
a47d725975
Fixed tomcat-jdbc dependency (#20218) 2025-03-12 23:25:30 +05:30
Karan Hotchandani
9568817cf1
Fix #19950: Add Tags/Glossary Term support for Domains & Data Products (#19969)
* Fix #19950: Add Tags/Glossary Term support for Domains & Data Products

* add tags and glossary terms to domain and data product

* fix snakeyaml dependency

* Fix search filtering for domain/dataProduct

* fix showing of domain on tags page

* fix merge conflicts

* addressed comments

---------

Co-authored-by: Sriharsha Chintalapani <harsha@getcollate.io>
2025-02-26 14:46:58 +05:30
Mohit Yadav
001af7858b
Fix Lombok Annotation (#19864) 2025-02-19 00:20:58 +05:30
Sriharsha Chintalapani
eb1dfca8bc
Fix json smart version (#19826) 2025-02-17 07:35:05 -08:00
Sriharsha Chintalapani
3678d1c3d6
upgrade logback versions (#19259) 2025-01-07 19:30:36 +05:30
Mayur Singal
9dbc8cba25
MINOR: Bump org.eclipse.jetty version (#18964) 2024-12-09 16:12:38 +05:30
Sriharsha Chintalapani
88c8fb48f3
Add Edit glossary terms, Edit Tier , Edit Tags as separate permissions (#18331)
* Add EditGlossaryTerms Permission

* Fix #18330: Add EDIT_GLOSSARY_TERM permission and enforce EDIT_TIER permisson

* add edit glossary term permission check in UI

* revert EDIT_GLOSSARY_TERMS operation

* Add EDIT_GLOSSARY_TERMS to common operations

* Add EDIT_TIER to common operations

* add default empty array for tags field, as patch calls can run into issues

* Fix tests

* Fix tests

* added glossary terms

* fix conflicts

* fix permission check for data model

* Add EditGlossaryTerms to DataConsumerPolicy

* Add EditGlossaryTerms,EditTier to DataConsumerPolicy

* fix tests

* Fix migrations for EditTier,EditGlossaryTerms

* add edit tier permission to data consumer

* Fix tests

* fix pytests

* missing test_dbt.py

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: ulixius9 <mayursingal9@gmail.com>
2024-11-15 10:50:15 -08:00
Sriharsha Chintalapani
572822e36a
Minor: add versions to maven build plugins (#18443)
Co-authored-by: Suresh Srinivas <srini30005@gmail.com>
2024-10-29 18:54:50 -07:00
Suresh Srinivas
00c38323bd
Update dependencies for release 1.6 (#18444) 2024-10-28 14:52:55 -07:00
Sriharsha Chintalapani
d8f5398efb
Add Azure Token Base Authentication (#18387)
* Add azure token based auth

* Add Azure Token Base Authentication

* Update azure-auth.md

* Update azure-auth.md

* feat: Add `azure-identity-extensions` library for passwordless database connection

---------

Co-authored-by: Ayush Shah <ayush@getcollate.io>
Co-authored-by: Akash-Jain <15995028+akash-jain-10@users.noreply.github.com>
2024-10-24 11:29:46 +02:00
Sriharsha Chintalapani
85cc240e1e
Minor: Add an API to list all the properties and custom properties for a given entity type (#18248)
* Minor: Add an API to list all the properties and custom properties for a given entity type

* Minor: Add an API to list all the properties and custom properties for a given entity type

* add custom properties

* add custom properties

* add custom properties
2024-10-19 14:14:34 -07:00
Mohit Yadav
512946df15
FIx Failing Test Case (#17945)
* FIx Failing Test Case

* Update dependency version
2024-09-20 22:21:18 +05:30
Sriharsha Chintalapani
2da9c34730
Issue-13782: RBAC for search (#17757)
* Issue-13782: RBAC for search

* Handle complex conditions

* Add optimizations to condition parsing

* Add SPeL based condition evaluation

* Fix styling

* use SpeL Parser AST to compose ES conditions

* Fix test message

* improvements in query generation

* improvements in query generation

* Add more complex queries

* Add more complex codndition tests and evaluation

* Add OpenSearch query builders and tests

* Add handling resources in a rule, add tests for multiple rules and inherited roles
2024-09-16 11:45:21 +05:30
Sriharsha Chintalapani
a121d317e7
Minor: remove unused dependency (#17709) 2024-09-05 22:38:58 -07:00
Suresh Srinivas
5eebb89ac6
Upgrade dependencies for release 1.6 (#17676) 2024-09-02 15:18:08 -07:00
Mohit Yadav
e4073c7824
Bump Openmetadata Snapshot version (#17621) 2024-08-29 01:51:20 +05:30
Sriharsha Chintalapani
8681869901
fix: pom.xml to reduce vulnerabilities (#17281)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGELASTICSEARCH-7577201

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-08-27 09:27:22 -07:00
Sriharsha Chintalapani
eac7021af0
fix: pom.xml to reduce vulnerabilities (#15748)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGELASTICSEARCH-6508260

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2024-07-01 17:54:01 -07:00
Chirag Madlani
6c1a12a95f
chore: Update main branch for 1.5.0 Release (#16860) 2024-07-01 16:46:16 +05:30