summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler/feeder
AgeCommit message (Collapse)AuthorFilesLines
2019-09-10Defined a constant for this literal "Db not found"Rama-Huawei1-4/+5
Removed the declaration of thrown exception, as it can't be thrown from method's body Issue-ID: DCAEGEN2-1468 Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com> Change-Id: I341b5ea67dd643503fee9077a7073aeb8adbc15a
2019-09-09Static field is updated from a non-static method.Rama-Huawei1-272/+266
Converted while loops into for loop Removed the static fields and make them as a local variables Issue-ID: DCAEGEN2-1468 Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com> Change-Id: Ib6c60ff5975cc7b645174497a8fcfac313cd825b
2019-08-18Merge "Removed unused imports"Tony Hansen4-21/+9
2019-08-18Merge "Bug fix"Tony Hansen1-1/+1
2019-08-14Merge "Return an empty collection instead of null"Yan Yang6-29/+7
2019-08-14Merge "System.out is replace by a logger"Yan Yang2-21/+12
2019-08-08Get all databases id and name by designTypeIdZhangZihao1-10/+16
Change-Id: I9127ad0f5aa3b77e7e3847f9fe8240ab4c1482f7 Issue-ID: DCAEGEN2-1658 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-08-07Removed unused importsRama-Huawei4-21/+9
Also some places were using import with * option Issue-ID: DCAEGEN2-1468 Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com> Change-Id: I0f57bbb429816d9aa6219a4a1e4fc4c384bec873
2019-08-07Return an empty collection instead of nullRama-Huawei6-29/+7
Issue-ID: DCAEGEN2-1468 Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com> Change-Id: I294014cd009ae02983e575c94e830b2ff30e7b07
2019-08-07System.out is replace by a loggerRama-Huawei2-21/+12
Issue-ID: DCAEGEN2-1468 Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com> Change-Id: Iefdbfd3480f831ce734e748ac0680ed53c60f0fb
2019-08-05Unit testRama-Huawei1-0/+6
Improved 100% code coverage for ApplicationConfiguration file Issue-ID: DCAEGEN2-1468 Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com> Change-Id: Ib2d807273b6a25139b4844d868c7082fb4ac9623
2019-08-05Used isEmpty to check collection is empty or notRama-Huawei3-6/+6
Issue-ID: DCAEGEN2-1468 Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com> Change-Id: Ice0fe7a0119442f7cf7f6171ea1e2a2c8a0c8cab
2019-08-01design modify 2ZhangZihao5-43/+105
Change-Id: I7c75460b30184bf2803f8a936a4252867300e898 Issue-ID: DCAEGEN2-1658 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-07-30deploy improve 1ZhangZihao5-138/+133
Change-Id: I9ba21e0e0f8e6ab75d63e65457bc382aa02cff91 Issue-ID: DCAEGEN2-1658 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-07-24kakfa test improveZhangZihao1-0/+14
Change-Id: I76f8094c32b82812069ff00b9ec1c9618962771a Issue-ID: DCAEGEN2-1631 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-07-22kafka testZhangZihao3-2/+147
Change-Id: I1ff274c218a19fd7cedfeda7c07bfa0245687070 Issue-ID: DCAEGEN2-1631 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-07-19Merge "db of design"Yan Yang1-0/+14
2019-07-18Add maven-deploy-pluginGuobiao Mo1-29/+0
For JJB alignment across DCAE components - DCAE services Issue-ID: DCAEGEN2-1578 Change-Id: I3e3b4b70054a1799c88d65ae470309c32cb467e6 Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-07-18db of designZhangZihao1-0/+14
Change-Id: I0119780b7903bd84874c5ff9eca1aadb981e01b3 Issue-ID: DCAEGEN2-1658 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-07-17Merge "design modify 2"Yan Yang18-653/+43
2019-07-17design modify 2ZhangZihao18-653/+43
Change-Id: I839bee562f03e12de9a3a4bfcd25f4db5fee6f7e Issue-ID: DCAEGEN2-1658 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-07-16JJB alignment across DCAE components - DCAE servicesGerard Hickey2-5/+6
Issue-ID: DCAEGEN2-1578 Signed-off-by: Gerard Hickey <gerard.hickey@ericsson.com> Change-Id: If6a25d2ea01e5cac84dba95504ffa09cf4796f7a
2019-07-11design modify 1ZhangZihao17-642/+610
Change-Id: I32ef0ff484b786b9c5b73df8fd1b8cc97c5dc227 Issue-ID: DCAEGEN2-1658 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-07-11Merge "supports multiple Kafka clusters and DBs"Yan Yang21-74/+76
2019-07-10supports multiple Kafka clusters and DBsGuobiao Mo21-74/+76
Change kafka table id to int Issue-ID: DCAEGEN2-1631 Change-Id: Ib5109b75a387f76709dc38161bf2d7ef084950ef Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-07-10coverage unit testzm3304-0/+245
Change-Id: Ib1b5a43fe1974b1276a7367b32bd63ee506c2232 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Issue-ID: DCAEGEN2-1468
2019-07-07Unit testGuobiao Mo3-3/+55
Issue-ID: DCAEGEN2-1468 Change-Id: Ib86b58ce77d4e03e695140729d8abb280594842c Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-07-07Unit testGuobiao Mo30-648/+898
Issue-ID: DCAEGEN2-1468 Change-Id: Ib0a1bbfa02390a9093e0a8ac4da1ae3fe2c1cd11 Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-07-04Merge "kafka"Yan Yang7-0/+354
2019-07-04kafkaZhangZihao7-0/+354
Change-Id: I3084858f2ddc06c42e062f65d65b4d3dec620fd7 Issue-ID: DCAEGEN2-1631 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-07-03unit test coverage DbTypeTest and DbServiceTest and PortalDesignServiceTestzm3303-4/+137
Change-Id: I4981a90d0e3fa569c2259e54501df62c95cd8cf5 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Issue-ID: DCAEGEN2-1468
2019-07-02converage topicServiceTestzm3301-17/+95
Change-Id: I61851fde9a91c1bd87c69ead31b9904f0695b1be Signed-off-by: zm330 <zhangminyj@chinamobile.com> Issue-ID: DCAEGEN2-1468
2019-06-28supports multiple Kafka clusters and DBsGuobiao Mo14-110/+101
Read data from Kafka and store into DBs Issue-ID: DCAEGEN2-1631 Change-Id: Ib8fccfd84cfdcd2e284ba4f2503b0fbfe41eb5ae Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-06-27supports multiple Kafka clusters and DBsGuobiao Mo52-602/+925
Read data from Kafka and store into DBs Issue-ID: DCAEGEN2-1631 Change-Id: Ic2736b6e0497ac2084b1a7ce0da3a6e0e1379f43 Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-06-25supports multiple Kafka clusters and DBsGuobiao Mo40-192/+876
Domain classes Issue-ID: DCAEGEN2-1631 Change-Id: I54a715b2d3d8e13f347e46b0faf9d120d9a60548 Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-06-25topic portal portaldesignZhangZihao5-21/+7
Change-Id: I47fd9bdbdedb70ae719790cf24f75a6029faa6c4 Issue-ID: DCAEGEN2-1623 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-06-24Merge "portaldesign and httpclientutil"Yan Yang4-57/+144
2019-06-24portaldesign and httpclientutilZhangZihao6-59/+150
Change-Id: Ib31248a8eee2fe1511472c127abb52a0875c5b21 Issue-ID: DCAEGEN2-1625 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-06-24Merge "db modify 2"Yan Yang2-92/+0
2019-06-24Merge "db modify"Yan Yang4-54/+139
2019-06-24db modify 2ZhangZihao2-92/+0
Change-Id: I32cc643bf9c86d78edc0bc6bf8a7e94fb1721735 Issue-ID: DCAEGEN2-1622 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-06-24portalDesign improveZhangZihao2-2/+6
Change-Id: I1fefccc3bc4fcc72a85a84b46b5cbcb205cf122c Issue-ID: DCAEGEN2-1625 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-06-24designTypeZhangZihao5-19/+74
Change-Id: I8bcbac4a6e1a1f2779a3243615c742719d29f8e5 Issue-ID: DCAEGEN2-1625 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-06-24db modifyZhangZihao4-54/+139
Change-Id: I848b9ac6d45dc60e93be27306cfbed97c73da51d Issue-ID: DCAEGEN2-1622 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-06-21Check Db enabled flagGuobiao Mo5-9/+31
If DB is disabled, don't send data Issue-ID: DCAEGEN2-1622 Change-Id: I24482259125853d28a9abed2b6e987c169411411 Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-06-21No data is lost when program is killedGuobiao Mo14-36/+117
When the program is killed by unix 'kill' or crtl+c, program should exits gracefully after all data is saved to DBs. Issue-ID: DCAEGEN2-1633 Change-Id: Ic134440be507faa44d04434eeaea1035ce7d63f0 Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-06-19Connect to secured KafkaGuobiao Mo4-10/+21
Issue-ID: DCAEGEN2-1632 Change-Id: I85767916fbf3b8f874ac367b7161b50a272d8595 Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-06-18Add a column to table design_typeGuobiao Mo2-5/+9
Issue-ID: DCAEGEN2-1625 Change-Id: I9f5421f083957219336fec0478571014d26c819f Signed-off-by: Guobiao Mo <guobiaomo@chinamobile.com>
2019-06-14Unit test 3ZhangZihao3-0/+376
Change-Id: I63afd2b6c70fb2ce0a182fcb988a579f42c9b23d Issue-ID: DCAEGEN2-1468 Signed-off-by: ZhangZihao <zhangzihao@chinamobile.com>
2019-06-11Merge "Unit test for JsonUtil"Yan Yang1-0/+62