Showing 1,318 of 1,318 total issues
File instantiation.py
has 812 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: Apache-2.0
"""Instantion module."""
from abc import ABC
File sdc_resource.py
has 742 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: Apache-2.0
"""SDC Element module."""
import logging
File service.py
has 740 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: Apache-2.0
"""Service module."""
import base64
File blueprint.py
has 640 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# SPDX-License-Identifier: Apache-2.0
"""CDS Blueprint module."""
import json
import re
from dataclasses import dataclass, field
File cloud_region.py
has 529 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""Cloud region module."""
from dataclasses import dataclass
from typing import Any, Dict, Iterator, List, Optional
from urllib.parse import urlencode
File customer.py
has 491 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""AAI business module."""
from dataclasses import dataclass
from typing import Iterable, Iterator, Optional
from urllib.parse import urlencode
File vnf.py
has 457 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""Vnf instance module."""
from typing import Iterable, Iterator
from onapsdk.exceptions import ResourceNotFound, StatusError
Function __init__
has 51 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, # pylint: disable=too-many-arguments, too-many-locals
File service.py
has 409 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""Service instance module."""
from typing import Iterator, Type, Union, Iterable, Optional
from onapsdk.exceptions import StatusError, ParameterError
File nbi.py
has 394 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: Apache-2.0
"""NBI module."""
from abc import ABC
File __init__.py
has 371 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: Apache-2.0
"""SDC Element module."""
from typing import Any, Dict, List, Optional, Union
File definition.py
has 336 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""Definition module."""
from typing import Iterator
from dataclasses import dataclass
from onapsdk.utils.jinja import jinja_env
Function __init__
has 31 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, # pylint: disable=too-many-arguments, too-many-locals
Function __init__
has 29 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, # pylint: disable=too-many-arguments, too-many-locals
Vsp
has 28 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Vsp(SdcElement): # pylint: disable=too-many-instance-attributes
"""
ONAP VSP Object used for SDC operations.
Attributes:
File vsp.py
has 296 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: Apache-2.0
"""VSP module."""
import json
Function create
has 24 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create(cls, # pylint: disable=too-many-locals
Function create
has 24 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create(cls, service_subscription: "ServiceSubscription", # pylint: disable=too-many-arguments, too-many-locals
Function add_esr_system_info
has 23 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def add_esr_system_info(self, # pylint: disable=too-many-arguments, too-many-locals
Function __init__
has 23 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, # pylint: disable=too-many-locals