Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
None
-
MSB Sprint 11
Description
Try to delete like this:
URL: http://192.168.17.130:80/api/microservices/v1/services/test/version/v1/nodes/10.0.0.1/8080
Method: delete
Request Queries: {}
Request Body:
Request Headers: {Accept=application/json, Content-Type=application/json}
Request Cookies: {}
binaryData=false
HTTP Status: 500
Response Body: Entity may not be null
Response Headers: {Server=openresty, Connection=keep-alive, Content-Length=22, Date=Fri, 27 Oct 2017 06:03:24 GMT, Content-Type=text/plain}
Response Cookies: {}
Actually it deleted the service, as show below:
URL: http://192.168.17.130:80/api/microservices/v1/services/test/version/v1
Method: get
Request Queries: {}
Request Body:
Request Headers: {Accept=application/json, Content-Type=application/json}
Request Cookies: {}
binaryData=false
HTTP Status: 404
Response Body: microservice not found: serviceName-test, namespace-
Response Headers: {Server=openresty, Connection=keep-alive, Content-Length=52, Date=Fri, 27 Oct 2017 06:04:05 GMT, Content-Type=application/json}
Response Cookies: {}