eclipse-agail / agile-core

Source code repository for agile core components
Eclipse Public License 2.0
7 stars 16 forks source link

Faulty endpoints #7

Closed craigmulligan closed 8 years ago

craigmulligan commented 8 years ago

Hey guys I just had a go at integrating the ui with the API. I found a few endpoints that didn't resolve. I'm opening one issue as they may have changed from the spec or they may just not be working on the demo, unfortunately, they are important endpoints and I can't move forward without them.

All /api/protocols/discovery/* don't appear to work. eg GET http://217.77.95.110:8080/api/protocols/discovery 500 (Internal Server Error) // returns internal server error

Cannot register a device POST http://217.77.95.110:8080/api/devices 500 (Internal Server Error)

Cannot get a device resource GET http://217.77.95.110:8080/api/devices/ble68C90B179306 500 (Internal Server Error) { "code": "INTERNAL_SERVER_ERROR", "message": "Not implemented" }

/DeviceManager/Devices NIT: There is no name attribute returned in the resource. But the spec it is present. http://petstore.swagger.io/?url=http://agile-iot.github.io/agile-api-spec/docs/swagger/api.swagger.yml#!/DeviceManager/Devices

As I said feel free to split this into separate issues if need.

cskiraly commented 8 years ago

We have solved all parts now.

craigmulligan commented 8 years ago

Great @cskiraly I'll give it a shot now thanks!