Hi MultiVIM team, We are developing a azure plugin that accepts a TOSCA csar file and its related input as a json. However, we are facing an issue in the MultiVIM broker which does not seem to accept multipart/form-data request. The broker is not able to forward this request to the plugin. We are getting a Unicode error given below. Does Multivim broker support multipart/form-data content in request?
Below is the error trace: 2018-03-09 05:00:39,952:[multivimbroker.pub.utils.restcall]:[restcall.py]-[63] [DEBUG]:request=https://aai-service.onap-aai:8443/aai/v11/cloud-infra structure/cloud-regions/cloud-region/azure/azure) 2018-03-09 12:32:02,874:[multivimbroker.forwarder.views]:[views.py]-[123] [DEBUG]:forward request 2018-03-09 12:32:02,875:[multivimbroker.pub.utils.restcall]:[restcall.py]-[63] [DEBUG]:request=https://aai-service.onap-aai:8443/aai/v11/cloud-infra structure/cloud-regions/cloud-region/azure/azure) 2018-03-09 12:32:02,949:[multivimbroker.pub.utils.restcall]:[restcall.py]-[63] [DEBUG]:request=http://10.244.2.71:80/api/multicloud-azure/v0/azure_a zure/createStack/servicestest2) 2018-03-09 12:32:02,952:[multivimbroker.pub.utils.restcall]:[restcall.py]-[85] [ERROR]:Traceback (most recent call last): File "/opt/multivimbroker/multivimbroker/pub/utils/restcall.py", line 81, in c all_req raise ex UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 178: ordina l not in range(128) Regards, Avdhut Kholkar This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer <https://www.amdocs.com/about/email-disclaimer> Amdocs Development Centre India Private Limited having CIN: U72200PN2004PTC0188320 converted into Amdocs Development Centre India LLP (A limited liability partnerÂship with LLP Identification Number: AAI-6901 effective 28th Feb 2017)
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss