2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-18 01:03:49 +00:00

Update the Create payloads

This change updates the Create payloads to the current payload
format, adding properties for different payload attributes and
adding comparison and string operators. Changes are also made to
the PyKMIP clients and the surrounding testing infrastructure to
reflect the payload changes. An official unit test suite for the
Create payloads has also been included, which will eventually
replace the existing Create message tests elsewhere in the test
suite.

This change prepares the Create payloads for future updates to
support KMIP 2.0.
This commit is contained in:
Peter Hamilton
2019-02-26 16:16:43 -05:00
committed by Peter Hamilton
parent a58a3a3bea
commit 30d7773d96
11 changed files with 1871 additions and 104 deletions

View File

@@ -130,8 +130,8 @@ if __name__ == '__main__':
if result.result_status.value == ResultStatus.SUCCESS:
logger.info('created object type: {0}'.format(
result.object_type.value))
logger.info('created UUID: {0}'.format(result.uuid.value))
result.object_type))
logger.info('created UUID: {0}'.format(result.uuid))
logger.info('created template attribute: {0}'.
format(result.template_attribute))
else: