move heal test json
[vfc/nfvo/lcm.git] / lcm / ns / tests / __init__.py
1 # Copyright 2016 ZTE Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #         http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15
16 import os
17 from lcm.pub.utils import fileutil
18
19 cur_path = os.path.dirname(os.path.abspath(__file__))
20 CREATE_NS_DICT = fileutil.read_json_file(cur_path + '/data/create_ns.json')
21 NS_INFO_AAI_DICT = fileutil.read_json_file(cur_path + '/data/ns_info_aai.json')
22 VNFD_MODEL_DICT = fileutil.read_json_file(cur_path + '/data/vnfd_model.json')
23 HEAL_NS_DICT = fileutil.read_json_file(cur_path + '/data/heal_ns.json')
24 HEAL_VNF_DICT = fileutil.read_json_file(cur_path + '/data/heal_vnf.json')
25 NSD_MODEL_DICT = fileutil.read_json_file(cur_path + '/data/nsd_model.json')
26 NSD_MODEL_WITH_PNF_DICT = fileutil.read_json_file(cur_path + '/data/nsd_model_with_pnf.json')
27 VNFM_LIST_IN_AAI_DICT = fileutil.read_json_file(cur_path + '/data/vnfm_list_in_aai.json')
28 VNFM_IN_AAI_DICT = fileutil.read_json_file(cur_path + '/data/vnfm_in_aai.json')
29 JOB_DICT = fileutil.read_json_file(cur_path + '/data/job.json')
30 INSTANTIATE_NS_WITH_PNF_DICT = fileutil.read_json_file(cur_path + '/data/instantiate_ns_with_pnf.json')
31 INSTANTIATE_NS_DICT = fileutil.read_json_file(cur_path + '/data/instantiate_ns.json')
32 SCALING_MAP_DICT = fileutil.read_json_file(cur_path + '/data/scalemapping.json')
33 SCALE_NS_DICT = fileutil.read_json_file(cur_path + '/data/scale_ns.json')
34 OCCURRENCE_DICT = fileutil.read_json_file(cur_path + '/data/occurrence.json')
35 NSLCMOP_WITH_EXCLUDE_DEFAULT_DICT = fileutil.read_json_file(cur_path + '/data/occurrence_exclude_default.json')
36 SUBSCRIPTION_DICT = fileutil.read_json_file(cur_path + '/data/subscription.json')