10673 Commits

Author SHA1 Message Date
Pere Miquel Brull
1291bf6ec0
[Issue-892] - GET operations return service (#916)
* Force image build in local docker

* Use service as default field query param for entities with required service

* Return service in List

* Naming convention

* Update Repository setFields to include service

* Revert resource changes

* Revert resource changes

* Update tests to check we always return the service, even if not specified

* Return service for database
2021-10-24 10:26:28 -07:00
sureshms
01129ef037 Fixes #915 - Fix version number to single digit precision 2021-10-24 09:30:40 -07:00
Suresh Srinivas
3fe8ae99a9
Merge pull request #919 from open-metadata/issue918 2021-10-24 09:02:04 -07:00
sureshms
b584382c65 Additional default methods to prevent repository classes having to override the methods 2021-10-24 08:33:15 -07:00
sureshms
363262a699 Provide default methods to prevent repository classes having to override the methods 2021-10-24 08:33:15 -07:00
sureshms
a30fc96fa9 Moved PUT and PATCH operations to a common class EntityRepository 2021-10-24 08:33:15 -07:00
sureshms
e732a8a319 Entity create moved to EntityRepository base class 2021-10-24 08:33:15 -07:00
sureshms
27a1eaa5b7 Clean up EntityUtil methods 2021-10-24 08:33:15 -07:00
vijaypm
9edd824c3a
Issue 910 (#914)
* Issue 898 (#905)

* ISSUE-898: additional information in the prerequisities for building and running code

* ISSUE-898: removed unreachable old doc

* ISSUE-898: added new docker compose to expose MySQL and ES ports to host machines

* ISSUE-898: changed jdbc connect url to allow Public Key Retrieval

* ISSUE-898: fixed log name to openmetadata.log

Co-authored-by: Vijay Mariadassou <vijay@mariadassou.com>

* Fixes #906 Remove unused methods lingering from #899

* Update pull_request_template.md

* Update pull_request_template.md

* ISSUE-861: add elasticsearch username & password (#894)

* ISSUE-861: add elasticsearch username & password

* ISSUE-861:  python elasticsearch sink add username & password

* ISSUE-861: bugfix

* format code

* format code

* updated instructions to run integration tests

* fixed api call to metadata server; changed test to cover both database as well as table operations everytime

Co-authored-by: Vijay Mariadassou <vijay@mariadassou.com>
Co-authored-by: sureshms <suresh@getcollate.io>
Co-authored-by: Suresh Srinivas <srini30005@gmail.com>
Co-authored-by: rong fengliang <1141591465@qq.com>
2021-10-23 19:58:26 -07:00
rong fengliang
e328a56bdd
Add support for ElasticSearch username and password for ElasticSearchEventHandler (#912)
* Update ElasticSearchEventHandler.java

pr for https://github.com/open-metadata/OpenMetadata/issues/911

* ISSUE-911: bugfix for package import
2021-10-23 18:22:21 -07:00
rong fengliang
8e06fa25b6
ISSUE-861: add elasticsearch username & password (#894)
* ISSUE-861: add elasticsearch username & password

* ISSUE-861:  python elasticsearch sink add username & password

* ISSUE-861: bugfix

* format code

* format code
2021-10-23 10:03:24 -07:00
Suresh Srinivas
e2782168e0
Merge pull request #907 from open-metadata/issue906
Fixes #906 Remove unused methods lingering from #899
2021-10-23 09:45:02 -07:00
Suresh Srinivas
61bab7f5bb
Update pull_request_template.md 2021-10-23 08:55:45 -07:00
Suresh Srinivas
d00327dfba
Update pull_request_template.md 2021-10-23 08:54:33 -07:00
sureshms
76f8664522 Fixes #906 Remove unused methods lingering from #899 2021-10-23 08:49:58 -07:00
vijaypm
b8863648d6
Issue 898 (#905)
* ISSUE-898: additional information in the prerequisities for building and running code

* ISSUE-898: removed unreachable old doc

* ISSUE-898: added new docker compose to expose MySQL and ES ports to host machines

* ISSUE-898: changed jdbc connect url to allow Public Key Retrieval

* ISSUE-898: fixed log name to openmetadata.log

Co-authored-by: Vijay Mariadassou <vijay@mariadassou.com>
2021-10-22 19:35:12 -07:00
Suresh Srinivas
805b4fe7fe
Merge pull request #900 from open-metadata/issue899 2021-10-22 14:40:42 -07:00
sureshms
4648690cdf Change table name from dbService_Entity to dbservice_entity as in bootstrap sql 2021-10-22 14:26:08 -07:00
sureshms
bf3f9dab6e Reuse CollectionDAO to connect to database 2021-10-22 14:12:56 -07:00
sureshms
5cbe36b244 Fixing checkstyle errors 2021-10-22 13:30:42 -07:00
sureshms
3b2386d3ab Fixing errors due to rebase 2021-10-22 13:30:42 -07:00
sureshms
3e599cc696 Change variable names from repo3 to repo 2021-10-22 13:30:42 -07:00
sureshms
4bbc9e7ce5 Change RepositoryHelper class name to Repository 2021-10-22 13:30:42 -07:00
sureshms
934824d2cd Rename DAO3 classes to DAO and move them to CollectionDAO 2021-10-22 13:30:42 -07:00
sureshms
30f3f64f16 Remove *Repository3 classes 2021-10-22 13:30:41 -07:00
sureshms
642ca13411 Initialize REST collections based on @Collection annotation 2021-10-22 13:30:41 -07:00
sureshms
ad8210e286 Remove getById, getByName, list operations implementation and use from EntityRepository 2021-10-22 13:30:41 -07:00
sureshms
dcf8aaa4eb Move listBefore to EntityRepository and remove other implementations 2021-10-22 13:30:41 -07:00
sureshms
d686738863 Move listAfter to EntityRepository and remove other implementations 2021-10-22 13:30:41 -07:00
sureshms
a10861e444 Fix test failures 2021-10-22 13:30:41 -07:00
sureshms
1b6e5fe780 Part3 - Move common operations to EntityRepository class 2021-10-22 13:30:40 -07:00
sureshms
282e894dfe Part2 - Move common operations to EntityRepository class 2021-10-22 13:30:40 -07:00
sureshms
906fc5ee67 Part1 - Move common operations to EntityRepository class 2021-10-22 13:30:40 -07:00
sureshms
1f8b7a99c6 Remove jdbi2 dependency 2021-10-22 13:30:40 -07:00
sureshms
869bb2599b Remove jdbi2 DAO objects 2021-10-22 13:30:40 -07:00
sureshms
339e247059 Feed resource migrated to jdbi3 2021-10-22 13:30:40 -07:00
sureshms
a98e8c6afb Usage resource migrated to jdbi3 2021-10-22 13:30:40 -07:00
sureshms
b84220a6a8 Lineage resource migrated to jdbi3 2021-10-22 13:30:39 -07:00
sureshms
a919367a2b User entity migrated to jdbi3 2021-10-22 13:30:39 -07:00
sureshms
ca187378c3 Multiple entities migrated to jdbi3 2021-10-22 13:30:39 -07:00
sureshms
305d2b866a DashboardService entity migrated to jdbi3 2021-10-22 13:30:39 -07:00
sureshms
3049307050 Dashboard and bots entity migrated to jdbi3 2021-10-22 13:30:39 -07:00
sureshms
aaa30c92f7 Cleaned up all DAO3 classes and moved common implementation to EntityDAO3 2021-10-22 13:30:39 -07:00
sureshms
c600fc3f66 Chart entity migrated to jdbi3 2021-10-22 13:30:39 -07:00
sureshms
afd477ed82 Moved all the Chart DAO classes to upper level and created DAO3 version 2021-10-22 13:30:38 -07:00
sureshms
0d19bc7e68 Moved all the DAO classes to upper level and created DAO3 version 2021-10-22 13:30:38 -07:00
sureshms
2990436c3b Topic entity migrated to jdbi3 2021-10-22 13:30:38 -07:00
sureshms
cfbcc9a9af Database entity migrated to jdbi3 2021-10-22 13:30:38 -07:00
sureshms
1952501a6f Added EntityDAO as the base interface for all entities 2021-10-22 13:30:38 -07:00
sureshms
aec36fe664 Table entity migrated to jdbi3 2021-10-22 13:30:38 -07:00