9342316a2497e33ecbbc5d1ab12ded0130a49cb2
[osm/tests.git] / robot-systest / deprecated / resource / api / common.robot
1 # -*- coding: utf-8 -*-
2
3 ##
4 # Copyright 2019 Tech Mahindra Limited
5 #
6 # All Rights Reserved.
7 #
8 # Licensed under the Apache License, Version 2.0 (the "License"); you may
9 # not use this file except in compliance with the License. You may obtain
10 # a copy of the License at
11 #
12 #         http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
17 # License for the specific language governing permissions and limitations
18 # under the License.
19 ##
20
21 ## Change log:
22 # 1. Feature 7829: Jayant Madavi, Mrityunjay Yadav : MY00514913@techmahindra.com
23 ##
24
25
26 *** Variables ***
27 &{HEADERS}     Content-Type=application/json       Accept=application/json
28 &{data}        username=admin      password=admin      project-id=admin
29 @{success_status_code_list}     200     201     202    204
30
31 ${descriptor_content_type_gzip}   application/gzip
32
33 ${auth_token_uri}   /osm/admin/v1/tokens
34
35 ${get_all_vnfd_uri}   /osm/vnfpkgm/v1/vnf_packages
36 ${create_vnfd_uri}   /osm/vnfpkgm/v1/vnf_packages_content
37 ${delete_vnfd_uri}   /osm/vnfpkgm/v1/vnf_packages
38
39 ${get_all_nsd_uri}   /osm/nsd/v1/ns_descriptors
40 ${create_nsd_uri}   /osm/nsd/v1/ns_descriptors_content
41 ${delete_nsd_uri}   /osm/nsd/v1/ns_descriptors
42
43 ${base_ns_uri}   /osm/nslcm/v1/ns_instances_content
44 ${create_ns_uri}   /osm/nslcm/v1/ns_instances_content
45
46 ${create_vim_uri}   /osm/admin/v1/vim_accounts