summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-03-15Increase unit test coverage4.0.0-ONAPdublinMichael Hwang5-17/+279
Change-Id: Id1067160082d117f2e48ad1476dfb0b3ba65134b Issue-ID: DCAEGEN2-1263 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2019-03-06Add new junit testsShadi Haidar1-0/+71
Added 1 more junit test to try to increase sonar coverage Issue-ID: DCAEGEN2-1263 Change-Id: Idaedbde90a7cfea93da0023581e9c1d56f879bd2 Signed-off-by: Shadi Haidar <sh1986@att.com>
2019-03-05Add health and service endpointsShadi Haidar3-0/+177
Added two new APIs to chcek internal health and to check dependencies/external interfaces, which is postgres like existing /dcae-service-types does Issue-ID: DCAEGEN2-1134 Change-Id: If0d3bf8ed0cfa7cb8870e91ef32060ffa844f93a Signed-off-by: Shadi Haidar <sh1986@att.com>
2018-11-07xAdd application/component.Shadi Haidar9-17/+155
Change-Id: Ib60ef8f3e64aa03dfa49b7c542ac7bae1e25175f Issue-ID: DCAEGEN2-879 Signed-off-by: Shadi Haidar <sh1986@att.com> Signed-off-by: Haidar, Shadi (sh1986) <sh1986@att.com>
2018-09-19Re-increase code coverage to 50%3.0.43.0.1-ONAP3.0.0-ONAPcasablancaMichael Hwang2-0/+17
Change-Id: Ia707c6ef1837b26ccd895ccf075626a2e8f6da34 Issue-ID: DCAEGEN2-803 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-09-14Address warningsShadi Haidar22-270/+299
Change-Id: I953b71d130c78bb20cf602e101021e29b538088e Issue-ID: DCAEGEN2-605 Signed-off-by: Shadi Haidar <sh1986@att.com>
2018-09-06Inventory to support wild card in typeNameShadi Haidar1-2/+8
Issue-ID: DCAEGEN2-749 Change-Id: I273f3f8e5466b170f42f3aef0ab21b0ff002be59 Signed-off-by: Shadi Haidar <sh1986@att.com>
2018-08-07Sonar Minor issueBharathS241-10/+9
Move this constructor to comply with Java Code Conventions Sonar Link : https://sonar.onap.org/issues?myIssues=true&open=AWEPiFEz-08if2a6xy_C&resolved=false Location : src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTransactionDAO.java:L112 Issue-ID: DCAEGEN2-686 Change-Id: I47f08f63d12dc2d4f1246dcba2a4ed22e2488bae Signed-off-by: BharathS24 <BS00493532@techmahindra.com>
2018-08-03Sonar Minor issueBharathS241-7/+5
Move this constructor to comply with Java Code Conventions Sonar Link : https://sonar.onap.org/issues?myIssues=true&open=AWEPiFEd-08if2a6xy-3&resolved=false Location : src/main/java/org/onap/dcae/inventory/clients/DatabusControllerClient.java:L85 Change-Id: I418e842953c311a4284080837a2d4be178db4abf Issue-ID: DCAEGEN2-652 Signed-off-by: BharathS24 <BS00493532@techmahindra.com>
2018-08-01Sonar Minor issueBharathS241-1/+1
Reorder the modifiers to comply with the Java Language Specification Sonar Link : https://sonar.onap.org/issues?myIssues=true&open=AWSYoWCJwGn37JfbvTzi&resolved=false Location : src/main/java/org/onap/dcae/inventory/daos/InventoryDAOManager.java:L63 Change-Id: I63f664c345235a9e6a251170e9b165e6ff0936db Issue-ID: DCAEGEN2-651 Signed-off-by: BharathS24 <BS00493532@techmahindra.com>
2018-07-27Sonar Critical issueBharathS241-1/+1
Either log or rethrow this exception Sonar link : https://sonar.onap.org/issues?myIssues=true&open=AWSYoWCawGn37JfbvTzk&resolved=false   Location : src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java:L62 Change-Id: Ic2c2e1736acdcd60514e582f62a2de765d717508 Issue-ID: DCAEGEN2-634 Signed-off-by: BharathS24 <BS00493532@techmahindra.com>
2018-07-26Sonar minor issueBharathS241-1/+1
Reorder the modifiers to comply with the Java Language Specification Sonar Link : https://sonar.onap.org/issues?myIssues=true&open=AWSYoWCawGn37JfbvTzj&resolved=false Location : src/main/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapper.java:L45 Change-Id: I079d1297ca7faf25ef7bf2aa7e716b96752a3d6c Issue-ID: DCAEGEN2-636 Signed-off-by: BharathS24 <BS00493532@techmahindra.com>
2018-07-13InventoryAPI Syncup with ECOMP LoggingShadi Haidar6-30/+110
Issue-ID: DCAEGEN2-575 Change-Id: I9df025e3f8ddeb282f980758bdf1dc30491e0d01 Signed-off-by: Shadi Haidar <sh1986@att.com>
2018-03-26Add unit tests to reach 50% coverageMichael Hwang29-512/+737
Ripped out the dcae controller code which is no longer needed. Change-Id: I43906edb80bcd5e25445ec2a7175c6748b0ab2ae Signed-off-by: Michael Hwang <mhwang@research.att.com> Issue-ID: DCAEGEN2-257
2018-03-09Merge "Sonar:Minor"Lusheng Ji1-1/+0
2018-03-09Merge "Sonar:Minor"Lusheng Ji1-1/+0
2018-03-06Sonar:MinorTECHMAHINDRA\BS004935321-1/+0
Remove this unused import 'java.sql.SQLException' StringListArgument.java:L29 Sonar link : https://sonar.onap.org/issues?myIssues=true&resolved=false Location : src/main/java/org/onap/dcae/inventory/dbthings/StringListArgument.java Change-Id: Id3b3c6d449c13d2bdfa9523239c5768dd55a64c8 Issue-ID: DCAEGEN2-382 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
2018-03-06Fix Sonar IssueBharath Thiruveedula1-5/+5
Rename "jdbi" which hides the field declared at line 68 Sonar Link: https://sonar.onap.org/project/issues?id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFFX-08if2a6xy_T&resolved=false&severities=MAJOR Change-Id: Iae7765c0d58be81b02977f2a3e9c300a8e4c757b Issue-ID: DCAEGEN2-380 Signed-off-by: Bharath Thiruveedula <bharath_ves@hotmail.com>
2018-03-05Sonar:MinorTECHMAHINDRA\BS004935321-1/+0
Remove this unused import 'java.util.Locale' DcaeServiceTypesApiServiceImpl.java:L45 Sonar link : https://sonar.onap.org/project/issues?id=org.onap.dcaegen2.platform%3Ainventory-api&myIssues=true&resolved=false Location : src/main/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImpl.java Change-Id: I0de8e5db8a214506003239eb4d89c95fbb5e1253 Issue-ID: DCAEGEN2-365 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
2018-02-14Merge "sonar issue"Tony Hansen1-1/+1
2018-02-14Merge "sonar issue"Tony Hansen1-1/+1
2018-02-14Merge "sonar issue"Tony Hansen1-1/+1
2018-02-14Merge "sonar issue"Tony Hansen1-1/+1
2018-02-13sonar issueSnigdha Sucharita Patra1-1/+1
Modifiers should be declared in the correct order Sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFG6-08if2a6xy_o&resolved=false&severities=MINOR Location: src/.../inventory/exceptions/mappers/DBIExceptionMapper.java Line No-79 Change-Id: Idaa98367cb658c8ce6d1d4e026ad3762a30c25e0 Issue-ID: DCAEGEN2-333 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-13sonar issueSnigdha Sucharita Patra1-1/+1
Modifiers should be declared in the correct order Sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFG6-08if2a6xy_n&resolved=false&severities=MINOR Location: src/.../inventory/exceptions/mappers/DBIExceptionMapper.java Line No-76 Change-Id: I8973b95dcacd81ad5343fc0248ff90b8c1eb35d8 Issue-ID: DCAEGEN2-332 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-13sonar issueSnigdha Sucharita Patra1-1/+1
Modifiers should be declared in the correct order Sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFG5-08if2a6xy_m&resolved=false&severities=MINOR Location: src/main/java./inventory/exceptions/mappers/DBIExceptionMapper.java Line No-73 Change-Id: Ib7371864a47a7b5d6ee160083b4034a6fa17c65f Issue-ID: DCAEGEN2-331 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-13sonar issueSnigdha Sucharita Patra1-1/+1
Reorder the modifiers to comply with the Java Language Specification Sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFG5-08if2a6xy_l&resolved=false&severities=MINOR Location: src/main/java/inventory/exceptions/mappers/DBIExceptionMapper.java Line No-45 Change-Id: I45d24bbaaeafdbdefad43d320b09c5d913f133dc Issue-ID: DCAEGEN2-330 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-12Merge "Sonar Minor fix"Vijay Venkatesh Kumar1-5/+6
2018-02-12Merge "Sonar Minor fix"Vijay Venkatesh Kumar1-2/+2
2018-02-12Merge "sonar issue"Vijay Venkatesh Kumar1-1/+1
2018-02-12Merge "sonar issue"Vijay Venkatesh Kumar1-1/+1
2018-02-12Sonar Minor fixPooja031-2/+2
return the expression instead of assigning it to the temporary variable argument Sonar Link:https://sonar.onap.org/project/issues?assignees=Pooja03&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWGBruv68TZzbCgU6dMs&resolved=false Location:StringListArgument.java:L51 Change-Id: Ia53255061c794925b95742a8d167943a0cb7caf9 Issue-ID: DCAEGEN2-329 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-02-12sonar issueSnigdha Sucharita Patra1-1/+1
Reorder the modifiers to comply with the Java Language Specification Sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFFW-08if2a6xy_M&resolved=false&severities=MINOR Location: src/.../org/onap/dcae/inventory/daos/InventoryDAOManager.java Line No-65 Change-Id: Icab62d6a464ecbb12c312c95c23659f5bf9b2cc8 Issue-ID: DCAEGEN2-328 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-12sonar issueSnigdha Sucharita Patra1-1/+1
Reorder the modifiers to comply with the Java Language Specification Sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFFW-08if2a6xy_L&resolved=false&severities=MINOR Location: src/main/java/org/onap/dcae/inventory/daos/InventoryDAOManager.java line No-63 Change-Id: I2fc43f956e3deef460752800df38f586243f4768 Issue-ID: DCAEGEN2-327 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-12Sonar Minor fixPooja031-5/+6
Move the constructor to comply with Java Code Conventions Sonar Link:https://sonar.onap.org/project/issues?assignees=Pooja03&id=org.onap.dcaegen2.platform%3Ainventory-api&open=AWEPiFEV-08if2a6xy-w&resolved=false Location:DCAEControllerClient.java:L216 Change-Id: Icecca34621dac211a5fc409363dae40a5c3c6944 Issue-ID: DCAEGEN2-326 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-02-09Merge "sonar issue"Tony Hansen1-1/+1
2018-02-09Merge "Modifiers should be declared in the correct order"Tony Hansen1-1/+2
2018-02-09sonar issueSnigdha Sucharita Patra1-1/+1
Reorder the modifiers to comply with the Java Language Specification Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MINOR|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTransactionDAO.java Line No-129 Change-Id: I3e9dd8748048a48e9216f01b18454c49db12a4cb Issue-ID: DCAEGEN2-324 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-09Modifiers should be declared in the correct orderSnigdha Sucharita Patra1-1/+2
Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MINOR|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTransactionDAO.java Line No-126 Change-Id: I138543dca2ca1174068da18cfaa112c094ed3324 Issue-ID: DCAEGEN2-323 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-08Merge "sonar Minor issues"Tony Hansen1-1/+1
2018-02-08Merge "sonar Minor issues"Tony Hansen1-1/+1
2018-02-08Merge "sonar Minor issues"Tony Hansen1-1/+0
2018-02-08sonar Minor issuesSnigdha Sucharita Patra1-1/+1
Reorder the modifiers to comply with the Java Language Specification Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MINOR|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTransactionDAO.java Line No-123 Change-Id: Ibd913178e831ffccd2ea16d26ad0cfda831933f6 Issue-ID: DCAEGEN2-321 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-08sonar Minor issuesSnigdha Sucharita Patra1-1/+1
Reorder the modifiers to comply with the Java Language Specification Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MINOR|assignees=Snigdha503415 Location: src/main/java/org/onap/dcae/inventory/clients/DCAEControllerClient.java Line No-137 Change-Id: I2ae7e89be1e53fef8c0ad4206831c7a23f7e66f9 Issue-ID: DCAEGEN2-320 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-08sonar Minor issuesSnigdha Sucharita Patra1-1/+0
Remove this unused import 'com.fasterxml.jackson.core.JsonProcessingException' Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|assignees=__me__%2CSnigdha503415 Location: src/main/java/org/onap/dcae/inventory/LinkSerializer.java Line No-24 Change-Id: I425a386a25e25e57120ca7ca61945ee2b7a32206 Issue-ID: DCAEGEN2-319 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
2018-02-07Merge "Sonar:Major"Tony Hansen1-1/+2
2018-02-07Merge "Sonar:Major"Tony Hansen1-1/+1
2018-02-07Merge "Sonar:Major"Tony Hansen1-1/+1
2018-02-07Merge "Sonar:Major"Tony Hansen1-0/+1
2018-02-07Merge "Sonar Major fix"Tony Hansen1-9/+7