diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-01-15 13:00:05 +0000 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-01-15 13:00:05 +0000 |
commit | ad502b1340dc62c18ed7eb225d8d392a86cc89b6 (patch) | |
tree | 4d359c7a01f385d5f27dff7f4ba1ba1c559c554c /mso-catalog-db/src/main/java | |
parent | becadde04b85e4d4c7df4a7e957fcff8aa8448a8 (diff) |
Improve TC for catalog database
Improve TC for catalog database.
Change-Id: I698a6e6b929586c84e43266480a4a459265951ae
Issue-ID: SO-360
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'mso-catalog-db/src/main/java')
-rw-r--r-- | mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java b/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java index e7491b7ec7..7ac188b027 100644 --- a/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java +++ b/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java @@ -351,11 +351,11 @@ public class CatalogDatabase implements Closeable { */ public Service getServiceByInvariantUUID (String modelInvariantUUID) { - long startTime = System.currentTimeMillis (); - LOGGER.debug ("Catalog database - get service with Invariant UUID " + modelInvariantUUID); + long startTime = System.currentTimeMillis(); + LOGGER.debug("Catalog database - get service with Invariant UUID " + modelInvariantUUID); String hql = "FROM Service WHERE modelInvariantUUID = :model_invariant_uuid"; - Query query = getSession ().createQuery (hql); + Query query = getSession().createQuery(hql); query.setParameter ("model_invariant_uuid", modelInvariantUUID); @SuppressWarnings("unchecked") |