Fix parameter convertion for JSON array or object in LCM API payload 40/102740/1
authorEnbo Wang <wangenbo@huawei.com>
Mon, 2 Mar 2020 12:56:11 +0000 (20:56 +0800)
committerEnbo Wang <wangenbo@huawei.com>
Mon, 2 Mar 2020 12:56:11 +0000 (20:56 +0800)
commit83e79104f3012f11dde94aa22ba2d6c286473c65
treeb84bebc115a6295ef75191f9f73c41cbe292c53a
parent5e5cc2b2ace3a5fe4b1b2394bfa5a32f4664e52b
Fix parameter convertion for JSON array or object in LCM API payload

This patch for Ansible server can dump the JSON array or object in LCM API
payload to a correct format of string, and the string can be reloaded
to array or object.

Change-Id: Ia5a5844ecaa3869acaeabd695afd41c113e63690
Issue-ID: CCSDK-2144
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
ansible-server/src/main/ansible-server/RestServer.py

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use