aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
AgeCommit message (Collapse)AuthorFilesLines
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 Haidar3-15/+27
Issue-ID: DCAEGEN2-575 Change-Id: I9df025e3f8ddeb282f980758bdf1dc30491e0d01 Signed-off-by: Shadi Haidar <sh1986@att.com>
2018-03-26Add unit tests to reach 50% coverageMichael Hwang9-525/+2
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-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-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-0/+1
2018-02-07Merge "Sonar Major fix"Tony Hansen1-9/+7
2018-02-07Sonar Major fixPooja031-9/+7
Make the anonymous inner class a lambda in StringListArgument.java Sonar Link:https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=MAJOR|assignees=Pooja03 Location:StringListArgument.java:L48 Change-Id: I370a7efae998af0af9b625ec83433cd33439c8e8 Issue-ID: DCAEGEN2-318 Signed-off-by: Pooja03 <PM00501616@techmahindra.com>
2018-02-07Sonar:MajorTECHMAHINDRA\BS004935321-1/+2
Add the @Override annotation above this method signature DCAEServicesDAO.java:L45 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/DCAEServicesDAO.java Change-Id: I2c3edd6e49f20937691fe49986481a58b7a01d9c Issue-ID: DCAEGEN2-317 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@techmahindra.com>
2018-02-07Sonar:MajorTECHMAHINDRA\BS004935321-0/+1
Add the @Override annotation above this method signature DCAEServicesComponentsMapsDAO.java:L37 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/DCAEServicesComponentsMapsDAO.java Change-Id: I5fbba6f524b0bd29f155822f6601f2fdc2d7b5f8 Issue-ID: DCAEGEN2-314 Signed-off-by: TECHMAHINDRA\BS00493532 <BS00493532@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-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 Using @Override annotation"Tony Hansen1-0/+1
2018-02-05Merge "sonar Major Using @Override annotation"Tony Hansen1-0/+1
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-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>