diff options
author | Yang Xu <yang.xu3@huawei.com> | 2019-04-30 14:28:07 -0400 |
---|---|---|
committer | Yang Xu <yang.xu3@huawei.com> | 2019-04-30 14:33:43 -0400 |
commit | 0e319ef66c3172ae1aef36151b32b8bf9ceacf74 (patch) | |
tree | 34441d85f7ea340ccd0f97b102f981720811eb9e /test/vcpe/vcpecommon.py | |
parent | 3fc7a4cea10f8f85498675f29f54c367c4a36bc4 (diff) |
Add allotted resource subcategory BRG in SDC
Change-Id: I1c361215ba086afe7444a5c457ba08aedf9fddcd
Issue-ID: INT-847
Signed-off-by: Yang Xu <yang.xu3@huawei.com>
Diffstat (limited to 'test/vcpe/vcpecommon.py')
-rwxr-xr-x | test/vcpe/vcpecommon.py | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/test/vcpe/vcpecommon.py b/test/vcpe/vcpecommon.py index 77e362271..47ba23851 100755 --- a/test/vcpe/vcpecommon.py +++ b/test/vcpe/vcpecommon.py @@ -132,11 +132,18 @@ class VcpeCommon: ############################################################################################# # SDC urls - self.sdc_get_request_userpass = 'vid','Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U' - self.sdc_get_request_headers = {'X-ECOMP-InstanceID': 'VID'} - self.sdc_port = '30205' - self.sdc_url_prefix = 'http://' + self.hosts['sdc'] + ':' + self.sdc_port - self.sdc_service_list_url = self.sdc_url_prefix + '/sdc/v1/catalog/services' + self.sdc_be_port = '30205' + self.sdc_be_request_userpass = 'vid', 'Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U' + self.sdc_be_request_headers = {'X-ECOMP-InstanceID': 'VID'} + self.sdc_be_url_prefix = 'http://' + self.hosts['sdc'] + ':' + self.sdc_be_port + self.sdc_service_list_url = self.sdc_be_url_prefix + '/sdc/v1/catalog/services' + + self.sdc_fe_port = '30206' + self.sdc_fe_request_userpass = 'beep', 'boop' + self.sdc_fe_request_headers = {'USER_ID': 'demo', 'Content-Type': 'application/json'} + self.sdc_fe_url_prefix = 'http://' + self.hosts['sdc'] + ':' + self.sdc_fe_port + self.sdc_get_category_list_url = self.sdc_fe_url_prefix + '/sdc1/feProxy/rest/v1/categories' + self.sdc_create_allotted_resource_subcategory_url = self.sdc_fe_url_prefix + '/sdc1/feProxy/rest/v1/category/resources/resourceNewCategory.allotted%20resource/subCategory' ############################################################################################# # SDNC urls |