From 2c63b984358cee239966846457acd4f1d8831b70 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Tue, 14 Mar 2023 14:13:21 +0000 Subject: Version 10.4.2 Archive SDC Vendor Issue-ID: INT-2193 Signed-off-by: Michal Jagiello Change-Id: I520ca35a973eb52f3d5625cc282c88bdd06effff --- src/onapsdk/sdc/vsp.py | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/onapsdk/sdc/vsp.py') diff --git a/src/onapsdk/sdc/vsp.py b/src/onapsdk/sdc/vsp.py index a04b3c0..3100647 100644 --- a/src/onapsdk/sdc/vsp.py +++ b/src/onapsdk/sdc/vsp.py @@ -340,25 +340,6 @@ class Vsp(SdcElement): # pylint: disable=too-many-instance-attributes """ return f"{cls._base_url()}/items?itemType=vsp" - def _action_url(self, base: str, subpath: str, version_path: str, - action_type: str = None) -> str: - """Generate action URL for VSP to send to SDC. - - Args: - base (str): base part of vsp action url - subpath (str): subpath of vsp action url - version_path (str): version path. If action is equal to ARCHIVE - it's going to be edited - action_type (str, optional): the type of action. - - Returns: - str: the URL to use - - """ - if action_type == const.ARCHIVE: - version_path = version_path.split("/")[0] - return super()._action_url(base, subpath, version_path, action_type) - @classmethod def import_from_sdc(cls, values: Dict[str, Any]) -> 'Vsp': """ -- cgit 1.2.3-korg