aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-06Merge "Sonar Major fix"Tony Hansen1-1/+1
2018-02-06Merge "Sonar Major fix"Tony Hansen1-1/+1
2018-02-06Merge "sonar Major issues"Tony Hansen1-1/+1
2018-02-06Merge "sonar Major issues"Tony Hansen1-1/+1
2018-02-06Merge "sonar Major issues"Tony Hansen1-1/+1
2018-02-06Merge "Sonar:Major"Tony Hansen1-1/+1
2018-02-06Merge "Sonar:Major"Tony Hansen1-0/+1
2018-02-06Sonar:MajorTECHMAHINDRA\BS004935321-1/+1
Replace type specification with diamond operator DcaeServicesApiServiceImpl.java:L232 Sonar link : https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=BharathS24 Location : src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Change-Id: I412690de378ff2ba550b2906d7a6861254ab83c7 Issue-ID: DCAEGEN2-313 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
2018-02-06Sonar Major fixPooja031-1/+1
Remove useless assignment to local variable columnName Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#severities=CRITICAL%2CMAJOR|resolved=false|assignees=Pooja03 Location:DcaeServicesGroupbyApiServiceImpl.java:L42 Change-Id: I9429dc91c7fdb08112f7b0baa89e7127c2261b75 Issue-ID: DCAEGEN2-310 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-02-06Sonar:MajorTECHMAHINDRA\BS004935321-0/+1
Add the @Override annotation above this method signature DCAEServiceTypesDAO.java:L54 Sonar link : https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=BharathS24 Location : src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTypesDAO.java Change-Id: I0e306a23ebe31200c2e9a438e5f4f1da55eb53c9 Issue-ID: DCAEGEN2-312 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
2018-02-06Sonar:MajorTECHMAHINDRA\BS004935321-1/+1
Replace type specification with diamond operator DcaeServiceTypesApiServiceImpl.java:L153 Sonar link : https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=BharathS24 Location : src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Change-Id: Ifa03875c154958004b41ed780f533f28093fa74e Issue-ID: DCAEGEN2-311 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
2018-02-06sonar Major issuesSnigdha Sucharita Patra1-1/+1
Replace these toUpperCase()/toLowerCase() and equals() calls with a single equalsIgnoreCase() call Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=Snigdha503415 Location: src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Line No-108 Change-Id: I7a21f8c847cdbdfe17aa54919859ef60e265caf9 Issue-ID: DCAEGEN2-307 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-06Sonar Major fixPooja031-1/+1
Replace these toUpperCase() and equals() calls with a single equalsIgnoreCase() call in DcaeServiceTypesApiServiceImpl.java Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|assignees=Pooja03 Location:DcaeServiceTypesApiServiceImpl.java:L123 Change-Id: I52479234b39cee0cdee01655c3cf3977a42103f4 Issue-ID: DCAEGEN2-308 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-02-06Sonar Major fixPooja031-1/+1
Replace these toUpperCase() and equals() calls with a single equalsIgnoreCase() call in DcaeServiceTypesApiServiceImpl.java Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|assignees=Pooja03 Location:DcaeServiceTypesApiServiceImpl.java:L115 Change-Id: Ib4fc25a0882c28c7ff96637d84e52a0c274150f1 Issue-ID: DCAEGEN2-302 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-02-06sonar Major issuesSnigdha Sucharita Patra1-1/+1
Replace these toUpperCase()/toLowerCase() and equals() calls with a single equalsIgnoreCase() call Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=Snigdha503415 Location: src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Line No-93 Change-Id: I5d7ec72053255053ebf2c0a434cb8461a703f299 Issue-ID: DCAEGEN2-306 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-06sonar Major issuesSnigdha Sucharita Patra1-1/+1
Replace these toUpperCase()/toLowerCase() and equals() calls with a single equalsIgnoreCase() call Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=Snigdha503415 Location: src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java Line No-166 Change-Id: Ic08685f0f5a1feead8ea434263cd98ef7f5a5a6e Issue-ID: DCAEGEN2-305 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-05Merge "Add @Override annotation above method signature"Tony Hansen1-0/+1
2018-02-05Merge "Remove this redundant static qualifier"Tony Hansen1-1/+1
2018-02-05Merge "Sonar Major"Tony Hansen1-1/+1
2018-02-05Merge "sonar Major issues"Tony Hansen1-1/+1
2018-02-05Merge "sonar Major Using @Override annotation"Tony Hansen1-0/+1
2018-02-05Merge "sonar Major Using @Override annotation"Tony Hansen1-0/+1
2018-02-05Merge "Sonar Major fix"Tony Hansen1-1/+1
2018-02-05Merge "Sonar Major fix"Tony Hansen1-1/+1
2018-02-05sonar Major issuesSnigdha Sucharita Patra1-1/+1
Replace these toUpperCase()/toLowerCase() and equals() calls with a single equalsIgnoreCase() call Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=Snigdha503415 Location: src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java Line No:162 Change-Id: I2d3514753229c9c7a3c9fc005d26d55451f90603 Issue-ID: DCAEGEN2-303 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-05sonar Major Using @Override annotationSnigdha Sucharita Patra1-0/+1
Add the @Override annotation above this method signature Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/daos/DCAEServicesDAO.java Line No-40 Change-Id: Ic1036c33e8de4ba994e3b3f81d1a70eab3a5e576 Issue-ID: DCAEGEN2-299 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-05Sonar Major fixPooja031-1/+1
Remove useless parentheses in DcaeServicesApiServiceImpl.java Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|assignees=_me_%2CPooja03 Location:DcaeServicesApiServiceImpl.java:L214 Change-Id: I69cfc51a0e42516564c821ec5a0610c4cb3e7242 Issue-ID: DCAEGEN2-301 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-02-02Sonar Major fixPooja031-1/+1
Remove useless parentheses in DcaeServicesApiServiceImpl.java Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|assignees=_me_%2CPooja03 Location:DcaeServicesApiServiceImpl.java:L139 Change-Id: I60ab8364871ffc2263e3ef94b0861c831171b756 Issue-ID: DCAEGEN2-298 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-02-02Remove this redundant static qualifierTECHMAHINDRA\BS004935321-1/+1
Remove this redundant static qualifier DCAEServiceObject.java Sonar link : https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=BharathS24 Location : src/main/java/org/onap/dcae/inventory/dbthings/models/DCAEServiceObject.java Change-Id: Ib4a38feca00aaf9282b4bc21407e35a7d613d9c7 Issue-ID: DCAEGEN2-297 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
2018-02-01sonar Major Using @Override annotationSnigdha Sucharita Patra1-0/+1
Add the @Override annotation above this method signature Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/daos/DCAEServicesComponentsMapsDAO.java Line No-42 Change-Id: I22a4e6f437986386fb3d3312466b0e9098704ffd Issue-ID: DCAEGEN2-295 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-01Sonar Major fixPooja031-1/+1
resourcePath variable is already a string, there's no need to call toString method Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#severities=MAJOR|resolved=false|rules=squid%3AS1858 Change-Id: I5470b33aed3c8fd487c4d3687ee6f1d2de77abeb Location:DatabusControllerClient.java:L51 Issue-ID: DCAEGEN2-296 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-02-01Add @Override annotation above method signatureTECHMAHINDRA\BS004935321-0/+1
Add the @Override annotation above this method signature DCAEServiceTypesDAO.java Sonar link : https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=BharathS24 Location : src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTypesDAO.java Change-Id: Ibb5bd4f8032e85b76c1fb71e8673ba196412ca12 Issue-ID: DCAEGEN2-294 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
2018-02-01Sonar MajorTECHMAHINDRA\BS004935321-1/+1
Replace the type specification with the diamond operator DcaeServicesApiServiceImpl.java Sonar link : https://sonar.onap.org/issues/search#resolved=false|assignees=__me__%2CBharathS24 Location : src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Change-Id: I86abc7e42167783ade5dfc3a98fa05e19c5ca81b Issue-ID: DCAEGEN2-290 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
2018-02-01Sonar Major fixPooja031-0/+1
Adding the @Override annotation above checkIfTableExists method signature in DCAEServiceComponentsDAO.java Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=_me_%2CPooja03 Location:DCAEServiceComponentsDAO.java:L39 Issue-ID: DCAEGEN2-288 Change-Id: I74eca3cb3d8b3d528ce462b1c0a8eda1ad574552 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-01-31Sonar Major fixPooja031-0/+1
Adding the @Override annotation above the createTable method signature in DCAEServiceComponentsDAO.java Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|rules=squid%3AS1161 Location:DCAEServiceComponentsDAO.java:L43 Change-Id: Ieca7421d424827f82dd662f8d5a097d8198a2dbe Issue-ID: DCAEGEN2-289 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-01-29Merge "Sonar Major fix"Lusheng Ji1-2/+1
2018-01-29Merge "Sonar Major fix"Lusheng Ji1-1/+1
2018-01-29Sonar Major fixPooja031-2/+1
Remove the unused context local variable Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR Location:Bootstrap.java:L46 Change-Id: I3c59b7bc590fb9ba5e894e0dc584fc9d0026e209 Issue-ID: DCAEGEN2-285 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-01-29Sonar Major fixPooja031-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=CRITICAL%2CMAJOR Location:DcaeServiceTypesApiServiceImpl.java:L96 Change-Id: If36e27e862ee2d8db4c2f2b9def49afa88cf9632 Issue-ID: DCAEGEN2-284 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-01-29sonar critical for Exception handlingSnigdha Sucharita Patra1-1/+1
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=CRITICAL|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java Line No-62 Change-Id: Id74f81284ac81e1f5e64b5549afc66cead7a8597 Issue-ID: DCAEGEN2-210 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-01-29sonar critical throw a dedicated exceptionSnigdha Sucharita Patra1-1/+1
Define and throw a dedicated exception instead of using a generic one Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=CRITICAL|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/daos/InventoryDAOManager.java Line No-143 Change-Id: I52ecbd360bff6efa8906623ae7345ef694491d6b Issue-ID: DCAEGEN2-215 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-01-29sonar critical throw a dedicated exceptionSnigdha Sucharita Patra1-1/+1
Define and throw a dedicated exception instead of using a generic one Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=CRITICAL|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/daos/InventoryDAOManager.java Line No-134 Change-Id: I94f4d39fd55dc11c1459971074944fc2ff589cae Issue-ID: DCAEGEN2-214 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-01-24Merge "sonar critical for Exception handling"Lusheng Ji1-1/+1
2018-01-23Merge "sonar critical for Exception handling"Tony Hansen1-1/+1
2018-01-23sonar critical for Exception handlingSnigdha Sucharita Patra1-1/+1
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#severities=CRITICAL|assignees=Snigdha503415 Location: src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Line No-118 Change-Id: I98ebe37fa928cb9fdbbaf841987902f9fe3fb693 Issue-ID: DCAEGEN2-216 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-01-19Change package from openecomp to onapMichael Hwang46-127/+113
Change-Id: I2a79eb123e5fbb6a6c2f0e72030d6781fbbd7513 Issue-ID: DCAEGEN2-225 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-01-19sonar critical for Exception handlingSnigdha Sucharita Patra1-1/+1
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=CRITICAL|assignees=Snigdha503415 Location: src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Line No-104 Change-Id: I6c93a308b0e069cd13d59387efc99340e408a7d2 Issue-ID: DCAEGEN2-209 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-01-05Add private constructor in all static member classlibujacob5-16/+28
Add @override annotation to overridden functions Issue-ID: DCAEGEN2-207 Change-Id: I7bf8ad7afec645cbe28fceaaa8f4c04001a0ef6a Signed-off-by: libujacob <libu.jacob@huawei.com>
2017-11-17Bump minor versionJessica Wagantall2-3/+3
Bump minor version in preparation for Amsterdam branching. Change-Id: Ifcef9d089eb8e806ca04195fc53e399f55b5a1b4 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-10-02Add more unit testsv1.2.0v1.0.01.0.0-ONAP1.0.0-AmsterdamMichael Hwang6-3/+337
Change-Id: Ib8e586a5aa7d31756751776015bbb76f68a0cafc Issue-Id: DCAEGEN2-60 Signed-off-by: Michael Hwang <mhwang@research.att.com>