From d72a20dec0f787506eb1d60f2485b828fb59b94c Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Fri, 14 Jan 2022 09:54:51 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d665e2f..c77d83f 100644 --- a/README.md +++ b/README.md @@ -339,8 +339,10 @@ im_client.py [-u|--xmlrpc-url ] [-r|--restapi-url ] [-v|--verify-ssl] It has an optional parameter ``maxTime`` with the max time to wait. It returns 0 if the infrastructure ends with a "configured" state or 1 otherwise. - ``create_wait_outputs `` - This operation is a combination of the create, wait and getoutputs functions. First create the infrastructure, - then waits for it to be configured, and finally get the TOSCA outputs. In case of failure in infrastructure - creation none will be returned. In case of error waiting or getting the outputs only the infrastructure ID - will be returned. + ``create_wait_outputs inputfile`` + This operation is a combination of the create, wait and getoutputs functions. First it creates the + infrastructure using the specified ``inputfile``, then waits for it to be configured, and finally + gets the TOSCA outputs. In case of failure in then infrastructure creation step only the error message + will be returned. The results will be returned to stdout in json format:: + + {"infid": "ID", "error": "Error message"} From b13756bb66c7c16ead2febd6ee6751a6a744e73c Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Wed, 2 Feb 2022 13:42:41 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c77d83f..8004546 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![PyPI](https://img.shields.io/pypi/v/im-client.svg)](https://pypi.org/project/im-client) [![Build Status](http://jenkins.i3m.upv.es/buildStatus/icon?job=grycap/im-client-unit-py3)](http://jenkins.i3m.upv.es:8080/job/grycap/job/im-client-unit-py3/) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c74628a2fc134c2683d3fc57b571ce09)](https://www.codacy.com/app/micafer/im-client?utm_source=github.com&utm_medium=referral&utm_content=grycap/im-client&utm_campaign=Badge_Grade) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c74628a2fc134c2683d3fc57b571ce09)](https://www.codacy.com/gh/grycap/im-client/dashboard?utm_source=github.com&utm_medium=referral&utm_content=grycap/im-client&utm_campaign=Badge_Grade) [![Codacy Badge](https://api.codacy.com/project/badge/Coverage/c74628a2fc134c2683d3fc57b571ce09)](https://www.codacy.com/app/micafer/im-client?utm_source=github.com&utm_medium=referral&utm_content=grycap/im-client&utm_campaign=Badge_Coverage) [![License](https://img.shields.io/badge/license-GPL%20v3.0-brightgreen.svg)](LICENSE) [![Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://imdocs.readthedocs.io/en/latest/client.html)