73 Commits

Author SHA1 Message Date
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
dependabot[bot]
6d739e989e
Bump jetty-io from 9.4.39.v20210325 to 9.4.40.v20210413 (#7906)
Bumps [jetty-io](https://github.com/eclipse/jetty.project) from 9.4.39.v20210325 to 9.4.40.v20210413.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.39.v20210325...jetty-9.4.40.v20210413)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-io
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 21:13:25 -07:00
Sriharsha Chintalapani
6563940b6f
Fix #7172: List teams API throwing 404 for soft deleted team even with include=all (#7618) 2022-09-21 13:34:31 -07:00
mohitdeuex
4b594d0d6e
[BasicAuth] Added Basic Authentication (#7390)
* Fixed issue with testCases not posted in slack

* Return empty string in case of faling to build url

* [BasicAuth] Added Basic Authentication APIs

* [BasicAuth] Checkstyle

* [BasicAuth] Test yaml updated

* [BasicAuth] Update review comments

* [BasicAuth] Refresh logic added

* [BasicAuth] Add sql updates

* [BasicAuth] Maintain dependency version in main pom.xml

* [BasicAuth] Updated as per new module

* [BasicAuth] Fixes for refresh and missing edge scenario handled

* [BasicAuth] remove quotes

* [BasicAuth] Fix merge conflicts
2022-09-19 11:38:45 +05:30
Sriharsha Chintalapani
656b50dd3a
Fix #7469: Refactor OpenMetadata code modules (#7474) 2022-09-14 23:14:02 -07:00
Akash Jain
f2fc45ea41
feat: prepare-for-next-release-0-13-0 (#7348) 2022-09-09 01:25:41 +05:30
Suresh Srinivas
7302c1658d
Upgrade dependencies for 0.12 release (#6815) 2022-08-18 16:13:04 -07:00
mohitdeuex
6005cdf435
[Backend][JavaClientFix] Java Client Fix (#6726)
* [Backend][JavaClientFix] Updated package for generated code , use lombok annotation for logging, fixed code as per standards

* [Backend][JavaClientFix] Added core and client

* [Backend][JavaClientFix] Checkstyle fix
2022-08-15 11:05:49 +05:30
Nahuel
80ca224c39
Fix: Avoid store sensitive info in events repository using custom annotation (#6666)
* Avoid store sensitive infomation in created event when a Secrets Manager is configured

* Refactor code to start using custom annotations in the json schma deffinition

* Remove unused config object

* Add removed comment

* Add separated entity comparision for events in EntityResourceTest

* Add missing mask property in service connection schemas

* Update openmetadata-core pom.xml

* Missing import in openmetadata-core pom.xml
2022-08-12 15:56:37 -07:00
Parth Panchal
99453279c0
Sonar cloud findings fix (#6709)
* Sonar cloud findings fix

* Sonar cloud findings fix

* Sonar cloud findings fix

* Sonar cloud findings fix
2022-08-12 22:15:57 +05:30
Nahuel
a90787c54a
Fix Snyk vulnerability found in org.postgresql:postgresql@42.3.6 (#6612) 2022-08-05 10:33:00 -07:00
Suresh Srinivas
951251a444
Fixes #6518 - Support conditional policies and policies overhaul (#6519) 2022-08-03 12:08:19 -07:00
Nahuel
b85083416c
Update AWS redshift Maven repository url (#6485) 2022-08-01 16:41:02 +02:00
Suresh Srinivas
109b937fd4
Use JSON schema constraints to validate policies and other misc cleanup (#6451) 2022-07-30 15:23:18 -07:00
Nahuel
2203296b33
Fix detected high severity vulnerabilities by snyk in org.open-metadata:catalog (#6434) 2022-07-29 14:29:58 +02:00
Nahuel
839d25217e
Fix: detected high severity vulnerabilities by Snyk (#6430)
* Fix detected high severity vulnrabilities by snyk

* Revert changes on ingestion/src/metadata/ingestion/source/database/mysql.py
2022-07-29 12:14:23 +02:00
Pere Miquel Brull
ea918495ff
Fix #6382 - Snyk workflows (#6413)
Fix #6382 - Snyk workflows (#6413)
2022-07-28 23:06:33 +02:00
Sriharsha Chintalapani
ac4ad77e78
Issue-6289: Security upgrade org.flywaydb:flyway-maven-plugin from 8.1.0 to 8.5.11 (#6290) 2022-07-22 14:01:27 -07:00
Vj-L
011651f078
"Updated the tags with latest tag" (#5962)
Co-authored-by: “Vijay” <“vijay.l@deuexsolutions.com”>
2022-07-08 16:43:39 +05:30
Parth Panchal
686e715341
added config to publish to maven repository in catalog pom.xml (#5870)
* added config to publish to maven repository in catalog pom.xml

* addressing java checkstyle

* empty-commit

* signing commit

* signing commit test

* signing commit test with different key

* moving plugins
2022-07-06 13:06:49 +05:30
mohitdeuex
7f25b82408
[Backend][TaskNotification] Update the Group Id for to org.open-metadata (#5663) 2022-06-28 11:10:07 +05:30
darth-coder00
00b02ed2f8
Revert "fix: pom.xml to reduce vulnerabilities (#4640)" (#5398)
This reverts commit 7cec3c1cc07140080b58dc2a3ff13f0574a1dea1.
2022-06-09 08:56:54 -07:00
Sriharsha Chintalapani
7cec3c1cc0
fix: pom.xml to reduce vulnerabilities (#4640)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-2421244

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Suresh Srinivas <srini30005@gmail.com>
2022-06-08 16:18:07 -07:00
Suresh Srinivas
b44da7733e
Upgrade dependencies for release 0.11 (#5326) 2022-06-06 18:34:44 -07:00
Sriharsha Chintalapani
cf3d4314dd
Fix #1607 Operational metrics for OpenMetadata system observability (#4386)
Co-authored-by: Akash-Jain <Akash.J@deuexsolutions.com>
2022-05-27 15:39:13 +05:30
Nahuel
628296d294
Fix #2725: Add IngestionPipeline Task logs (#5152) 2022-05-26 10:08:56 -07:00
Suresh Srinivas
c939360d1b
Upgrade dependencies (#5079) 2022-05-20 15:05:10 -07:00
Suresh Srinivas
9138b85913
Fixes #4720 Upgrade dependency version of OpenMetadata for 0.10.1 (#4721) 2022-05-05 14:11:45 -07:00
mosiac1
c6e8181fa9
Add postgres support (#3952)
* Add postgres support

* Add testing for postgresql databases

Split surefire tests into: unit-tests, postgres-integration-tests, mysql-integration-tests
Integration tests get db information from system properties
All tests ending in ResourceTests.java are integration tests, all other are unit tests
Move to using testscointainers, remove embeded mysql

* Fix some tests

* Fix webhook and table tests

* Fix random name generation in tests, remove parallelism

* Fix style

* Add headers, fix config files

* Apply formatting

* Fix tag ussage query for postgres

* Replace references to mysql with generic database

* Fix postgres migration file

* Fix postgres migration script
2022-04-27 10:58:44 -07:00
Akash Jain
55e1be9ca4
feat: Prepare 0.11.0-snapshot version changes (#4505)
* updated version to 0.11.0-SNAPSHOT

* updated version to 0.11.0.dev* for ingestion

* docker version updates for metadata docker cli

* OM Server Env Variables from #4197 #4261 #4473
2022-04-27 00:41:17 +05:30
Vivek Ratnavel Subramanian
d6914c4922
Fix #4090: Backend: Capture Activity Feed for Hard Delete Operation (#4343)
* Fix #4090: Backend: Capture Activity Feed for Hard Delete Operation

* Address review comments and fix a bunch of issues

* Fix UT failures

* Fix UT failures
2022-04-22 15:14:16 -07:00
Akash Jain
540f5ca3b5
Fix: Prepare 0.10.0 snapshot (#4190)
* update pom versions to 0.10.0-SNAPSHOT

* fix version to latest release 0.9.1

* fix ingestion core version to 0.10.0
2022-04-19 17:40:42 +05:30
Suresh Srinivas
9f2ca9944f
Update the dependencies for 0.10 release (#4176) 2022-04-18 11:41:23 -07:00
Alberto Miorin
60c452cb7e
Add JavaScript to antlr and clean up the Java code (#4099)
* Add JavaScript to antlr and clean up the Java code
2022-04-14 10:18:54 +02:00
Alberto Miorin
4a66d1c6f5
Use antlr4 for FQN instead of regex. (#4066) 2022-04-12 11:40:00 -07:00
Sriharsha Chintalapani
09a64065ac
Revert: [Snyk] Security upgrade org.flywaydb:flyway-maven-plugin from 8.1.0 to 8.5.5 (#4008) 2022-04-11 07:46:11 +02:00
snyk-bot
57c0a78be9
fix: pom.xml to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMAVENSHARED-570592
2022-03-30 06:40:17 +00:00
Snyk bot
3c2ded2974
fix: catalog-rest-service/pom.xml & pom.xml to reduce vulnerabilities (#3544) 2022-03-21 10:13:49 -07:00
Akash Jain
211a8a55e8
feat: Prepare 0.9.1-SNAPSHOT (#3297)
* prepare snapshot version for 0.9.1

* prepare dev version for ingestion 0.9.1

* prepare dev version for ingestion-core 0.9.1

* prepare Docker CI workflows for 0.9.1
2022-03-09 12:08:42 +05:30
Suresh Srinivas
79589e31ad
Fixes #3125 Upgrade dependencies to address security vulnerabilities (#3132) 2022-03-03 20:06:04 -08:00
Sriharsha Chintalapani
42de51086b
Fix #3023: Keep ElasticSearch version to 7.13 (#3024) 2022-02-28 19:45:37 -08:00
Suresh Srinivas
aa64b8c990
Fixes #2841 - Upgrade maven dependencies for release 0.9 (#2842) 2022-02-17 23:37:50 -08:00
Alberto Miorin
0e73de4658
See #2486. Implement encryption at rest (#2488)
* See #2486. Add fernet Java library to encrypt DatabaseService.DatabaseConnection.password

* Add support for rotation.

* Add support for CLI to rotate the key.

* The fernet key can be null. No encryption will be done.

* Add FernetConfiguration

* Add env variable for Fernet.

* Convert base64 to base64url

* Decrypt (admin or bot) or nullify tokens for all methods including ListVersions and GetVersion

* Fix test with owner USER to handle null in DatabaseConnection
2022-02-08 09:50:39 +01:00
Sriharsha Chintalapani
546c92d9a6
Fix #2530: CVE-2021-22569 com.google.protobuf:protobuf-java, Fix #2529: CVE-2017-18640 snakeyaml: Billion laughs attack via alias feature (#2642) 2022-02-06 14:42:14 -08:00
Akash Jain
20309cde64
fix:cherry pick from 0.8.0 and miscellaneous fixes (#2445)
* updating ingestion-core version to 0.8.0

* updating ingestion version to 0.8.0

* fixing file copy path

* update docker images to point to 0.8.0

* set up new release version

* reset ingestion version to 0.9.0.dev0

* reset ingestion-core version to 0.9.0
2022-01-26 14:00:27 +05:30
Matt
ed797dc335
Remove unused Guice (#2120) 2022-01-09 21:03:50 -08:00
Suresh Srinivas
36d518fa2d
Fixes #2010 - Upgrade dependencies for version 0.8 (#2026) 2022-01-04 09:21:48 -08:00
Pere Miquel Brull
256c25934b
[issue - 1894] - Run sonar during install (#1918)
* Run sonar during install

* Add exclusions

* Remove exclusions

* Remove activation

* Update CI for PR and Push

* Activate profile

* debug environment

* debug environment

* debug environment

* Add SCA to active profiles

* Remove profile from CI

* Activate SCA by default

* Use mvn install

* Update PR source branch
2021-12-30 08:31:25 -08:00
Matt
b8d7e2bd11
Implement PolicyEvaluator for #1940 (#1939)
- Add security.policyevaluator module with PolicyEvaluator based on jeasy-rules
- Add MetadataOperation type
- Change accessControl/rule schema to support ABAC based on 3 attributes - entityTag, entityType, userRole
- Update CatalogAuthorizer interface to have hasPermissions function for MetadataOperation
2021-12-29 11:36:18 -08:00
Sriharsha Chintalapani
bb847bc004
Revert "Use defaults of google java format action (#1845)" (#1912)
This reverts commit 782209ead58f4cd82882872e9f8f40779d8b6e54.
2021-12-23 19:22:47 -08:00