aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/sdc/vsp.py
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-14 14:13:21 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-03-14 14:13:21 +0000
commit2c63b984358cee239966846457acd4f1d8831b70 (patch)
tree478dd6f6a83af066ea8c12d208edaa38fd8bee5a /src/onapsdk/sdc/vsp.py
parentce25f900f0115cdf8ec6c2ac3a98d7c62079ea8c (diff)
Version 10.4.2
Archive SDC Vendor Issue-ID: INT-2193 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I520ca35a973eb52f3d5625cc282c88bdd06effff
Diffstat (limited to 'src/onapsdk/sdc/vsp.py')
-rw-r--r--src/onapsdk/sdc/vsp.py19
1 files changed, 0 insertions, 19 deletions
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':
"""