From 14d095f3e5be365f2e477a6247059f8153e193f3 Mon Sep 17 00:00:00 2001 From: micafer Date: Fri, 27 Apr 2018 13:50:03 +0200 Subject: [PATCH 1/2] Update changelog --- changelog | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index 4a2626682..d4a65af55 100644 --- a/changelog +++ b/changelog @@ -368,4 +368,39 @@ IM 1.6.6 * Improve error message in ONE conn in case net without leases. * Fix error using disks.free_size in connectors. * Add retries in Azure RG deletion. - * Avoid raising error in case that one auth line does not have the type field. \ No newline at end of file + * Avoid raising error in case that one auth line does not have the type field. + +IM 1.6.7: + * Fix error with the update of pyOpenSSL package causes Ansible error. + * Fix error contextualizing docker containers. + * Improves performance deleting an infra when configuring it. + * Fix error in EC2 conn getting security groups in case of VPC usage. + * Improve AlterVM function to allow receive complete RADL. + * Add --version option in im_service.py. + * Fix error reconfiguring nodes in case of addition of nodes. + * Avoid "Failed to lock apt for exclusive operation" in contextualization. + +IM 1.7.0: + * Return correct URL path when IM is behind a nginx proxy (or similiar) + * Fix error in case of Max contextualization time passed the nodes are maintained in running state. + * Add availability_zone field in OpenStack conn. + * Fix error showing error messages with special characters. + * Fix error in occi connector in case of setting and slash at the end of the host URL. + * Move FogBow connector to requests library + * Enable to reference an existing volume in OCCI conn + * Fix error Resources in Azure are not properly deleted and IM returns "successfully destroyed" + * Fix error GCE conn assing public IPs to all VMs. + * Fix error using vault recipe options with ubuntu 2.4 + * Fix than user/pass credentials can access OpenID infras + * Enable to create an infrastructure async + * Return IM list in correct order (by creation) + * Add TOSCA support por managing node Endpoints + * Fix error processing TOSCA node artifacts as lists + * Improve VM launch paralelism + * Add VM creation retry in conns + * Change the behaviour en case of VM launch failure. + * Add TOSCA support for REST AlterVM function + * Add TOSCA support from INDIGO fork + * Change in the DB schema in the case of MySQL DB. This command must be made + in the current DB: + ALTER TABLE `inf_list` ADD COLUMN `rowid` INT AUTO_INCREMENT UNIQUE FIRST; \ No newline at end of file From ebf723e3ed4247a66a9f8d4a1d1e59e13b2edc3b Mon Sep 17 00:00:00 2001 From: micafer Date: Fri, 27 Apr 2018 13:50:17 +0200 Subject: [PATCH 2/2] Fix REST API docs --- doc/source/REST.rst | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/doc/source/REST.rst b/doc/source/REST.rst index 8053578b3..e38c2e014 100644 --- a/doc/source/REST.rst +++ b/doc/source/REST.rst @@ -18,8 +18,8 @@ Next tables summaries the resources and the HTTP methods available. | **GET** | | **List** the infrastructure IDs. | | **List** the virtual machines | | **Get** information associated to the | | | | | in the infrastructure ``infId`` | | virtual machine ``vmId`` in ``infId``. | +-------------+------------------------------------+------------------------------------+-------------------------------------------+ -| **POST** | | **Create** a new infrastructure | | **Create** a new virtual machine | | -| | | based on the RADL posted | | based on the RADL posted. | | +| **POST** | | **Create** a new infrastructure | | **Create** a new virtual machine | | **Alter** VM properties based on | +| | | based on the RADL posted | | based on the RADL posted. | | then RADL posted | +-------------+------------------------------------+------------------------------------+-------------------------------------------+ | **PUT** | | | | **Modify** the virtual machine based on | | | | | | the RADL posted. | @@ -233,9 +233,27 @@ GET ``http://imserver.com/infrastructures//vms/`` The result is JSON format has the following format:: { - ["radl"|"state"|"contmsg"]: "" + "radl": "" } - + +POST ``http://imserver.com/infrastructures//vms/`` + :body: ``RADL document`` + :body Content-type: text/plain or application/json + :Response Content-type: text/plain or application/json + :ok response: 200 OK + :fail response: 401, 403, 404, 400, 415 + + Change the features of the virtual machine with ID ``vmId`` in the + infrastructure with with ID ``infId``, specified by the RADL ``radl``. + Return then information about the nodified virtual machine. The returned string is in RADL format, + either in plain RADL or in JSON formats. + See more the details of the output in :ref:`GetVMInfo `. + The result is JSON format has the following format:: + + { + "radl": "" + } + GET ``http://imserver.com/infrastructures//vms//`` :Response Content-type: text/plain or application/json :ok response: 200 OK