Releases: indigo-dc/im-java-api
Releases · indigo-dc/im-java-api
v0.4.2: Merge pull request #23 from indigo-dc/devel
Add test case to check nested outputs
Im java api - Json and POJO
This version enforces the use of json in all the communications with the IM.
It returns POJOs instead of a generic response class, so it's easier to parse.
Update code with json error response
- Update the code to be compliant with IM json error responses.
- Update jackson library beacuse
org.codehaus.jackson
artifact was moved tocom.fasterxml.jackson.core
SSL Client updated
Changelog:
- Create new SSL that allows to connect to secure sites without checking the certificates
- Remove redundant exceptions
- Update library version (minor)
v0.3.1: Merge pull request #12 from indigo-dc/devel
Adapted to google chesktyle and SSL bugfix
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.