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>
@SqlQuery("select exists (select * from information_schema.tables where table_name = \'dcae_services_components_maps\')")
Boolean checkIfTableExists();
+ @Override
@SqlUpdate("create table dcae_services_components_maps (service_id varchar not null references dcae_services (service_id), " +
"component_id varchar not null references dcae_service_components (component_id), " +
"created timestamp not null, primary key (service_id, component_id))")