Changelog of the version 0.2.0
Modified methods:
- getVMInfo(String infId, String vmId) --> Now deprecated
- getVMInfo(String infId, String vmId, boolean requestJson)
- getVMProperty(String infId, String vmId, String propertyName) --> Now deprecated
- getVMProperty(String infId, String vmId, String propertyName, boolean requestJson)
- getVMProperty(String infId, String vmId, VmProperties vmProperty) --> Now deprecated
- getVMProperty(String infId, String vmId, VmProperties vmProperty, boolean requestJson)
- createInfrastructure(String radlFile) --> Now deprecated
- createInfrastructure(String radlFile, RestApiBodyContentType bodyContentType
- addResource(String infId, String radlFile, boolean... context) --> Now deprecated
- addResource(String infId, String radlFile, RestApiBodyContentType bodyContentType, boolean... context)
- alterVM(String infId, String vmId, String radlFile) --> Now deprecated
- alterVM(String infId, String vmId, String radlFile, RestApiBodyContentType bodyContentType, boolean requestJson)
- reconfigure(String infId, String radlFile, int... vmList) --> Now deprecated
- reconfigure(String infId, String radlFile, RestApiBodyContentType bodyContentType, int... vmList)
The new boolean parameter "boolean requestJson" specifies the request type returned inside the ServiceResponse, if true the response will be a JSON, if false a String.
The new class RestApiBodyContentType stores the new types (RADL, RADL_JSON, TOSCA) that can be specified and passed to the IM.
Each type specifies a different document format that can be passed to the IM:
- RADL: standard radl document
- RADL_JSON: radl document in JSON --> see http://imdocs.readthedocs.org/en/devel/radl.html#json-version
- TOSCA: Tosca document
For the methods alterVM and reconfigure only the RADL and RADL_JSON type are admitted.