Skip to content

Releases: indigo-dc/im-java-api

v0.4.2: Merge pull request #23 from indigo-dc/devel

26 Apr 15:57
Compare
Choose a tag to compare
Add test case to check nested outputs

Im java api - Json and POJO

26 Apr 08:31
Compare
Choose a tag to compare

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

20 Apr 15:57
Compare
Choose a tag to compare
  • Update the code to be compliant with IM json error responses.
  • Update jackson library beacuse org.codehaus.jackson artifact was moved to com.fasterxml.jackson.core

SSL Client updated

11 Apr 14:54
Compare
Choose a tag to compare

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

06 Apr 14:31
Compare
Choose a tag to compare
Adapted to google chesktyle and SSL bugfix

Changelog of the version 0.2.0

25 Jan 15:17
Compare
Choose a tag to compare

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:

For the methods alterVM and reconfigure only the RADL and RADL_JSON type are admitted.