资 源 简 介
Communication with api:
Option 1
Use the remote_resource_manager_client.jar to communicate with the server.
example usage
java -jar remote_resource_manager_client.jar http://cegekaresources.appspot.com/api/resource READALL
java -jar remote_resource_manager_client.jar http://cegekaresources.appspot.com/api/resource CREATE computer1 true
java -jar remote_resource_manager_client.jar http://cegekaresources.appspot.com/api/resource READ computer1
java -jar remote_resource_manager_client.jar http://cegekaresources.appspot.com/api/resource UPDATE computer1 false
java -jar remote_resource_manager_client.jar http://cegekaresources.appspot.com/api/resource DELETE computer1
Option 2
Use any http client that supports HTTP GET, PUT and DELETE
HTTP GET
* http://cegekaresources.appspot.com/api/resource/{resourcename}
* http://cegekaresources.appspot.com/api/resource
HTTP PUT