105 Commits

Author SHA1 Message Date
Shailesh Parmar
d30e2d89d6
cypress: fixed flaky cypress of main branch (#10996)
* fixed failing cypress on main

* updating cypress config to test

* updating ingestion check

* revert changes related cypress.config

* added api wait for service details page API
2023-04-12 17:57:52 +05:30
Aniket Katkar
1d93000466
fix(ui): fixed flaky cypress test for TeamsHierarchy spec (#10958)
* Fixed flaky TeamsHierarchy spec

* updated cypres.config

* updated cy config

* fixed flaky service related cypress

* fixed addRoleandAssigntouser spec

* updated test

* updated merge conflict issue

* reduce machine to 2 for cypress

* skipping tags cypress due to #10979

* unskip test

* revert check for status code not checking

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-04-10 15:16:20 +00:00
karanh37
445ac90ef9
feat(ui): glossary versions page (#10966)
* fix: glossary right panel position fix

* fix: review comments

* feat: add deeplinks to tabs in glossary terms page

https://github.com/open-metadata/OpenMetadata/issues/10713

* fix: glossary feedback

* chore: update svg icon

* fix: missing localization keys

* fix: review comments

* fix: missing localization keys

* fix: review comments

* fix: jest tests

* feat: glossary ui improvements

* fix: missing localization keys

* fix: added error placeholder for assets

* fix: add icon to references

* fix: table issues

* feat: add glossary versions page

* fix: remove display name validations

* fix: localization keys

* fix cypress

* fix: button alignment

* fix: glossary version improvements

* fix: remove tooltip as not needed

* fix: update space direction

* fix cypress failure for ingestion tab

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-08 15:26:43 +05:30
Chirag Madlani
8c6ae7f682
fixes: #10604: json viewer not loading properly (#10868)
* fix(ui): owner assignment issue
fix refresh token frame timeout issue
improve tier card
 - Remove clear all button
 - add remove button at tier level
fix: #10604

* fix tier select button styling
fix follow unfollow for dashboard

* fix unit tests

* fix unit tests

* change active tab based on owner

* fix sonar-cloud code smells

* fix edit owner cy failure

* fix cypress

* fix cypress for service and entityDetails

* fix cypress

* fix dashboard entityName issue

* fix unit tests

* fix cypress tests

* fix owner assigning cypress
2023-04-07 19:44:37 +05:30
karanh37
c1cbee3d1b
fix: user selectable list popover issues (#10799)
* fix: user selectable list popover issues

* fix: skip glossary tests

* fix: team cypress tests

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-06 22:55:45 +05:30
Pere Miquel Brull
cdd473c3b7
Add ingestionIpInfoEnabled configuration (#10870)
* Add ingestionIpInfoEnabled configuration

* Format

* hide ip address if api response if not 200

* removing dependancy on ip-modal and checking default state

* updated status code for ip to 204 to check default state

* fixed failing cypress

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2023-04-06 16:27:07 +02:00
Shailesh Parmar
8ac6ce9f7a
cypress: fix flaky cypress test from main (#10937)
* cypress: fix flaky cypress test from main

* fixed tags spec

* skipping `Add tag at DatabaseSchema level with task & suggestions` test
2023-04-05 20:32:48 +05:30
Shailesh Parmar
592ae305c3
upgraded cypress to v12.9.0 and fixed service connection cypress (#10891)
* upgraded cypress to v12.9.0 and fixed service connection cypress

* fixing failing cypress

* updated cy setting

* fixed restore cy test

* added API wait for users spec

* fixed suspected specs

* Fix ES aligning suggests with Java

* separate the tag test for DatabaseSchema

* updated tags spec

* skip advance search

* fixed failing API's

* await on tags api

* debounce search api

* update numKeptInMemory flag to minimum

* fix unit tests and skip failed tests

* fixed failing cy test

* fixed redirection

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2023-04-05 00:06:11 +05:30
Suresh Srinivas
c8b640674b
10041 part2 - Refactor and cleanup APIs (#10900)
* Use @Tag annotation to group APIs in the swagger documentation.

* Hide internal APIs

* Change API path events/subscription to events/subscriptions

* Change API path from automations/workflow to automations/workflows

* Change API path v1/testCase to v1/testCases

* Change API path v1/testDefinition to v1/testDefinitions

* Change API path v1/testSuite to v1/testSuites

* Rename Kpi and kpi in the documentation to KPI

* Change API path v1/testConnectionDefinition to v1/testConnectionDefinitions

* Update API section in the API documentation

* Fix test failures

* Correctly capitalize Test Cases and Test Suites in API docs
2023-04-03 13:03:48 -07:00
Sachin Chaurasiya
0a92a897a1
chore(ui): add support for service documentation (part-1) (#10668)
* chore(ui): add support for service documentation md file

* sync local

* chore: add method for fetching markdown file

* chore(ui): add support for service documentation

* chore: move fields to connections

* chore: update logic to fetch requirements

* chore: right panel component for service

* fix: key prop is not present in the skeleton component

* chore: only fetch md files when required fields are present

* chore: use hook for fetching airflow status

* chore: refactor add service component

* chore: remove id prefix and id separator prop from form builder

* fix: fieldName issue on right panel

* fix: active Field name issue

* fix:unit test

* test: add unit test

* chore: handle edit service form

* chore: add fallback logic

* fix: cy test

* chore: update service doc md files/folder structure,

* chore: push image example

* Athena docs

* Add glue docs

* Add hive related changes

* chore: take last field for fetching field doc

* add datalake

* Added connection information for oracle and redshift (english + french)

* fix: fallback logic

* Bigquery & Snowflake Requirements

* mysql and amundsen requirements (#10752)

* Revert removal of descriptions

* Add Doc For Mssql and Postgres

* Added powerbi conn md files

* Align requirements files

* Add Kafka and Redpanda

* refined powerbi docs

* Add Tableu requirements, move Athena and Glue fields, change footer some connectors

* Add missing connectors fields descriptions default

* re: datalake

* Add Tableau field descriptions

* fix: markdown styling

* chore: improve button styling

* chore: rename right panel to service right panel and move it to common

* fix: doc for select and list field , cy test.

* fix: unit test

* fix: test connection service type issue

* Added powerbi docs link in req

* Add info on hive

* Remove unused markdowns

* Add req for datalake

* add hive requirements header

* Snowflake & Biguqery

* Update Mssql and Postgres

* mysql and amundsen requirements updated

* Update Mssql and Postgres

* added username

* chore: fix cy expression issue

* chore: reset active field state on step change.

* fix: affix target container issue

* fix: unit test

* fix: cypress for postgres and glue

---------

Co-authored-by: Milan Bariya <52292922+MilanBariya@users.noreply.github.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: Ayush Shah <ayush@getcollate.io>
Co-authored-by: Teddy Crepineau <teddy.crepineau@gmail.com>
Co-authored-by: ulixius9 <mayursingal9@gmail.com>
Co-authored-by: NiharDoshi99 <51595473+NiharDoshi99@users.noreply.github.com>
Co-authored-by: Milan Bariya <milanbariya12@gmail.com>
Co-authored-by: Onkar Ravgan <onkar.10r@gmail.com>
Co-authored-by: Nahuel Verdugo Revigliono <nahuel@getcollate.io>
Co-authored-by: Nihar Doshi <nihardoshi16@gmail.com>
2023-03-29 14:18:17 +05:30
Chirag Madlani
bae95c5314
feat(ui): consistent user dropdown for owner and reviewers (#10617)
* feat(ui): consistent user dropdown for owner and reviewers

* feat(ui): consistent user dropdown for owner and reviewers

* make component working with pages
update styles
add few more components like count details, color update on tags

* remove AddUserModal component

* fix owner edit for netity page

* add tests for selectable list

* remove reference for OwnerWidgetWrapper
update tests to reduce console error on test run

* remove count

* fix sonarcloud and ui

* remove OwnerWidget

* minor fixes

* verify reviewer and owner modal behavior

* fix tests

* fix minor UI glitches

* fix unit tests

* fix cypress

* fix cypress failures

* fix search and glossary cypress failure

* minor fix

* fix remaining cypress tests

* remove intercept for terms

* fix issues

* address comments

* skip falky test to avoid failures
2023-03-28 14:39:41 +05:30
Pere Miquel Brull
78d7dd8789
[WIP] - Test Connection - Prepare the new test connection ingestion+UI logic (#10660)
* Prepare the new test connection ingestion logic

* Update test assert

* Update Test Connection for SQA Sources

* Correct return type and method doc

* Handle decryption

* Non SQA Database Sources

* Add the run_automation script in ingestion-base

* Dashboard Test Connection Changes

* Pipeline, Messagin, MlModel & Metadata Sources

* ui: test connect flow-1

* Unmask connection parameters before sending to Ariflow

* ui: test connect flow-2

* Address review comments and pylint

* pytest fix

* ui: test connect flow-3 (refactoring and style fix)

* ui: test connect flow-4 (fix test connection status logic)

* sync local file

* ui: test connect flow-5 (fix lowercase issue and styling)

* ui: test connect flow-5 (show toast notifications)

* test: add unit test

* ui: test connect flow-5 (update service page test connection button)

* Databrick fix & pytest fix

* pylint

* Update test

* Fix merge

* S3 Test connection

* add style for mandatory step

* sync locales

* chore: add service name in workflow request

* Unmask using original service connection parameters

* Fix test connection unmasking

* Wrap inspector function to eliminate error outside test conn

* Fix linting

* fix:cy test

* Fix linting

* address comment

* refactor and fix connection type casing issue

---------

Co-authored-by: ulixius9 <mayursingal9@gmail.com>
Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
Co-authored-by: Nahuel Verdugo Revigliono <nahuel@getcollate.io>
Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com>
2023-03-28 06:29:13 +02:00
Ashish Gupta
f54efc649b
Fixes #10543 : Fix searchbar persistence issue after user get deleted by search. (#10753)
* Fix the searchbar on user page after delete action

* minor changes
2023-03-26 20:06:03 +05:30
Ashish Gupta
1389270cc8
UI : Fix the Mouse pointer on tags button (#10589)
* Fix the Mouse pointer on tags button

* fix cypress issue

* fix cypress issue
2023-03-16 20:43:04 +05:30
Ashish Gupta
cc8168ca9d
UI : Increase tag input size and added tooltip on options (#10397)
* Increase tag input size and added tooltip on options

* Increase width for glossary and shift icon to icon props

* fix cypress issue

* change cypress for selecting tag
2023-03-06 19:21:21 +05:30
Chirag Madlani
f12e2c32e6
chore(ui): advance search spec refactoring (#10167)
* chore(ui): advance search spec refactoring

* fix tier select button test id

* fix cypress json

* fixed single search with condition test cases

* cypress setting update

* fix tests

* fix failures

* revert cypress config

* fix flaky tests

* fix flakyness

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2023-03-03 18:50:35 +05:30
Ashish Gupta
b59de5c7a5
UI :- Change normal select to ANTD select in Service Page (#9710)
* Change normal select to ANTD select in Service Page

* fix cypress and unit test issue

* remove empty space

* fix cypress issue

* code optimization

* fix tests

* optimize the code and changes made as per comments

* fix unit test issue
2023-03-02 11:16:30 +05:30
Sachin Chaurasiya
5b94f5ae70
chore(ui) : Add missing localization (#10205)
* chore(ui) : Add missing localization

* fix : unit test

* chore : add missing locale keys

* chore : add missing locale keys

* fix: cy failures

* fix : cy test

* address comments
2023-02-16 17:28:00 +05:30
Pere Miquel Brull
1835de8bf2
Group airflowConfiguration into pipelineService config (#10120)
Group airflowConfiguration into pipelineService config (#10120)
2023-02-07 16:30:42 +01:00
Suresh Srinivas
1990ac56d9
10041 Part1 - Refactor and clean up System APIs (#10042)
* 10041 Part1 - Refactor and clean up System APIs

* Update the config resource endpoint url
2023-02-03 16:25:40 -08:00
Sachin Chaurasiya
4bf60bd2f4
fix(#9775): UI - Teams owner can only be another user not another team (#9789)
* fix(#9775): UI - Teams owner can only be another user not another team

* fix:cy tests
2023-01-18 13:44:35 +00:00
Chirag Madlani
ec61e94bb8
chore(ui): support lint & prettier for cypress files (#9728) 2023-01-15 18:24:10 +05:30
Chirag Madlani
b7198df486
test(ui): clean alerts that cypress created for tests (#9697)
* test(ui): clean alerts that cypress created for tests

* fix main failures

* await on AriFlow api to avoid element got vanished

* fix flaky
2023-01-12 19:35:33 +05:30
Sachin Chaurasiya
bdb8a55cfe
refactor : Add useAirflowStatus hook (#9473)
* chore : Add useAirflowStatus hook

* Add interface for hook

* Expose the fetch status method

* update hook return value

* refactor : use useAirflowStatus hook to get the airflow status

* Update useEffect to fetch data based on airflow status

* update license

* fetch workflow if airflow is available

* Revert "Update useEffect to fetch data based on airflow status"

This reverts commit c8cea80d4d2637d1c9163f650a34783c8efe376b.

* fix : cy failures

* address comments

* fix : unit test

* fix : cy test
2023-01-10 06:13:05 +00:00
Aniket Katkar
de271d80a7
fix(ui): cypress test fixes and improvements (#9574)
* fixed skipped cypress tests and fixed flaky tests

* removed unnecessary comments

* fixed failing tests for myData spec

* Fixed glossary cypress tests
2023-01-04 14:28:50 +05:30
Onkar Ravgan
dc157ee286
Fixed ingestion tags with new tags API (#9552)
* Fixed ingestion tags with new API

* fix cypress failures

* wait for tags API

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2022-12-31 07:33:02 -06:00
Chirag Madlani
cb78343898
fix(ui): tag api related changes to UI (#9532)
* fix(ui): tag api related changes to UI

* fix api calls

* fix tests

* fix tag cypress tests

* address comments

* update tag api calls

* fix tests

* fix unit tests

* fix unit tests failures

* fix cypress failure

* fix tests

* fix unit tests
2022-12-31 00:47:02 +05:30
Chirag Madlani
d030c6cbfe
fix(ui): automate license header process via pre-commit hook (#9523)
* fix(ui): automate license header process via pre-commit hook

* remove header duplications

* update .less files license header
2022-12-27 12:37:58 +05:30
Ashish Gupta
8c250f5f80
fix cypress issue for while deleting service (#9416) 2022-12-20 10:46:51 +00:00
Aniket Katkar
2abe40f08c
Fixed failing cypress for glossary (#9380)
* Fixed failing cypress for glossary spec

* Removed formatting of spec files for easy review

* reverted file formatting for glossary spec

* reverted formatting for glossary spec
2022-12-18 10:31:22 +05:30
Ashish Gupta
7c181a5a89
Dbt worflow (#9302) 2022-12-16 17:00:28 +05:30
Chirag Madlani
38f9e0555d
fix(ui): add description around filter pattern (#9133)
* fix(ui): add description around filter pattern

* update localization text

* cleanup common utils

* add docs link to description

* doc : change pattern helper text as per comments

* fix : filter pattern checkbox opacity

* Fix cy tests

* Revert : filter pattern styling

* Fix : cypress test

* text updated as per comment

* fix cypress failure

* fix cypress for checkboxes

* address comments

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2022-12-13 16:14:48 +05:30
Shailesh Parmar
1b155e042b
Added localisation support part 2 (#9220)
* Added localisation support part 2

* updated label

* updated localization

* addressing comments

* removed use of tolower and added seprate key
2022-12-10 10:16:19 +05:30
Aniket Katkar
d2b61d6065
Fixed failing flaky cypress tests. (#9150)
* Fixed failing flaky cypress tests.

* Fixed flaky cypress tests for glossary

* fixed glossary test
2022-12-06 09:49:52 +00:00
Ashish Gupta
7241c3a975
Cypress: Added test related to redirection from home page (#9112)
* Cypress: Added test related to redirection from home page

* fix cypress issue
2022-12-02 20:54:25 +05:30
Sachin Chaurasiya
1bddfefbcd
Fix #8846 : Replace Confirmation modal with antd modal in the UI -1 (#9074)
* Fix #8846 : Confirmation modal with antd modal in the UI

* Fix unit tests

* Addressing comments

* Fix : Cypress tests

* Address comments

* Change localization labels

* Addressing comments

* Fix : Cy tests
2022-12-02 15:43:12 +05:30
Shailesh Parmar
c3966f16ce
Cypress: Added log1 flow for services spec (#8900)
* Cypress: Added log1 flow for services spec

* updated data-test id

* updated service flow and add login session for the same

* reduce wait count

* removed manual login from data quality spec

* added appropriate comment for wait

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2022-11-28 12:40:19 +05:30
Shailesh Parmar
468200252c
Cypress Fixed failing glossary and recently searched term test (#8840)
* Cypress Fixed failing glossary and recently searched term test

* removed only keyword
2022-11-17 19:25:31 +05:30
Shailesh Parmar
e74ec6f7e2
Cypress: Updated condition for service page (#8822)
* Cypress: Updated condition for service page

* added wait for skeleton load

* condition fixed at retry of ingetion
2022-11-17 11:03:59 +05:30
Shailesh Parmar
1bae473ce8
Cypress: Skip the flaky profiler test and added API wait time for services (#8803)
* Fixed Flaky Service test in cypress

* skipping add profiler ingestion
2022-11-16 22:15:30 +05:30
Chirag Madlani
3b4c5d4e85
fix(ui): update default status to empty instead queued (#8716) 2022-11-14 21:30:16 +05:30
Shailesh Parmar
92781d7949
Updated cypress code and fixed flaky cypress (#8666)
* Updated cypress code and fixed flaky cypress

* miner fix

* Fixed cypress issue

* fixed localstorage issue in custom property
2022-11-14 18:09:38 +05:30
Mayur Singal
1386b43607
Fix #6141: Ingestion Pipeline Status Updates (#8216)
* Fix #6141: Ingestion Pipeline Status Updates

* List Pipeline Status API & Improvements

* Rename State field to PipelineState in UI

* Convert Pipeline Status array to single object

* fix braking UI

* Rebase Fixes

* Profiler, TestStuite & DataInsigts Pipeline

* py_format

* fix logs page not loading
add pipelineStatus endpoint

* fix recent run changes

* Fix Tests

* address review comments for ui

* fix failing checks

* fix unit tests

* fix cypress test

* remove loader test as not using it

* wait for API when we click on the tab

* fix cypress waitFor api

* fix failed cypress tests

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2022-11-03 14:37:26 +05:30
Shailesh Parmar
91b395bc17
Fixed Cypress flakiness for add owner test in service spec (#8504) 2022-11-03 10:10:32 +05:30
Shailesh Parmar
e68f35ec85
Fixed: Custom property failing cypress test (#8460)
* Custom property cypress

* testing out entity topic name

* Fixed Custom property topic search issue

* removed import of deleted file
2022-11-01 09:46:01 +05:30
Ashish Gupta
6c0008276b
Fix UI :- fix the window resizing issue in Service page on hover (#8459)
* Fix the window resizing issue in Service page on hover

* fix cypress issue
2022-10-31 21:09:21 +05:30
Shailesh Parmar
63f8f9a15b
Cypress: Fixed failing cypress for role page (#8381)
* Cypress: Fixed failing cypress for role page

* fixed data quality test

* fixed memory getting full and cypress getting crush issue

* fixed explore page getting unresponsive
2022-10-29 09:05:20 +05:30
mosiac1
ad7e4a2341
UI (#6189) | Refactor Explore and ExplorePage, add Logical Query Builder (#8140)
* Add logical query builder and Explore page refactor

* Add file headers

* Change search aggreagation keys

* Move query builder utils, remove comments

* Add comments

* Rename AdvancesSearch.constants.ts

* Add review changes

* Handle deleted elements correctly in Explore

The `deleted` field needs special handling because `showDeleted === false` should return only documents where `deleted` is false, but `showDeleted === true` should return documents regardless of their `deleted` field.

* Fix facet filter issue

Issue was the following: the user set a facet filter on `aggregationKey` and `value`. Then user changes the query builder so that in the new result there is no bucket in `aggregationKey` with `value`. The facet filter would still be used, but not visible to the user and not removable.

* Fix facetFilter tests

* Move isFilterObject type guard

* Use antd tabs for Explore component

* fix cypress failure

* miner fix in cypress

* fix typo

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2022-10-26 03:47:49 -07:00
Chirag Madlani
1d3f2b6a86
fix(ui): replace tab with antD tabs (#8092)
* fix(ui): replace tab with antD tabs

* update styling for tabs

* fix unit tests
rename files

* remove unwanted css

* fix unit tests failing

* fix file names

* fix cypress failure
2022-10-19 20:56:42 +05:30
Shailesh Parmar
3faef0e0cf
UI: Add Cypress for DTB in redshift container (#8162)
* UI: Add Cypress for DTB in redshift container

* move constants to separate file
2022-10-17 17:37:34 +05:30