Commit 1e61c969 authored by Xavier Thompson's avatar Xavier Thompson

slapproxy: Fix hateoas metadata to match ERP5

parent 78c6a957
...@@ -1095,32 +1095,32 @@ def hateoas_partitions(partition_reference): ...@@ -1095,32 +1095,32 @@ def hateoas_partitions(partition_reference):
}, },
'my_reference': { 'my_reference': {
'type': 'StringField', 'type': 'StringField',
'key': 'partition_reference', 'key': 'field_my_reference',
'default': partition['partition_reference'], 'default': partition['partition_reference'],
}, },
'my_slap_state': { 'my_slap_state': {
'type': 'StringField', 'type': 'StringField',
'key': 'requested_state', 'key': 'field_my_slap_state',
'default': partition['requested_state'], 'default': partition['requested_state'],
}, },
'my_text_content': { 'my_text_content': {
'type': 'StringField', 'type': 'StringField',
'key': 'xml', 'key': 'field_my_text_content',
'default': partition['xml'], 'default': partition['xml'],
}, },
'my_connection_parameter_list': { 'my_connection_parameter_list': {
'type': 'StringField', 'type': 'StringField',
'key': 'connection_xml', 'key': 'field_my_connection_parameter_list',
'default': partition['connection_xml'], 'default': partition['connection_xml'],
}, },
'my_url_string': { 'my_url_string': {
'type': 'StringField', 'type': 'StringField',
'key': 'software_release', 'key': 'field_my_url_string',
'default': partition['software_release'], 'default': partition['software_release'],
}, },
'my_source_reference': { 'my_source_reference': {
'type': 'StringField', 'type': 'StringField',
'key': 'software_type', 'key': 'field_my_source_reference',
'default': partition['software_type'], 'default': partition['software_type'],
}, },
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment