diff options
author | 2021-03-24 14:37:05 +0000 | |
---|---|---|
committer | 2021-03-24 17:52:46 +0000 | |
commit | 908c0f0e5a3d1ae44de93b06d61e54869831415e (patch) | |
tree | 754e10398f80ac73fb069a40ea3942cc490e441d /catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/OperationalEnvironmentsAccessor.java | |
parent | c783eb50e01dbdbd478ec73ae9271da0cb49d9c2 (diff) |
Reformat catalog-dao
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3449
Change-Id: I2180aed0f50e12a62cf6e55fbb4d3d9647e301ac
Diffstat (limited to 'catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/OperationalEnvironmentsAccessor.java')
-rw-r--r-- | catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/OperationalEnvironmentsAccessor.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/OperationalEnvironmentsAccessor.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/OperationalEnvironmentsAccessor.java index e36711d57a..aadd0f5197 100644 --- a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/OperationalEnvironmentsAccessor.java +++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/cassandra/OperationalEnvironmentsAccessor.java @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -17,7 +17,6 @@ * limitations under the License. * ============LICENSE_END========================================================= */ - package org.openecomp.sdc.be.dao.cassandra; import com.datastax.driver.mapping.Result; @@ -28,7 +27,7 @@ import org.openecomp.sdc.be.resources.data.OperationalEnvironmentEntry; @Accessor public interface OperationalEnvironmentsAccessor { + @Query("SELECT * FROM sdcrepository.operationalenvironment WHERE status = :envStatus") Result<OperationalEnvironmentEntry> getByEnvironmentsStatus(@Param("envStatus") String envStatus); } - |