4793 Commits

Author SHA1 Message Date
dependabot[bot]
c0f819058d
Chore(deps): Bump @babel/runtime-corejs3 (#20196)
Bumps [@babel/runtime-corejs3](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime-corejs3) from 7.15.3 to 7.26.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime-corejs3)

---
updated-dependencies:
- dependency-name: "@babel/runtime-corejs3"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
2025-03-25 10:19:36 +05:30
Ayush Shah
a9d6b5760d
Fixes #18346: feat(BigQuery) Enhance project ID discovery and ADC support (#20085)
* Refactor SQL column processing and enhance BigQuery project ID handling

* Introduced a new `process_column` function in `sql_column_handler.py` to streamline column processing logic.
* Updated `BigquerySource` to improve project ID retrieval from service connections, ensuring compatibility with various credential types.
* Added handling for nested columns in BigQuery schema processing.
* Enhanced error handling and logging for better debugging during project ID setup.

* Add support for GCP Application Default Credentials in BigQuery ingestion

* Enhanced `BigquerySource` to include handling for GCP Application Default Credentials (ADC).
* Updated JSON schema for GCP credentials to define `gcpADC` and its properties.
* Improved logging for credential setup in `set_google_credentials` function.
* Added comments and TODOs for future enhancements related to project ID fetching from the resource manager.

* Update .gitignore to include cursor rules files

* Added .cursorrules and .cursor/ to the .gitignore to prevent tracking of cursor rule files in the repository.
* This change helps maintain a cleaner repository by excluding unnecessary files from version control.

* refactor: Bigquery Credentials to allow multiple project ids

