1914 Commits

Author SHA1 Message Date
Aniket Katkar
e4c10bc401
Day 1: Service insights and agents tab improvements and bug fixes (#20294)
* update the service data insights charts to give percentage data

* fix the quey_cost_record_search_index not found error

* Fix java checkstyle

* Refactor Service Insights Tab and Widgets for Enhanced Data Visualization

- Updated ServiceInsightsTab to utilize new date utility functions for fetching chart data.
- Modified chart data structure to include percentage changes and current percentages.
- Enhanced PlatformInsightsWidget to display percentage values and improved tooltip functionality.
- Added new styles for better layout and responsiveness in TotalDataAssetsWidget.
- Removed unused SERVICE_INSIGHTS_CHART constant and integrated its logic directly into the fetching process.
- Introduced new enums for additional chart types in DataInsight.

This refactor aims to improve the clarity and usability of the service insights data presentation.

* Localization changes

* Fix the platform insights chart colors

* Make the insights tab as default for service details page

* Enhance Ingestion Component and List Table

- Added logic to conditionally render search dropdowns based on the selected sub-tab in the Ingestion component.
- Increased column widths for 'type', 'count', and 'action' in the IngestionListTable for better visibility.
- Adjusted scroll width in the IngestionListTable to accommodate new column sizes.
- Updated styles in metadata-agents-widget.less to ensure vertical alignment of table cells.
- Modified applicationAPI to include agentType in the application list parameters.
- Enhanced router utility to support sub-tab routing.

These changes aim to improve the user experience and layout of the Ingestion settings.

* Fix the playwright failures

* Fix the playwright tests

* fix notification alert flakiness

* Fix metadata agents table header styling

* localization changes

* Fix the flaky test
2025-03-18 11:17:24 +01:00
Imri Paran
5f3b0b4327
chore: make AppResource/convertPipelineStatus protected (#20303)
so it can be used with children classes
2025-03-18 09:57:33 +00:00
IceS2
55ed62863e
Fix NoOp Trigger Workflow Instance Time Series (#20308) 2025-03-18 07:31:18 +01:00
Juntao Zhang
7e8c94c7b8
Correct childrenCount for Organizations in Teams (#20138) (#20139)
* Fix childrenCount of organization in team (#19761)

* Fix UT (#19761)

* Fix code style (#20138)

* Fix UT (#20138)
2025-03-18 07:21:16 +05:30
Imri Paran
d9cd030c55
fix: convert json values for app configs (#20291) 2025-03-17 10:47:00 +00:00
Teddy
fbea55e5d3
feat: allow all as an argument in include columns (#20263)
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-03-17 09:10:12 +01:00
Pere Miquel Brull
18e5b5ea1b
MINOR - Day 1 to set ingestion as deployed (#20282)
* MINOR - Day 1 to set ingestion as deployed

* remove
2025-03-17 08:27:00 +01:00
Mayur Singal
0af5e7af32
Update Data Insights to compute Tier Sources (#20128) (#20272)
Co-authored-by: IceS2 <pjt1991@gmail.com>
2025-03-17 12:22:51 +05:30
Mayur Singal
1dab7c2b4e
MINOR: Grant EditAll permission to lineage bot (#20258) 2025-03-17 11:56:07 +05:30
Mayur Singal
d30fd90096
Minor: Query Cost Table Aggregation Endpoint (#20270) 2025-03-17 11:33:50 +05:30
Pere Miquel Brull
d71c3f4173
MINOR - Add schedule to day 1 pipelines (#20280) 2025-03-16 16:16:47 +01:00
Pere Miquel Brull
9644932fc6
MINOR - Add AgentType to apps (#20178)
* MINOR - Add AgentType to apps

* MINOR - Add AgentType to apps

* update the types according to the schema

* Fix the search lineage request schema

* Add pipelineStatuses field in the ingestionPipelineIndex

* Add MetadataAgentsListWidget

* Localization changes

* added list for app runs by service id

* use `$.services` path

* propogate services field

* Fix the ci type errors

* java format

* use `getJobDetail().getJobDataMap()` instead of `getMergedJobDataMap()`

* Fix the playwright and unit tests

* Fix the service version page playwright failures

* Fix sonarcloud

* Fix the unit tests

* Fix the errors

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
Co-authored-by: sushi30 <imri.paran@gmail.com>
2025-03-16 08:54:46 +01:00
Mayur Singal
d0611388f4
MINOR: Create ChangeSource Breakdown Charts (#20229) 2025-03-16 08:02:20 +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
IceS2
3e690c263b
MINOR: Add default filters to create ingestion (#20262)
* apply database defaults

* apply filter patterns for other db connectors

* defaults for dashboard connectors

* defaults for api, messaging service

* mlmodel, pipeline service defaults

* search, storage service defaults

* metadata connectors

* Add Default filters step in add service form

* localization changes

* Add the Default filter step in edit connection form

* Fix unit tests

* Fix generated types

* Update the types according to new json changes

* Fix the superset connector form issue

* localization changes

* Fix the filter pattern not showing properly on edit ingestion page

* Fix the playwright tests

* Fix the playwright tests

* Fix the unit test

* Add Default Filters to Create Ingestion Pipeline

* Fix the playwright tests

* merge "origin/main" into collate-issue-1047

* Update the add service flow to trigger the day 1 app on service creation

* Fix the entity type

* Fix the playwright and unit tests

* Fix sonarcloud issues

* Fix ApiServiceRest playwright test

---------

Co-authored-by: harshsoni2024 <harshsoni2024@gmail.com>
Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
2025-03-14 22:08:30 +01:00
Teddy
dd3382aad8
MINOR: revert param logic in search/list and introduce raw query param (#20244)
* fix: revert  param logic in search/list and introduce raw query param

* unskip the playwright test related to DQ

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-03-14 12:11:56 -07:00
Pere Miquel Brull
55b945bbb6
FIX #20250 - Suggestions to handle mutually exclusive tags (#20251) 2025-03-14 16:50:23 +01:00
Pere Miquel Brull
4350fed406
FIX #20252 - Add Auto Classification bot (#20254)
* FIX #20252 - Add Auto Classification bot

* format
2025-03-14 15:49:34 +01:00
IceS2
312a6dfbdd
MINOR: Fix Create Ingestion when finding an ingestion already (#20243)
* Fix Create Ingestion when finding an ingestion already

* Add some backoff wait when retrieving pipeline status

* Fix exception
2025-03-14 09:06:23 +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
IceS2
61e7ea68fb
Add Tier and Quality Agents to RunApp (#20215)
Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2025-03-13 14:27:33 +01:00
IceS2
2411a1040e
Fix DataInsights Test (#20239) 2025-03-13 13:19:34 +01:00
IceS2
dc84874a43
Add ClusterAlias to Data Insights indexes (#20222) 2025-03-13 07:01:41 +01:00
Mohit Yadav
a47d725975
Fixed tomcat-jdbc dependency (#20218) 2025-03-12 23:25:30 +05:30
Mohit Yadav
311a5cf7f2
Fix failing tests (#20209)
* Fix Failing Test due to object storage

* Fix Long Vlaue

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2025-03-12 22:32:12 +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
sonika-shah
22a927cac3
fix-18269 Feat : Move deletion to async calls (#20152)
* fix-18269 Feat : Move deletion to async calls

* fix-18269 Feat : cleanup logs

* fix-18269 Feat : update tests

* fix-18269 Feat : fix tests

* fix-18269 Feat : fix tests

* add check supportsAsyncHardDelete

* add check supportsAsyncDelete

* add check supportsAsyncDelete

* remove supportsAsyncDelete; async apis should be available for all delete operations
2025-03-12 10:22:51 +05:30
Teddy
ac63bdf126
ISSUE #1137-CLT: Handle string query in searchIWithOffset client (#19889)
* fix: handle query string param

* style: java linting

* fix: failing test cases
2025-03-11 10:22:02 -07:00
Mohit Yadav
94a433bb71
Fix Invalid Imports on the OSLineageGraphBuilder (#20175) 2025-03-11 16:00:29 +05:30
Pere Miquel Brull
849af7a192
MINOR - Update DayOneExperienceApplication.json (#20164) 2025-03-11 09:36:25 +01:00
Imri Paran
da59ab414e
feat(apps): trigger apps with config (#20156)
* feat(apps): trigger apps with config

redo https://github.com/open-metadata/OpenMetadata/pull/20056

* format
2025-03-11 06:16:57 +01:00
Mohit Yadav
7513c0a0b2
Fix Openmetadata Operations (#20168) 2025-03-10 23:34:53 +05:30
sonika-shah
7e92a459b2
Fix Inherited Owner Not Updating in Data Product List After Removal from Domain in search (#20058) 2025-03-10 22:56:50 +05:30
sonika-shah
d5e20efb8d
Minor : Fix pipelineWidget AUT failure (#20154) 2025-03-10 22:56:08 +05:30
Ashish Gupta
b48d9b9c97
#19615: supported request schema field in case response field not present in OpenAPI lineage (#19885)
* supported request schema field in case response field not present in OpenAPI lineage

* fix backend validation

---------

Co-authored-by: ulixius9 <mayursingal9@gmail.com>
2025-03-10 17:47: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
067604b85e
Update Data Insights to compute Tier Sources (#20128) 2025-03-07 19:17:21 +01:00
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
Pere Miquel Brull
6b45d84f6f
Fix #20010 - Don't initialize pipeline service client if not enabled (#20013)
* do not init service client if disabled

* format
2025-03-07 14:31:01 +01:00
Pere Miquel Brull
6a60d4cb68
MINOR - PipelineServiceClientFactory exception handling (#20070)
* MINOR - PipelineServiceClientFactory exception handling

* Update PipelineServiceClientFactory.java
2025-03-07 14:30:47 +01:00
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
Mohit Yadav
97bce917be
Fix Deletion of Entities (#20129) 2025-03-07 12:41:52 +05:30
Mayur Singal
46947277c4
MINOR: Fix cost analysis build failing for postgres (#20122) 2025-03-06 21:30:28 +00:00
Mayur Singal
c1592b54c5
Capture Query Cost (#19991) 2025-03-06 19:49:59 +05:30
Imri Paran
242e85a797
fix(change-summary): minor issues (#20095)
- deep copy previous change summary so that it doesnt get modified
- handle multiple fields during consolidation
2025-03-06 15:00:01 +01:00
Suman Maharana
137f86c00d
Day1 - Pipeline Usage (#19960) 2025-03-06 18:19:42 +05:30