aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/sdnc
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2020-07-21 15:14:27 -0700
committerstark, steven <steven.stark@att.com>2020-07-21 15:15:34 -0700
commit9df81b14e7203d6c3911f5f36881cb5170afdccc (patch)
tree2a9b5e913e83d0f21b374f068c53df266d3dec56 /onap-client/onap_client/sdnc
parentb3e7a9fbcbf52ac095ca424f3f17610bf1e8df88 (diff)
[VVP] onap-client refactoring
removing create hook from _init_ for resources removing _init_ for non-abstract resources refactor validation logic enhancing error catch for resource failure adding _on_failure hook Issue-ID: VVP-441 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: Ia627fc7fd35fe6e112d6f89399701c70b5888077
Diffstat (limited to 'onap-client/onap_client/sdnc')
-rw-r--r--onap-client/onap_client/sdnc/preload.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/onap-client/onap_client/sdnc/preload.py b/onap-client/onap_client/sdnc/preload.py
index a8e4a77..8f67feb 100644
--- a/onap-client/onap_client/sdnc/preload.py
+++ b/onap-client/onap_client/sdnc/preload.py
@@ -56,26 +56,6 @@ class Preload(Resource):
"heat_template_name": {"type": str, "required": True},
}
- def __init__(
- self,
- preload_path,
- vnf_instance_name,
- service_instance_name,
- module_instance_name,
- heat_template_name,
- api_type,
- ):
- instance_input = {}
-
- instance_input["preload_path"] = preload_path
- instance_input["vnf_instance_name"] = vnf_instance_name
- instance_input["service_instance_name"] = service_instance_name
- instance_input["module_instance_name"] = module_instance_name
- instance_input["heat_template_name"] = heat_template_name
- instance_input["api_type"] = api_type
-
- super().__init__(instance_input)
-
def _create(self, instance_input):
service_instance = so.vnf_instance.get_service_instance(
instance_input.get("service_instance_name")
@@ -132,12 +112,6 @@ class Preload(Resource):
return instance_input
- def _post_create(self):
- pass
-
- def _submit(self):
- pass
-
def create_preload(preload_path, api_type):
oc = Client()