* fix: Handle unknown array data types in SQL column processing
2025-03-24 15:31:10 -07:00
Sriharsha Chintalapani
a510ac0a27
Update en-us.json (#20203) 2025-03-24 22:10:19 +05:30
Shailesh Parmar
81f0f08be2
Feat: assets upload supporting PR (#20385)
* Feat: added support for assets upload

* updated ui for file attachment

* combine extention

* refactore fileNodeView

* fixed failing unit test
2025-03-24 22:01:34 +05:30
IceS2
deca9f9574
Fix Workflow State not Updating on Exception (#20395) 2025-03-24 09:26:05 -07:00
Chirag Madlani
e91f8a262f
fix: openmetadata-ui/src/main/resources/ui/package.json & openmetadata-ui/src/main/resources/ui/yarn.lock to reduce vulnerabilities (#20391)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-9403194

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2025-03-24 09:25:05 -07:00
Dhruv Parmar
52e07cf2c3
Redesign : certificates and source URL (#20368)
* Redesigned certificate || source url

* updated extrainfolabel

* updated extrainfolabel

* fixed metricHeaderInfo|| gave consistent spacing

* fixed test cases

* fixed metric text overflow

* fixed tests

* fixed comments

* fixed sonar cases
2025-03-24 20:52:39 +05:30
Karan Hotchandani
30239bdf05
fix - application configurations for reverse metadata (#20320)
* fix query builder state for custom properties

* update the app run records for external apps

* fix styling of status

* add zoom and pan for minimap

* fix sonar error
2025-03-24 18:44:41 +05:30
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
Shrushti Polekar
1c467d0ee1
error placeholder bg fix (#20394) 2025-03-24 18:32:15 +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
Chirag Madlani
d0f4080e37
fix(test): customize navigation playwright (#20388) 2025-03-24 14:54:43 +05:30
Sweta Agarwalla
b35ee783b2
Alert Updates (#20360)
* addressed comments

* updated alert reset condition

* update alert styles

* update inline alert styles

* fix inline alert test

* minor updates

* remove icons

* update theme colors
2025-03-24 10:22:45 +05:30
Shrushti Polekar
6e8fe6ff8f
Feat : Notification Update for glossary term approval (#20382)
* update notification for glossary term approval

* address pr comment

* fix sonar cloud failure

* minor fix

* playwright test

* playwright fix
2025-03-23 22:26:28 +05:30
Pranita Fulsundar
a70017d430
feat: glossary table having approve and reject task actions (#20269)
* feat: approve and reject action for glossaryTerm

* fix: getTaskData logic and status icons

* fix: tests

* fix: approve/reject button style and test cases

* update position of status filter

* style: update color variables

* remove extra fetchTasks call

* fix: logic of update glossaryTerm after status change

* fix: updateGlossaryTermStatus function

* fix: update glossary term status
2025-03-23 20:40:30 +05:30
Shrushti Polekar
2fe5d7e865
Landing page activity feed ui revamp (#20265)
* landing page activity feed ui update

* fix failing unit test

* feeds widget drawer update

* entity name update

* strong formatting issue fix

* fix diff view issue for task card

* fix feedspanel issue for incident manager

* minor activity feed tab css updates

* minor fix

* incident manager css fix

* assignee issue fix

* fix sonarcube issues

* failing test fix

* failing test fix and minor fix

* css fixes for header links

* owners feed card update

* localization file updates

* fix user.spec test failures

* task tab more btn action

* minor tab fix

* chip bg color update

* minor css fix

* three panel layout update for glossary term tab

* address pr comments

* address pr comments

* address pr comments

* address pr comment

* diff view fix

* resolve conflict

* minor change

* playwright failure fix

* fix playwright failure

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2025-03-23 12:13:56 +05:30
Chirag Madlani
4a1b0dfa45
feat(ui): persona fix for governance and navigation (#20355)
* feat(ui): persona fix for governance and navigation page

* minor update

* fix tests for governance

* fix data asset playwright

* fix transition

* fix navigation with switch

* fix tests

* update navigationItem json schema

* fix type generation

* fix styling

* support custom navigation

* skip observability alert

* fix unit tests

* update tests

* fix columns popup

* fix tests for left side bar

* fix tests

* fix tests
2025-03-22 14:20:07 +05:30
Ashish Gupta
5a8be4b2e7
MINOR: fix the display not render in lineage drawer (#20381)
* fix the display not render in lineage drawer

* minor optimization
2025-03-22 14:00:43 +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
Shrushti Polekar
33924fbc94
Bug fix for user profile page for Mentions Tab rendering and Diff View issue (#20351)
* bug fix for user profile page

* removed index from key
2025-03-21 23:31:40 +05:30
Shrushti Polekar
d60fd97e17
fix comment editor issue (#20362) 2025-03-21 22:52:40 +05:30
Chirag Madlani
fc30e69442
fix(ui): potential fix for okta login, clear state for avoid login errors (#20379)
* fix(ui): okta login clear state for avoid errors

* add fallback option
2025-03-21 20:35:15 +05:30
Pranita Fulsundar
d317081460
fix(ui): fixes for search settings with ranking (#20359)
* fix: styles, search preview call and entityType for field value boost

* style: settings cards layout

* style: settings cards icon size

* fix: global searchSettings get call

* feat: add field value boost for entity page

* fix: add matching fields behaviour

* fix: save term boost for global settings

* test: add unit tests and playwright tests

* style: setting item card layout

* fix: playwright test

* minor: display factor inside fieldvalueboost

* minor: addressed pr comments
2025-03-21 19:03:12 +05:30
Chirag Madlani
03f0aa37f4
feat(ui): Lineage export as PNG (#20092)
* feat(ui): allow export as pdf from element directly

* supported lineage export as pdf

* added header in pdf file of entity name

* move the export logic in the export provider and have export type selector in modal

* added playwright test for export pdf

* added png export, and convet lineage pdf export to png

* minor optimization

* remove pdf lib and modify code to extend further and added loading state

* fix sonar issue

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2025-03-21 15:12:19 +05:30
Aniket Katkar
a7305b22cd
Playwright: Fix the AUT failures occurring due to entity header and service agents default tab changes (#20361) 2025-03-20 21:53:17 +05:30
Chirag Madlani
304f97f3dd
Revert "feat(ui): update navbar and leftsider bar with new design change (#20…" (#20353)
This reverts commit 5531930ccc6a395948e9b534582a68558d2d0cc7.
2025-03-19 20:01:57 +05:30
Chirag Madlani
5531930ccc
feat(ui): update navbar and leftsider bar with new design change (#20267)
* 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

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
2025-03-19 19:52:11 +05:30
Sweta Agarwalla
cd4892b7c0
update yarn.lock to fix the issue from --frozen-lockfile (#20352) 2025-03-19 13:00:07 +00:00
Dhruv Parmar
092cb94fb8
MINOR : Fixed Header component (#20340)
* fixed header displayname ||vote buttons || edit buttons

* replaced hashcode with varibalenames

* style changes

* fixed displayname

* minor changes

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-03-19 12:38:33 +00:00
Imri Paran
76c92d8498
ci: create a junit test report for CI (#20257)
- include the junit for UI in the test report in github actions
- this will solve the false positive for "publish test report" and reduce feedback loop for getting failing tests
2025-03-19 10:29:39 +01:00
Teddy
52382d2737
ISSUE #19185 -- Allow user to choose non random sample (#20299)
* feat: allow user to turn off rnadomized sample

* style: ran python linting

* fix: models default value for randomizedSample

* style: ran linting

* doc: move config to advanced
2025-03-19 08:42:00 +01:00
Pranita Fulsundar
7451e1a0f8
feat(ui): search settings with ranking config (#20331)
* feat: search settings with ranking config

* fix: test case for search preview
2025-03-19 06:43:09 +00: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
Pranita Fulsundar
350c2ae853
test: fix search preview test case (#20335) 2025-03-19 11:06:53 +05:30
Chirag Madlani
955fae4171
chore(ui): update entity page layout (#20334) 2025-03-19 10:10:57 +05:30
Sweta Agarwalla
a2d48e19ec
Add pagelayout in all pages (#19766)
* add pagelayout in all pages

* add page titles

* update locales

* update z-index

* Update messages in unauthenticated pages

* updated as per comments

* updat alert

* update alert styles

* update test

* update icon

* updated i18n

* update test

* resolve issue

* update translations

* move style to less file

* update css for login alert

* update test

* update alert

* update to reset the alert on page change

* update pagelayout test

* update condition for resetting alert

* fix forgot password test

* update pagelayout test

* update operator

* update alert dismiss logic

* remove logic for alert dismiss
2025-03-19 10:10:31 +05:30
Dhruv Parmar
cbfb6dd9e7
MINOR: Fixed Legacy tag and follow button (#20321)
* fixed tags legacy

* fixed comments

* fix tests

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2025-03-19 09:42:20 +05:30
Chirag Madlani
2363ea8614
fix(ui): Persona comments and sonar issues (#20011)
* fix(ui): Persona comments and sonar issues

* improve code and add tests for generic tab

* adding test for common widget

* add tests for generic provider

* update

* fix tests

* fix tests

* fix tests

* update localization

* fix test

* modify MlModel tabs

* fix playwright tests

* fix playwright

* update translation

* fix failing tests

* fix translation

* fix unit tests

* make first tab as default selected

* update tests

* fix tests

* update default height for widgets

* update layout

* update translation

* fix layout changes

* support drag and drop for customize tabs

* fix tests

* update

* fix unit tests

* fix failing tests and sonarcloud

* fix tests

* fix more tests

* fix tests

* remove follow button for non-follower entity
2025-03-19 09:30:25 +05:30
Aniket Katkar
b094bf43aa
Refactor Service Insights and Ingestion Components (#20326)
- Updated ServiceInsightsTab to fetch data for the last 6 days instead of 7.
- Enhanced PlatformInsightsWidget to conditionally display icons based on percentage change.
- Passed serviceDetails prop to CollateAIAgentsWidget in Ingestion component.
- Replaced uiSchema in FiltersConfigForm with SERVICE_CONNECTION_UI_SCHEMA for better structure.
- Introduced SERVICE_CONNECTION_UI_SCHEMA in constants for consistent UI form ordering.
- Added utility function to generate an array of timestamps for the last 7 days.

These changes improve data accuracy and UI consistency across components.
2025-03-18 20:04:31 +01:00
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
Shrushti Polekar
1869bcbecd
Fix: Assets Tab empty Summary panel and text formatting Bug (#20305)
* bug fix for editor and assets tab

* update markdownPatterns
2025-03-18 17:59:39 +05:30
Prajwal214
2bc34d99cf
Docs: Fixing Service Connection Information for Airflow (#20314)
Co-authored-by: Prajwal Pandit <prajwalpandit@Prajwals-MacBook-Air.local>
2025-03-18 16:41:15 +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
Ashish Gupta
ba4549ca3f
hide the import/export and bulk edit button in case of entity is delete (#20306) 2025-03-18 15:08:33 +05:30
Ashish Gupta
b61c6d6269
supported async delete functionality for service entities (#20275)
* supported async delete functionality for service entities

* remove the multiple delete showing logic in ui and handle the recursive false case in case entity is not empty

* added unit test for the provider

* change playwright as per async delete

* change the toast notification to success for the delete process being started

* fix playwright test

* fix playwright failure

* fix the service ingestion playwright failure
2025-03-18 10:50:40 +05:30
Shailesh Parmar
20086f71ee
fix: #20173 Time zone notations for UI timestamps (#20293)
* fix: #20173 Time zone notations for UI timestamps

* fixed the bot test
2025-03-18 10:02:05 +05:30
Sweta Agarwalla
07ac8fa5eb
Update test connection modal to include error messages (#20248)
* update test connection modal to include error messages

* update test

* update as per comments

* updated component

* fix the error message and improve the code with unit test

* minor improvement

* fix the unit test and some improvement

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2025-03-17 19:32:43 +05:30