76 Commits

Author SHA1 Message Date
Sriharsha Chintalapani
a4d8cbb818
Revert "ISSUE-1986: Replace System.out, System.err by a logger (#8139)" (#8163)
This reverts commit 1d3234ffe8ddf5e1f4f37a68be4226bf5ce5f67b.
2022-10-17 12:43:45 +02:00
Shivam Shrey
1d3234ffe8
ISSUE-1986: Replace System.out, System.err by a logger (#8139) 2022-10-14 06:39:00 +02:00
Mohit Yadav
71fcb17e59
Added Context Info in ES reindexing (#8123)
* Added Context Info in ES reindexing

* Fix File Formatting

* Update openmetadata-spec/src/main/resources/json/schema/settings/eventPublisherJob.json

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

* revert python file

Co-authored-by: Ayush Shah <ayush@getcollate.io>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2022-10-13 18:32:06 +05:30
Mohit Yadav
cba9240fe9
[Email] Added explicit senderMail in configuration (#8126)
* [Email] Added explicit senderMail in configuration

* Fix failing tests

Co-authored-by: Ayush Shah <ayush@getcollate.io>
2022-10-13 18:24:32 +05:30
mosiac1
d8a4cbeeb9
UI (#6189) | Update SearchResource and add new searchAPI frontend implementation (#8083)
* Update SearchResource and add new searchAPI frontend implementation

SearchResource now supports `query_filter` and `post_filter` as json
encoded Elasticsearch filters; `fetch_source` and
`include_source_fileds` for reducing response sizes.

* Remove

* Use async/await for searchAPI

* Move formatting to util functions
2022-10-13 09:30:56 +05:30
Parth Panchal
cf28194e1e
Fixed#8064: Count API should support include filter (#8079)
* Fixed#8064: Count API should support include filter

* Fixed#8064: Count API should support include filter
2022-10-11 16:51:54 +05:30
Mohit Yadav
5d0fcb7483
[BasicAuth] Init default password to "admin" in case of no passwords (#8072)
* Added websocket updates on jobchannel

* Default Password to be "admin" for uninitialized PWDs
2022-10-11 12:14:59 +05:30
Suresh Srinivas
f4acc4af1f
Fixes #8068 Remove ConstructorType annotation from Collection (#8069) 2022-10-10 23:32:48 -07:00
Suresh Srinivas
de7a616788
Add log layout for tests and also printing ISO8601 timestamp (#8071) 2022-10-10 18:42:59 -07:00
Nahuel
13b76dfd88
Remove UserRepository constructor which could cause NPE (#8047) 2022-10-10 10:50:01 +02:00
Sriharsha Chintalapani
ba08cfd115
Fix #8043: add log4j dependency openmetadata-service (#8044) 2022-10-08 13:55:34 +05:30
Vivek Ratnavel Subramanian
ef51fc8dbd
Fix #7908 Backend: Glossary term deletion executes partial deletion (#8042) 2022-10-07 18:21:26 -07:00
Mohit Yadav
f2131d58a8
[Improve] Proactively instantiate resources instead of relying on Exc… (#7983)
* [Improve] Proactively instantiate resources instead of relying on Exception Handling + removed ConfigurationHolder.java

* Review Comments updated
2022-10-07 20:50:15 +05:30
Mohit Yadav
46bda6dc32
Added websocket updates on jobchannel (#8014) 2022-10-07 17:48:37 +05:30
Anubhav Jain
c6e4937259
Fix sonar issues #7857 (#7897)
* added assert statements for sonar build

* added assert statements to test cases for sonar build failure

* added asserts for sonar build failure

* build fix

* fixed indentation

Co-authored-by: Nahuel <nahuel@getcollate.io>

* java checkstyle compliance changes

* Update IngestionPipelineResourceTest.java

Co-authored-by: Nahuel <nahuel@getcollate.io>
2022-10-06 12:38:07 +02:00
Mohit Yadav
e7ec822679
[ESReindexing] Fixed slowness in ES write + added controlling params (#7974)
* [ESReindexing] Fixed slowness in ES write + added controlling params

* migrate-all failure fix during script run

* Update createEventPublisherJob.json
2022-10-06 15:58:44 +05:30
Semjon Nirmann
f9f951c44b
Fix 'Use the primitive boolean expression' - warning (#7945) 2022-10-04 13:34:00 -07:00
Suresh Srinivas
7e38b38217
Clean up unnecessary dependencies (#7943) 2022-10-04 13:29:58 -07:00
Vivek Ratnavel Subramanian
2557feef3b
Fix #7900 Backend: Fix NPE in tests (#7902) 2022-10-04 12:46:50 -07:00
Suresh Srinivas
7499277fcb
Update dependencies for release 0.13 (#7913)
* Update openmetadata-client module dependencies

* Update common module dependencies

* Update openmetadata-spec module dependencies

* Update openmetadata-ui module dependencies

* Update openmetadata-service module dependencies

* Upgrade remaining dependencies
2022-10-04 09:30:05 -07:00
Chirag Madlani
0e035c44ee
fix(ui-test): pipeline display name not set properly (#7918)
* fix(ui-test): pipeline display name not set properly

* Fixed failing snowflake cypress test

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2022-10-04 17:06:33 +05:30
Mohit Yadav
895b2a35c3
[ BasicAuth] remove auth on registration (#7915)
* Fix Version issue b/w api/v1/version and entity {id}/versions

* [UserResource]  remove auth on user registration

* Fix Smtp settings

Co-authored-by: mohitdeuex <105265192+mohitdeuex@users.noreply.github.com>
2022-10-04 13:03:31 +05:30
Sriharsha Chintalapani
ba37fda0f1
Fix #7909: Remove ElasticSearch configs from tests (#7910) 2022-10-03 21:51:57 -07:00
Anubhav Jain
df84876da0
added assert statements for sonar build (#7865)
* added assert statements for sonar build

* added assert statements to test cases for sonar build failure
2022-10-03 07:31:05 -07:00
Chirag Madlani
bdca0ad150
fix(ui): show actual count for index requests (#7871)
* fix(ui): show actual count for index requests

* fix maven ci
2022-10-03 15:28:19 +05:30
Suresh Srinivas
6b5a788d2b
Sonar.2 oct22 (#7860)
* Fix of variable names according to the naming convention (#7855)

* Changed the fields to final static

* correct the java checkstyle

* Changed the naming of packages according to the naming conventions

* Fixing warnings in the code

Co-authored-by: Shivam Purohit <91889807+shivam-Purohit@users.noreply.github.com>
2022-10-02 18:43:34 -07:00
Mayur Singal
ca51fa0245
Fix #7801: Fixed Glue Pipeline (#7832)
Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
2022-10-02 16:43:35 -07:00
Lord Helm
7d1b21113a
rename record to match type (#7864)
Co-authored-by: Patrick Helm <helm@synyx.de>
2022-10-02 15:41:25 -07:00
Mohit Yadav
69012d4991
Added Test Case (#7838) 2022-10-02 13:37:46 -07:00
Amit Banerjee
fdf216aadd
Remove unnecessary throws IOException (#7846) 2022-10-01 19:26:17 -07:00
Shivam Purohit
4e0a56786a
Fix final fields static (#7852) 2022-10-01 12:56:12 -07:00
Ozan Uslan
84a1b11b11
Add private constructor to utility classes to hide the implicit public one (#7850) 2022-10-01 12:13:54 -07:00
André Oliveira
736637a598
Merging if statements (#7851) 2022-10-01 11:51:39 -07:00
Sriharsha Chintalapani
03f1d4f2fb
Revert "Update TablesInitializer.java (#7735)" (#7853)
This reverts commit a3ef95644f8e854d911312dfb2cafaef6456f168.
2022-10-01 11:34:12 -07:00
emilyolsen246
a3ef95644f
Update TablesInitializer.java (#7735)
updated error messages to be logger messages
2022-10-01 10:13:54 -07:00
Mohit Yadav
5b3b9ec811
update Batch job status + missing place stream status update (#7842)
* [ES Reindex] Added ES Reindexing from API

* [ES Reindex] checkstyle

* [ES Reindex] return complete record for status info

* fixes

* added limit param to get no of records

* Review Comments + Stream mode

* Review Comments

* Fix for failing tests

* Global ES monitoring with Stream + batch mode to allow Reindexing

* Updated Status Message + Status update on ESIndexDefinition Create and Delete

Co-authored-by: mohitdeuex <105265192+mohitdeuex@users.noreply.github.com>
2022-10-01 17:58:19 +05:30
Nahuel
593ca3a4a0
Fix bot creation and edition logic (#7796)
* Fix bot creation and edition logic

* Fix minor error creating user

* Fix failing test

* Minor fixes

* Add missing tests for new flows

* Fix put_failIfBotHasARelationshipToAnotherUser test

* Changes after manual testing

* Move where auth_provider is retrieved in the secret manager
2022-10-01 11:25:56 +02:00
Vivek Ratnavel Subramanian
16e8778993
Fix #7812 Backend : Leave Team is throwing an error (#7835) 2022-09-30 23:01:05 -07:00
Mohit Yadav
d04ce5341d
[Basic auth fixes] Added check to prevent brute-force attack (#7803)
* [Basic Auth] Updated messages , and added changepasswor

* checkstyleFix

* Added ChangePassword feature in user page

* unpushed file

* changes as per comments

* unpushed file

* close the modal on save

* Added Admin Create User Password + Logout

* revert test

* revert yaml

* Fix failing test

* Remove token on logout

* fix for test

* added api for random pwd

* update error messages as per UI

* Added password generator in user creation

* Fix issue with CP

* Fix issue with CP

* [Basic Auth] Added Brute forcing check , blocks user login for 10 mins + send update on mail

* Review Comments updated

Co-authored-by: mohitdeuex <105265192+mohitdeuex@users.noreply.github.com>
Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2022-10-01 02:03:43 +05:30
Suresh Srinivas
b2c2369d9a
Addressing a few sonar cloud flagged issues (#7800) 2022-09-29 10:57:57 -07:00
mohitdeuex
b934ed4870
Stream and Batch Global ES Error Logging added (#7780)
* [ES Reindex] Added ES Reindexing from API

* [ES Reindex] checkstyle

* [ES Reindex] return complete record for status info

* fixes

* added limit param to get no of records

* Review Comments + Stream mode

* Review Comments

* Fix for failing tests

* Global ES monitoring with Stream + batch mode to allow Reindexing
2022-09-28 22:55:00 +05:30
mohitdeuex
07b995dbb2
Basic auth fixes (#7777)
* [Basic Auth] Updated messages , and added changepasswor

* checkstyleFix

* Added ChangePassword feature in user page

* unpushed file

* changes as per comments

* unpushed file

* close the modal on save

* Added Admin Create User Password + Logout

* revert test

* revert yaml

* Fix failing test

* Remove token on logout

* fix for test

* added api for random pwd

* update error messages as per UI

* Added password generator in user creation

* Fix issue with CP

* Fix issue with CP

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2022-09-28 19:29:47 +05:30
mohitdeuex
859317494b
Basic auth fixes (#7747)
* [Basic Auth] Updated messages , and added changepasswor

* checkstyleFix

* Added ChangePassword feature in user page

* unpushed file

* changes as per comments

* unpushed file

* close the modal on save

* Added Admin Create User Password + Logout

* revert test

* revert yaml

* Fix failing test

* Remove token on logout

* fix for test

* added api for random pwd

* update error messages as per UI

* Added password generator in user creation

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2022-09-28 16:57:30 +05:30
Vivek Ratnavel Subramanian
b075ed018d
Fix #7669 Backend: Patch API for teams with soft deleted child teams throws an error. Part 2 (#7764) 2022-09-27 15:38:46 -07:00
mohitdeuex
8d33da7f3d
[ES Reindex] Added ES Reindexing from API (#7717)
* [ES Reindex] Added ES Reindexing from API

* [ES Reindex] checkstyle

* [ES Reindex] return complete record for status info

* fixes

* added limit param to get no of records

* Review Comments + Stream mode

* Review Comments

* Fix for failing tests
2022-09-27 21:34:07 +05:30
Vivek Ratnavel Subramanian
92aea1c179
Fix #7669 Backend: Patch API for teams with soft deleted child teams throws an error. (#7742) 2022-09-27 16:44:03 +05:30
mohitdeuex
8501322a5a
Fix Version issue b/w api/v1/version and entity {id}/versions (#7746) 2022-09-27 15:11:13 +05:30
Onkar Ravgan
8afbbb8642
Ingest DBT tags (#7726)
* added tags

* Added dbt tags ingestion

Co-authored-by: Onkar Ravgan <onkarravgan@Onkars-MacBook-Pro.local>
2022-09-27 11:12:53 +05:30
Vivek Ratnavel Subramanian
e2daf73fbd
UI: TeamsSelectable component should use REST API to build teams hierarchy (#7711) 2022-09-26 16:33:48 -07:00
Nahuel
df909703eb
Fix#6615: Fix failing test still in CI (#7725)
* Fix failing test still some tests are failing

* Fix bug in service entity repository

* Fix all tests except Ingestion Pipeline integration tests

* Fix Ingestion Pipeline integration tests

* Fix failing Python tests
2022-09-26 20:39:42 +02:00