* 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;
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;
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();