Upgrade SDC from Titan to Janus Graph
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / jsonjanusgraph / operations / InterfaceOperation.java
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.openecomp.sdc.be.model.jsontitan.operations;
+package org.openecomp.sdc.be.model.jsonjanusgraph.operations;
 
 import fj.data.Either;
 import java.util.Collections;
@@ -22,9 +22,9 @@ import java.util.List;
 import java.util.Map;
 import java.util.stream.Collectors;
 import org.apache.commons.collections.MapUtils;
+import org.openecomp.sdc.be.dao.janusgraph.JanusGraphOperationStatus;
 import org.openecomp.sdc.be.dao.jsongraph.types.EdgeLabelEnum;
 import org.openecomp.sdc.be.dao.jsongraph.types.VertexTypeEnum;
-import org.openecomp.sdc.be.dao.titan.TitanOperationStatus;
 import org.openecomp.sdc.be.datatypes.elements.InterfaceDataDefinition;
 import org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields;
 import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
@@ -78,10 +78,10 @@ public class InterfaceOperation extends BaseOperation {
             return Either.right(statusRes);
         }
 
-        Either<Map<String, InterfaceDataDefinition>, TitanOperationStatus> componentEither =
+        Either<Map<String, InterfaceDataDefinition>, JanusGraphOperationStatus> componentEither =
                 getDataFromGraph(componentId, EdgeLabelEnum.INTERFACE);
         if (componentEither.isRight()) {
-            return Either.right(DaoStatusConverter.convertTitanStatusToStorageStatus(componentEither.right().value()));
+            return Either.right(DaoStatusConverter.convertJanusGraphStatusToStorageStatus(componentEither.right().value()));
         }
 
         Map<String, InterfaceDataDefinition> interfaceDataDefinitionMap = componentEither.left().value();