openbaton / NFVO

Repository containing the source code of the NFVO
Apache License 2.0
61 stars 52 forks source link

Wrong HTTP method #143

Closed orkun34 closed 7 years ago

orkun34 commented 7 years ago

Hello,

I found something during VNFD development on our side. When I implement /vnf-descriptors/multipledelete , it always throws error if I send HTTP method as DELETE and according to api doc 3.2.0 , it says that method is called with DELETE method.

image

Here is log as well ; vnf_log.txt

However regarding this link http://get.openbaton.org/swagger-ui/#/ , method is called with POST which is worked on my side.

image

I think valid one is the 2nd option.

mpauls commented 7 years ago

The POST method is the right method to use since it passes a json body that inlcudes the VNFD IDs to delete. Please use the swagger ui due to the fact that this one is created automatically from the API of the NFVO. Hence, the API doc will not be maintained anymore.