Added HTTP response to all methods (included commands and updates)
Added HTTP response to all methods (included commands and updates)
Corrected an error in function executeCommandGet: it didn't return a
value (error caused by me)
Java code was properly formatted
Modifiche fatte dopo modifiche Status (fatte da prof) + modificati
alcuni commenti
Check if I did exactly what you needed:
Each time a ServiceReference is taken, after its usage, now we remove
the corresponding service reference (with ungetService()).
This happend in:
- the location update method
- the description update method
- getAllDeviceStatus method
- getDeviceStatus method
Now it respects HTTP specification:
it has not to return an empty list when the requested device doesn't
exist or something went wrong (and so the list is empty): it has to
return a "404 NOT FOUND" message!
Now it respects HTTP specification:

it has not to return an empty list when the requested device doesn't
exist or something went wrong (and so the list is empty): it has to
return a "404 NOT FOUND" message!
Code was formatted + Error in previous commit message: I wrote "device"
instead of "building"
add version number to API URI + copyright updated
add version number to API URI + copyright updated
update to the new notification topic
update to the latest core library; add license
update to the latest core library
fix erroneous creation/removal of devices if they already exist/do not
exist
split controllers in multiple files
clean directives
update angularjs to latest stable version
various improvements
Merge branch 'master' of http://git.elite.polito.it/montanaro/deviceapi
into montanaro/deviceapi-master

Conflicts:
	src/it/polito/elite/dog/communication/rest/device/DeviceRESTEndpoint.java
	src/it/polito/elite/dog/communication/rest/device/api/DeviceRESTApi.java