From: TECHMAHINDRA\BS00493532 Date: Tue, 6 Feb 2018 09:31:52 +0000 (+0530) Subject: Sonar:Major X-Git-Tag: 2.0.0-ONAP~35^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ff1dbc7736e9910a4233f8b7e20525153b25a177;p=dcaegen2%2Fplatform%2Finventory-api.git Sonar:Major 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 --- diff --git a/src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTypesDAO.java b/src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTypesDAO.java index cc53276..aa242a4 100644 --- a/src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTypesDAO.java +++ b/src/main/java/org/onap/dcae/inventory/daos/DCAEServiceTypesDAO.java @@ -52,6 +52,7 @@ public interface DCAEServiceTypesDAO extends InventoryDAO { "vnf_types varchar[] not null, service_ids varchar[], service_locations varchar[], " + "asdc_service_id varchar, asdc_resource_id varchar, " + "created timestamp not null, deactivated timestamp, constraint pk_type_created primary key (type_id))") + @Override void createTable(); // REVIEW: asdcServiceId and asdcResourceId is implicitly part of the unique key and thus shouldn't be updated.