Uploaded image for project: 'Microservices Bus'
  1. Microservices Bus
  2. MSB-92

microservice delete is reporting 500, though it deleted the service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • None
    • None
    • MSB Sprint 11

      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: {}

       

       

            huabingzhao huabingzhao
            mkr1481 mkr1481
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: