mirror of
https://github.com/openkmip/pykmip
synced 2025-12-15 15:53:36 +00:00
Add ApplicationSpecificInformation support to the server
This change adds ApplicationSpecificInformation attribute support to the server, allowing for the storage and retrieval of the new attribute in addition to object filtering based on its value. New unit tests have been added to cover the new changes.
This commit is contained in:
committed by
Peter Hamilton
parent
3f84a20a0c
commit
01eb144243
@@ -1248,10 +1248,10 @@ class ApplicationSpecificInformation(primitives.Struct):
|
||||
def __str__(self):
|
||||
value = ", ".join(
|
||||
[
|
||||
'"application_namespace": {}'.format(
|
||||
'"application_namespace": "{}"'.format(
|
||||
self.application_namespace
|
||||
),
|
||||
'"application_data": {}'.format(self.application_data)
|
||||
'"application_data": "{}"'.format(self.application_data)
|
||||
]
|
||||
)
|
||||
return "{" + value + "}"
|
||||
|
||||
Reference in New Issue
Block a user