2141 Commits

Author SHA1 Message Date
Mohit Yadav
7e731648ab
Add Data Product Lineage (#20400)
* Add Data Product Lineage

* Migrate Data Products

* add null check for entity

* add data product layer

* Add index specific conditions

* add tests

* update nlp icon

* Add missing conditions

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
2025-03-26 10:02:00 +05:30
Aniket Katkar
f3e90827d6
Improvements: Implement the workflow status based placeholders for platform insight widget (#20369)
* Implement the workflow status based placeholders for PlatformInsights widget

* Add the workflow status banner

* feat(ui): enhance ingestion components with collate agent functionality

- Added support for loading and displaying collate agents in the Ingestion component.
- Updated Ingestion interface to include new props for collate agent management.
- Implemented loading state for ingestion runs and collate agents in IngestionListTable and IngestionRecentRuns components.
- Integrated pagination handling for collate agents in ServiceDetailsPage.
- Improved rendering of pipeline types in IngestionListTable utility functions.

* feat(ui): enhance Ingestion component with agent counts display

- Added agentCounts prop to Ingestion component to display counts for collate agents and metadata.
- Updated Ingestion interface to include agentCounts.
- Modified ServiceDetailsPage to compute and pass agentCounts to Ingestion.
- Improved rendering of sub-tab options in Ingestion component to utilize agent counts.

* feat(ui): update SVG assets and enhance error handling in Service Insights

- Modified existing SVG assets for improved rendering and added new icons: key-hand, no-tier, and security-safe.
- Enhanced AssetsTabs component to utilize updated placeholder icons for no data scenarios.
- Updated TotalDataAssetsWidget to display a custom error placeholder when no records are found.
- Introduced a new utility function to determine the appropriate placeholder icon based on chart type.
- Added a new CSS class for text color styling.

* feat(ui): add refresh functionality to Ingestion component

- Introduced a refresh button in the Ingestion component to reload the agents list.
- Updated Ingestion interface to include a new prop for the refresh function.
- Enhanced ServiceDetailsPage to implement the refresh logic for different agent types.
- Added styling for the refresh button icon in the associated LESS file.

* localization changes

* feat(ui): refactor ingestion components for improved status handling and styling

- Moved query parameter definitions into relevant functions for better encapsulation in IngestionListTable and IngestionRecentRuns components.
- Updated styling for ingestion status badges to enhance visual clarity and consistency.
- Introduced new color variables for improved theming in LESS files.
- Added a delay mechanism for fetching pipeline status in MetadataAgentsWidget to account for service response times.

* Fix the duplicate variables

* Fix the less variable

* Add large table icon and update placeholder icons in Service Insights

- Introduced a new SVG icon for large tables.
- Updated placeholder icons in AssetsTabs and TotalDataAssetsWidget components to use the new icon.
- Changed the color class for placeholder icons from 'text-grey-8' to 'text-grey-14'.
- Refactored the getServiceInsightsWidgetPlaceholderIcon function to accept additional parameters for customization.

* Implement the placeholder messages for service insight widgets

* add the remaining widget descriptions for service insights

* Fix the unit tests

* localization changes

* Fix the app status not showing properly on the external apps logs page

* add createdBy field in test case results

* Fixed sonar issues

---------

Co-authored-by: ulixius9 <mayursingal9@gmail.com>
2025-03-26 00:12:27 +05:30
sonika-shah
246c8d4721
Revert feed pagination improvement (#20413) 2025-03-25 22:49:30 +05:30
Sriharsha Chintalapani
ccd5f12daa
Fix #20200: Import/Export recursively at Database Service, Database, … (#20201)
* Fix #20200: Import/Export recursively at Database Service, Database, Schema

* Recursive import/ export - Fixed errors

* Recursive import - Column not getting updated fixed

* Bug fix - Error message when data length not given for varchar

* Recursive import: Flag added, parsing errors solved

* recursive import: fixed bugs and tests

* added recursive flag for bulk/edit import/export and created entity type filter for easy access

* dismiss the loading state if, dry run fails and websocket doesn't have error in it

* Recursive false for bulk edit

* Recursive import: db service level

* Recursive import: fixed tests

* Recursive import: bug fix

* Recursive import: fixed bug

* support recursive validation and skip bulkImport playright spec and fix some bulk edit playwright test

* Recursive import: bugs

* Recursive import: nested entity bug

* Data type made mandatory for column

---------

Co-authored-by: aji-aju <ajithprasad770@gmail.com>
Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2025-03-25 17:21:43 +05:30
IceS2
254420bbb1
MINOR: Update Default Configurations (#20398)
* Update Default Configurations

* Update Airflow Default Scheduling

* Update Airflow Default Scheduling
2025-03-25 09:53:01 +01:00
Sriharsha Chintalapani
8947c7efbf
fix: openmetadata-service/pom.xml to reduce vulnerabilities (#19603)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGECLIPSEJETTY-8186141

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2025-03-24 15:31:44 -07:00
IceS2
deca9f9574
Fix Workflow State not Updating on Exception (#20395) 2025-03-24 09:26:05 -07:00
Imri Paran
640eedde35
MINOR: docs: migration process (#20371)
added javadoc for org.openmetadata.service.migration.api.Migration
2025-03-24 16:42:38 +01:00
Gyowanny P. Queiroz
6e3c276478
Ingestion agent updates (#20240)
* updated for ingestion agent

* update playwright

* update for connection tab

* update test

* Update mappers with ingestionAgent

* Docs: 1.6.6 Release Updation (#20234)

* Docs: 1.6.6 Release Updation

* Docs: Docker and python version Updation

---------

Co-authored-by: Rounak Dhillon <rounakdhillon@Rounaks-MacBook-Air.local>

* DOCS - Airflow Base URL for lineage backend (#20255)

* FIX #20250 - Suggestions to handle mutually exclusive tags (#20251)

* UI improvements

* Update ingestionAgent relationship on service entity updater

* Sweta - UI improvements

* updated UI elements

* updated as per comments

* minor fixes

* update test

* remove agent from create pipeline

* remove agent from create pipeline

* remove agent from create pipeline

---------

Co-authored-by: Sweta Agarwalla <swetaagarwalla13@gmail.com>
Co-authored-by: Rounak Dhillon <162090200+RounakDhillon@users.noreply.github.com>
Co-authored-by: Rounak Dhillon <rounakdhillon@Rounaks-MacBook-Air.local>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2025-03-24 14:11:52 +01:00
Sriharsha Chintalapani
03e3e6d651
Add private key configs to ObjectStorage (#20386) 2025-03-24 18:34:45 +05:30
Teddy
5a3fc2cfa4
feat: add created by for test case entities (#20304)
* feat: add created by for test case entities

* migration: createdBy sql migration
2025-03-24 13:13:01 +01:00
sonika-shah
3684a2661b
Add Announcement Count to Feed Count API (#19600)
* Add Announcement Count to Feed Count API

* add inactive and active announcement count
2025-03-24 17:37:44 +05:30
Mohit Yadav
07cedb9d65
Adds missing permissions on alerts (#20387) 2025-03-24 11:19:04 +05:30
sonika-shah
6f2d0db079
Minor : Fix issue with soft delete and restore (#20336)
* Minor : Fix issue with soft delete and restore

* fix search

* fix condition

* fx search condition

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-03-23 14:50:21 +05:30
Chirag Madlani
aa5f655e79
feat(ui): update navbar and leftsider bar with new design change (#20354)
* feat(ui): update new layout globally

* update

* update left side bar and nav bar

* update search bar design

* update layout

* update style

* update layout

* add nlp suggestion changes

* fix conflict

* add nlp search query

* update query

* fix styling

* update styling

* remove home

* fix logo

* close submenu upon selection

* fix selected styling for submenu

* fix notification condition and icon

* fix tests

* address comments

* fix left sidebar tests

* Add Aggregations

* fix domain selection issue

* update nlp search in explore page

* Synced ES / OS

* update code to remove _nlq request to es/os

* NLP Search: Improve LLM Prompt

* Remove unnecessary methods in IndexMapping and cleanup SearchRepository warnings; Update LLM search prompt

* Clean up code and pass search config for NLQService

* add nlp query logic on search

* Fix prompt in searchSettings

* Add api to check nlq if enabled

* fix minor feedbacks

* update api calls on explore

* remove from classbase

* add explore redesign

* fix tests

* Add caching for NLQ searches and support filters

* Improve the NLQ prompt; add custom properties

* pass nlq PR only

* update alias to use data asset

* fix tests

* fix explore styles

* fix domain tests

* Cache NLQ query only if we return results

* Add prompts for no tags, no description

* make nlq service protected

* fix domains

* fix null query on es aggregation endpoint

* remove domain

* fix tests

* fix conflicts

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
Co-authored-by: Sriharsha Chintalapani <harsha@getcollate.io>
2025-03-21 23:59:19 +05:30
Imri Paran
5c0f1a6777
MINOR: fix: use current change summary (#20344)
* fix: use current change summary

Use change summary whenever capturing an update even for non-tracked fields

* added another assertion for good measure
2025-03-20 14:04:50 +00:00
Imri Paran
277e602482
fix: workflow definition migrations (#20357) 2025-03-20 14:28:23 +01:00
Imri Paran
ab5cc03e1b
MINOR: fix: application triggers in day-1 (#20324)
* fix: application triggers in day-1

* fix filter for day 1 ai agents

* format
2025-03-20 13:02:20 +01:00
Mohit Yadav
494bb5c7f0
catch exception (#20356) 2025-03-19 22:23:32 +05:30
Mayur Singal
5da8a967cc
MINOR: Fix ChangeSummary NullPointerException (#20300) 2025-03-19 18:37:06 +05:30
Sriharsha Chintalapani
e2cce8372e
Search issues: Revert to using queryStringBuilder (#20337)
* Search issues: Revert to using queryStringBuilder

* Search issues: Revert to using queryStringBuilder

* Search issues: Revert to using queryStringBuilder
2025-03-19 16:27:00 +05:30
Pere Miquel Brull
0f714f21a5
MINOR - Suggested patches should have ChangeSource Suggested (#20323) 2025-03-19 10:54:00 +01:00
Mohit Yadav
d4631d6d1c
Add Post Call for Aggregate (#20220)
* Add Post Call for Aggregate

* update aggregation calls to post for lineage

* add platform lineage view

* add unit tests

* cleanup

* update platform lineage page

* add icon for other entities

* cleanup

* Add Lineage Migration

* Move fetch all service to common class

* Add view for service or domain

* remove source field

* add validation for inputs

* add platform lineage page

* fix tests

* Checkstyle fix

* fix tests

* resolved conflicts

* fix pytest

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
2025-03-19 12:07:05 +05:30
Mohit Yadav
9c59d6f74a
Add Allowed Domains (#20329) 2025-03-19 12:04:28 +05:30
Mohit Yadav
fc9afbe74a
added missing search cleanup (#20328) 2025-03-19 00:32:49 +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
Sriharsha Chintalapani
706cebd97a
Opensearch connector (#19698)
* Fix #19667: OpenSearch Connector

* Fix #19667: OpenSearch Connector

* do not ingest any system level indexes

* fix pyformat

* Add AWS auth

* Use common schema and fix ssl config in client

* Add openseach connector docs and update schema

* Remove api key auth type and complete docs checklist

* Remove unnecessary httpx dependency and pyformat

* Add compatible version of httpx for elasticsearch

* Fix pylint fails and py-tests validation error

---------

Co-authored-by: Mohit Tilala <tilalamohit123@gmail.com>
Co-authored-by: Mohit Tilala <63147650+mohittilala@users.noreply.github.com>
2025-03-18 18:45:25 +05:30
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