class AAIUpdateTasks {

    public void updateObjectVnf(BuildingBlockExecution execution) {
        try {
            GenericVnf genericVnf = extractPojosForBB.extractByKey(execution, ResourceKey.GENERIC_VNF_ID);
            aaiVnfResources.updateObjectVnf(genericVnf);
        } catch (Exception ex) {
            logger.error("Exception occurred in AAIUpdateTasks updateObjectVnf", ex);
            exceptionUtil.buildAndThrowWorkflowException(execution, 7000, ex);
        }
    }

}