North-Seattle-College / ad440-winter2020-tuesday-repo

Repository for AD 440 Winter 2020 Tuesday Class
Apache License 2.0
2 stars 3 forks source link

Fix PUT and DELETE APIs and add error handling, logging and configuration #259

Closed jerwest closed 4 years ago

mck368 commented 4 years ago

Estimated Time: 10 hours Actual Time: 15 hours

Link to Pull Request: https://github.com/North-Seattle-College/ad440-winter2020-tuesday-repo/pull/359 https://github.com/North-Seattle-College/ad440-winter2020-tuesday-repo/pull/351 https://github.com/North-Seattle-College/ad440-winter2020-tuesday-repo/pull/369

Link to Wiki: https://github.com/North-Seattle-College/ad440-winter2020-tuesday-repo/wiki/Fix-PUT-and-DELETE-APIs-and-add-error-handling,-logging-and-configuration-%23259

Link to test task: https://github.com/North-Seattle-College/ad440-winter2020-tuesday-repo/issues/265

sanfordwinslow commented 4 years ago

I tested the PUT API by updating machine name for a machine in postman. I got a success response back and looked in the database in azure to verify and saw my update was successful.

I tested the DELETE API by entering a machineId in the {id} variable in postman. I got a success message back and verified in the database in azure that the machine was deleted.