992 Commits

Author SHA1 Message Date
Keshav Mohta
b21c60304c
Fixes #19688 - Added Postgres Functions Ingestion (#20188) 2025-03-15 11:54:38 +05:30
sonika-shah
153358a216
Fixes #20027 : Support custom properties for Domain (#20094)
* Fixes #20027 : Support custom properties for Domain

* add custom properties on domains page

* add extension in createDomain and domain.fields

* update default index

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
2025-03-15 11:14:33 +05:30
harshsoni2024
2c90a2fe6f
Day 1 - Better Defaults: Filter default metadata (#19762) 2025-03-14 19:58:25 +01:00
IceS2
83502ab2e1
Minor: Trigger day one app manually (#20195)
* Expose Workflow Stage Status and Bring OneDayApp to OSS

* Fix Migrations

* Change Bot and add comment

* Fix checkstyle

* Initial idea for triggering app manually

* Remove merge conflics rows

* Remove merge conflics rows

* Allow to Trigger DayOneApp Manually. Change its Trigger to NoOp

* add docs

* back to main

* Actually take into account the active status

* Fix the generated types

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2025-03-13 22:17:39 +05:30
Pere Miquel Brull
08721cb9c5
MINOR - Add Test Case Automator (#20160)
* MINOR - Add Test Case Automator

* MINOR - Add Test Case Automator

* MINOR - Add Test Case Automator

* MINOR - Add Test Case Automator

* simplify tc body for automator

* simplify tc body for automator

* simplify tc body for automator

* remove all

* dp
2025-03-13 14:38:29 +01:00
Mayur Singal
c5c724887e
Capture BQ Query Cost (#20124) 2025-03-13 17:06:35 +05:30
Mayur Singal
a061367f97
Incremental Lineage Processing (#20185) 2025-03-12 21:21:28 +05:30
IceS2
cbe1849fb9
MINOR: Unify create and run ingestion pipeline tasks (#20171)
* Initial unification of create and run tasks

* Unify Create and Run Ingestion Pipeline Tasks

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2025-03-12 12:27:32 +01:00
Sriharsha Chintalapani
3224f606ed
Asset uploader (#19846)
* Add Asset Uploader

* Add pluggable Object Storage

* Add pluggable Object Storage

* Add pluggable Object Storage

* Add maxFileSize

* rename AttachementException

* Fix styling

* Feat: assets upload support (#19992)

* Feat: assets upload support

* fixed description upload issue

* updated conflict of persona pr

* fixed image upload in model and pipeline

* updated file upload feature

* fixed the blockeditor issue

* updated block editor

* updated dashboardChart

* added kc page type

* updated provider name

* added unit test coverage for new component

* added unit test for entity attachment provider

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-03-12 00:17:48 -07:00
Ayush Shah
7d7472321a
refactor(schema): Make domain a required field for Data Product creation (#20182) 2025-03-11 21:15:37 +05:30
IceS2
ce497e020e
MINOR: Expose Workflow Stage Status and Bring OneDayApp to OSS (#20123)
* Expose Workflow Stage Status and Bring OneDayApp to OSS

* Fix Migrations

* Change Bot and add comment

* Fix checkstyle
2025-03-10 09:25:32 +01:00
Pere Miquel Brull
467534c088
Revert "Fixes 20063: Allowing to trigger an app with a payload (#20056)" (#20155)
This reverts commit 9642c7353813be7a450bba4148d5b4eb751b1c33.
2025-03-10 06:59:29 +01:00
Mohit Yadav
e9ab9dc985
Lineage Improvements (#19639)
* - typo update

* - Update lineage model and api

(cherry picked from commit c5cce2b0c7c1be7ba654bfc2677da0d05215a895)

* - Adding patch

* - spotless fix

* Add Migration For createdAt , createdBy, updatedAt and updatedBy

* Moved classes from Elastic Client to Lineage Graph Builder

* Update to use correct depth

* remove toCondition

* Fix Downstream Lineage

* moved not so cool things here and there

* spotless-failures

* call with direction

* add upstream depth with + 1 for 0th node

* Fix Exports

* Fix Exports from and size

* parse lineage in ui

* Add per entity pagination

* Added per entity pagination

* Fix Async Export

* Fix Java Merges

* Fix merge conflict

* Fix missing upstream nodes

* lineage ui initial commit

* Fix Pagination for upstream

* Fix Values

* fix load more loading

* cleanup

* fix loading of nodes

* fix load more

* Fix Direction Values

* update expand collapse logic

* Fix Deletion Issue

* Fix Pipeline Lineage

* show pipeline as a node

* Use Fqn Hash to find entities is es for lineage

* update lineage

* Add Lineage for Pipeline to look for as edge and node

* Layer and size conditions for upstream and downstream

* Add include source fields in lineage request

* redesign controls component

* add lineage fixes

* fix tests

* Fix node

* Fix Some Failing Test on Lineage

* Java Spotless Fix and added missing relation check on migration

* Missing conflict changes

* fix conflicts

* added missing keys

* update tests

* Add Service Information in service indexes

* Add Domain Lineage

* Add domain lineages

* fix tests

* Fix Metric Entity Service Error

* Maintain Asset Count for entities adding service and domain lineage

* Update to Doc Id and add details to search

* Cleanup Service and Domain automatically

* fix types

* Update review comments

* fix icon sizes

* Update Services Index wit upstream lineage

* add service view

* Fix Service Name missingFix Service Name resolution in LineageRepository

Update the method to correctly retrieve the service name for the "fromEntity" by specifying the FIELD_SERVICE path. This resolves an issue where the service name was not properly populated.

* - Add docUniqueId to lineage data and update related queries
- Added lenient Object Mapper for search index to entities mapping

* - Fix LineageResourceTest failing due to changes on Lineage Storage

* - Update Lineage Details

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-03-10 10:09:29 +05:30
IceS2
9642c73538
Fixes 20063: Allowing to trigger an app with a payload (#20056)
* Allowing to trigger an app with a payload

* added option to pass custom payload to triggered job

* feat(apps): add custom config to trigger

- added custom config for app triggers

* added handling for configuration validation on apps

* - removed `oneOf` from app configuration scheme
- generated ts files for apps

* added CONFIG_OVERRIDE_KEY

* format

* fixed app config key

* format

* format

* fixed python app runner to work with new schema

---------

Co-authored-by: sushi30 <imri.paran@gmail.com>
2025-03-07 21:17:05 +05:30
Aniket Katkar
24e67e8608
Epic: Day 1 service (#19914)
* Add the Platform Insights for the service details page

* Add new localization translations

* Fix the styling

* Add Data Quality widget in the service details page insights tab

* Remove the unused localization keys

* Fix the border radius

* Update the border color

* Add Total Data Assets widget

* localization changes

* Fix the Tier insights chart

* Add Tier and PII Distribution charts

* Localization changes

* Fix the calls for special fqn

* Limit the DataQualityWidget only to the DB services

* Add the MostUsedAssetsWidget

* Add missing loaders to the widgets

* Localization changes

* Update the API call for most used assets

* Add most expensive queries widget

* Localization changes

* Move the widgets logic to classBase for better customization

* Fix the font size

* add charts backend

* fix initialisation

* fix migration

* pii chart

* Add assets_with_tier DI system chart

* Fix the service insights charts

* localization changes

* spotless

* filter to be regex instead of literal compare

* Fix stylings for Most Used Assets widget

* Fix Unit tests

* Remove the New widgets

* Delete unused utils

* Fix the ServiceEntity tests

* Move SystemChartType to enum file

* Worked on comments

* Refactor ServiceInsightsTab and TotalDataAssetsWidget for improved code organization

* Refactor PlatformInsightsWidget and improve type safety

- Added PlatformInsightsWidgetProps interface for better type definition
- Updated PlatformInsightsWidget component to use the new interface
- Simplified component props typing
- Minor code cleanup in TotalDataAssetsWidget
- Updated Fqn utility method with a more precise regex replacement

* Refactor ServiceInsightsTab to use serviceDetails prop and remove Fqn utility method

- Updated ServiceInsightsTab to accept serviceDetails prop instead of using useFqn hook
- Removed Fqn.getNameWithoutQuotes method
- Updated PlatformInsightsWidget and TotalDataAssetsWidget to use serviceName prop
- Added ServiceInsightWidgetCommonProps interface for shared prop typing
- Simplified service name handling across components

* Refactor ServiceInsightsTabUtils to use local i18n import

- Updated import for internationalization to use local i18next utility
- Removed direct import of 't' from 'i18next'
- Imported i18n from local utility and destructured 't' method

* Improve type safety in TotalDataAssetsWidget component

- Added Readonly type to ServiceInsightWidgetCommonProps prop interface
- Enhanced type safety for component props

* add postgres migrations

---------

Co-authored-by: ulixius9 <mayursingal9@gmail.com>
2025-03-07 18:40:10 +05:30
Pere Miquel Brull
8b175944ee
MINOR - Add UsageDetails to EntityInterface (#20111)
* MINOR - Add UsageDetails to EntityInterface

* fix
2025-03-07 12:14:52 +01:00
Mayur Singal
c1592b54c5
Capture Query Cost (#19991) 2025-03-06 19:49:59 +05:30
Suman Maharana
137f86c00d
Day1 - Pipeline Usage (#19960) 2025-03-06 18:19:42 +05:30
Pere Miquel Brull
55d7e50441
MINOR - Add and remove data products Actions in Automator (#19948)
* MINOR - Add and remove Data Product assets in Automator config

* MINOR - Add and remove Data Product assets in Automator config

* domain mixin

* build ref

* build ref

* create types

* fix tests

* fix conflicts

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
2025-03-05 07:11:17 +01:00
Imri Paran
4ada5b7bbf
Fixes 1048: Added changeSummary for tables (#19887)
* feat: add changeContext to changeDescription

* rev: unintended changes

* rev: unintended changes

* feat: implemented change summary field

- implemented ChangeSummarizer which handles change summaries based on tracked fields and list of fields changes.
- added a changeSummary field to table entity which captures change metadata like user, time and source
- added the changeSource as a field to updater. maybe breaks things in collate.

* use additional properties instead of existingJavaType otherwise types dont get created in java.

* added getUpdater(T original, T updated, Operation operation) to not break collate

* updated API docs

* - fixed null access of changeSummary
- added changeSummary to table index

* fix: PR comments

- added changeSummary as nested field in changeDescription
- removed unneeded migrations
- added changeSummary to table search index

* reverted table.json and TestUtils.java

* reverts
2025-03-03 16:35:23 +01:00
Charalampos Georgiadis
1bc8093769
Add displayName field in the createCustomProperty schema (#19943) 2025-03-03 12:24:52 +01:00
Karan Hotchandani
1cbbe9a7c0
fix generated types (#20033)
* fix generated types

* fix path

* fix unit tests
2025-02-28 15:55:40 +00:00
Gyowanny P. Queiroz
fc90a13e08
GEN-2891 - Add ingestion agent relationship to service entities (#19946)
* GEN-2891 - Add ingestion agent relationship to service entities

* Revert relationship storing

* Centralize ingestion entity relationship logic

* Add default implementation

* Change relationship type
2025-02-28 09:35:33 -03:00
Keshav Mohta
7e52310480
Refactor: Reverse Ingestion Pipeline (#19988)
* refact: removed serviceId and added service

* fix: required in reverse ingestion

* fix: types
2025-02-27 15:29:42 +01:00
Chirag Madlani
ab7666b8fe
Feat persona table page (#18550)
* support table details customization page

* update widget preview

* fix schema tab

* fix issue around save layout across tabs

* fix unit tests

* fix tab label with customized one

* misc fixes for persona edit

* update

* update topic with persona changes

* support dashboard data model

* support data assets with customization

* support pipeline with customize page

* fix console errors

* fix tests

* fix sonar cloud issues

* update code for data assets

* remove fqn prop as

* create generic tabs

* update

* support customization for domain page

* update

* fix errors

* fix tests

* update

* fix detail pages

* fix playwright tests

* fix unit tests

* fix unit tests

* update generic tab

* update

* fix tests

* fix tests

* fix data test id for tags and glossary terms

* fix version pages

* fix unit test

* update page enum with api collection

* update custom property to use generic provider

* fix api collection & endpoint

* fix apiCollection and apiEndpoint customization

* fix container test and fix sonar

* fix tests

* fix delete playwright

* support metric entity

* add metric as page type to customization

* fix container unit tests

* fix metric tests

* fix ml model customization

* fix test for mlmodel page

* fix Metric details tests

* fix tests

* fix test for database schema version page

* reset max failure for playwright

* improve icons

* address comments

* update translation

* update as per comments

* update localization

* update function signature

* update file names and fix imports

* address comments

* support tags and glossary to domain

* fix failing tests

* option to show hide task handlers
2025-02-27 15:43:58 +05:30
IceS2
7e64bfa888
MINOR: Update Data Insights Configurations to enable more fine control management (#19884)
* Update Data Insights Configurations to enable more fine control management

* Update Data Insights Configurations to enable more fine control management

* Hide one configuration from DataInsights App
2025-02-26 16:17:18 +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
Keshav Mohta
df193bd0c4
Feature: Reverse Metadata Ingestion (#19723) 2025-02-25 18:41:08 +05:30
Sriharsha Chintalapani
a41c14c546
Add cmd line user ops (#19959)
* Add create-user/update-password commands

* Fix #19958: Add create user option to openmetadata-ops.sh
2025-02-24 18:51:40 -08:00
IceS2
2ac8670c98
MINOR: Add day one experience app (#19883)
* Add Day One Experience App JSONSchema

* Add 'uninstall' method to applications, that should run on deleteApp

* Fix JSONSchemas

* Treating the case where we are trying to suspend or resume a workflow already in that state

* Fix JsonSchema
2025-02-24 13:53:23 +01:00
Pere Miquel Brull
9597f2ebe8
MINOR - Collate AI Tier App Config Spec (#19694)
* MINOR - Collate AI Tier App Config Spec

* MINOR - Collate AI Tier App Config Spec

* MINOR - Collate AI Tier App Config Spec

* Unify limits

* Unify limits

* Unify limits

* Unify limits

* bump version

* bump version

* map

* map
2025-02-20 14:39:05 +01:00
Sriharsha Chintalapani
a924064c09
Fix #17723: Generate Incremental Change Events even when consolidation of events applied (#19550)
* Fix #17723: Generate Incremental Change Events even when consolidation of events applied

* Fix #17723: Generate Incremental Change Events even when consolidation of events applied

* fix tests

* Fix tests

* clean policy tests

* update search methods to use incrementalChangeDescription part-1

* Fix the version page playwrights

* update search methods to use incrementalChangeDescription part-2

* introduce new field incrementalChangeDescription for search part-3

* fix mvn endpoint test

* fix followers and page search test

* fix following of assets

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
2025-02-20 10:23:08 +05:30
Imri Paran
3b5218b923
MINOR: feat(event-subscriptions): event consumer extension (#19591)
* feat(event-subscriptions): event consumer extension

- implemented DI for event consumers
- added custom config for event consumers
- initialize the event scheduler along with application
- added workflow custom type

* - removed the ConsumerService as it is specific for each consumer implementation
- added a "custom" alert type

* wip

* cleanup

* reverted pom.xml changes

* reverted pom.xml changes

* reverted pom.xml changes

* removed abstract layer AbstractOmAppJobListener

* fixed import AbstractOmAppJobListener -> OmAppJobListener

* fixed constructor

* - add event subscription if it doesnt exist (set operation)
- add deleteEventSubscription

* - use patch mode when updating app.eventSubscriptions

* added docs for DIContainer

* aligned py tests with new automation schema

* added AppRunRecord.properties

* format

* changes after merge

* generated missing ts

* use openmetadata config builder instead of the config

* add json logic fixes for reverse metadata

* ref: reverted changes ro workflows

they will be part of https://github.com/open-metadata/OpenMetadata/pull/19723

* ref: reverted changes to workflows

they will be part of https://github.com/open-metadata/OpenMetadata/pull/19723

* reverted ts changes

* reverted ts changes

* reverted ts changes

* fix: initialization sequence for event subscription scheduler

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-02-19 16:23:46 +01:00
IceS2
9d51add739
MINOR: Add run app task (#19841)
* Add Run App Task

* Work on Run App Task

* Rollback task changes

* Fixing type convertion

* Fix Run External App wait

* Fix Run App Task

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-02-19 13:49:46 +01:00
IceS2
7d1ab75bc9
Update Governance Workflow jsonschemas (#19779)
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-02-18 14:29:45 +01:00
IceS2
46948601db
MINOR: Add create ingestion pipeline task (#19753)
* Use namespaced variables

* Fix test

* Add LOG, remove uneeded catch

* Add Log, Refactor VariableHandler

* Add Validation at Definition time

* Add migration

* Remove comments

* Add Create Ingestion Pipeline Task

* Fix migrations by not setting deployed if workflowHandler is not initialized

* Add RunIngestionPipeline Task

* Add new flowable nodes

* Add Job Lock Time configuration default - 5 mins

* fix checkstyle

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-02-13 13:10:17 +01:00
Gyowanny P. Queiroz
2559c79edd
MINOR - Hybrid Ingestion Agent - Link ingestion agents to ingestion pipelines (#19751)
* Hybrid Ingestion Agent - Link ingestion agents to ingestion pipelines

* Store relationship as HAS types

* Java checkstyle

* Trigger CI
2025-02-12 14:31:51 +01:00
Mayur Singal
e873ba0f1b
Fix #19201: Fix connection password masking (#19749) 2025-02-12 16:16:25 +05:30
Mayur Singal
45efd878cb
Fix #19634: use system.query.history table for lineage - databricks (#19744) 2025-02-12 13:29:07 +05:30
Mayur Singal
155571f50a
MINOR: Add support for cluster key information - bigquery (#19727) 2025-02-12 12:03:18 +05:30
Pere Miquel Brull
92c9f0754b
MINOR - Automator - Remove tags by label type (#19681)
* MINOR - Automator - Remove tags by label type

* MINOR - Automator - Remove tags by label type

* MINOR - Automator - Remove tags by label type

* MINOR - Automator - Remove tags by label type

* MINOR - Automator - Remove tags by label type

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2025-02-11 15:22:09 +01:00
IceS2
b120748656
MINOR: Use namespaced variables (#19648)
* Use namespaced variables

* Fix test

* Add LOG, remove uneeded catch

* Add Log, Refactor VariableHandler

* Add Validation at Definition time

* Add migration

* Remove comments

* Fix migrations by not setting deployed if workflowHandler is not initialized
2025-02-11 17:26:32 +05:30
Mayur Singal
29f067c162
Fix #19635: Snowflake allow custom account_usage schema (#19678) 2025-02-11 14:58:44 +05:30
Imri Paran
5f73dd717b
Fix 19499: feat(apps): add app config in run record (#19544)
* feat(apps): add app config in run record

- changed returned schema type of "status" to "AppRunRecord"!
- added a "config" field in the app record
- added a "pending" stage so that "external" app status can be mapped ti internal app status

* added note about schema compatiblity

* added app config for external apps

* show config for every app run

* add tests

* revert open change for now

* Revert "revert open change for now"

This reverts commit e1492a5c92d1967b3d47230a25df4c2c3d399de2.

* update dependency

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-02-07 15:21:58 +01:00
Mayur Singal
636a83514d
Fix #12094: Add support for temp table lineage (#19654) 2025-02-04 11:40:10 +05:30
mohitdeuex
04cab8e71a Revert "- Update lineage model and api"
This reverts commit c5cce2b0c7c1be7ba654bfc2677da0d05215a895.
2025-02-03 12:11:07 +05:30
mohitdeuex
03f492ad1d Revert "- Adds updatedAt and updatedBy"
This reverts commit c6b462f0ab5905fe339c08a05ab819ca940dd06d.
2025-02-03 12:11:07 +05:30
mohitdeuex
c6b462f0ab - Adds updatedAt and updatedBy 2025-02-02 23:13:15 +05:30
mohitdeuex
c5cce2b0c7 - Update lineage model and api 2025-02-02 22:46:28 +05:30
Imri Paran
5482b94a57
feat(schedule-application): enable scheduling application using config file (#19470)
- added schedule to app private config
- reschedule a schedule application job in quartz if it exists.
2025-01-27 13:39:46 +05:30