Merge "Implemented number format in additional params"

This commit is contained in:
Zuul 2022-07-07 07:31:14 +00:00 committed by Gerrit Code Review
commit c9842ff16d
2 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,8 @@ keyvalue_pairs = {
{'type': 'string', 'maxLength': 1024},
{'type': 'object'},
{'type': 'null'},
{'type': 'boolean'}
{'type': 'boolean'},
{'type': 'number'}
]
}
},

View File

@ -596,6 +596,7 @@ class TestController(base.TestCase):
status='INACTIVE')
body = {"flavourId": "simple"}
body.update({"additionalParams": {"foo_number": 12}})
req = fake_request.HTTPRequest.blank(
'/vnf_instances/%s/instantiate' % uuidsentinel.vnf_instance_id)
req.body = jsonutils.dump_as_bytes(body)