Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arnaud Véron
slapos.core
Commits
1e61c969
Commit
1e61c969
authored
Mar 28, 2023
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapproxy: Fix hateoas metadata to match ERP5
parent
78c6a957
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
slapos/proxy/views.py
slapos/proxy/views.py
+6
-6
No files found.
slapos/proxy/views.py
View file @
1e61c969
...
...
@@ -1095,32 +1095,32 @@ def hateoas_partitions(partition_reference):
},
'my_reference'
:
{
'type'
:
'StringField'
,
'key'
:
'
partition
_reference'
,
'key'
:
'
field_my
_reference'
,
'default'
:
partition
[
'partition_reference'
],
},
'my_slap_state'
:
{
'type'
:
'StringField'
,
'key'
:
'
requested
_state'
,
'key'
:
'
field_my_slap
_state'
,
'default'
:
partition
[
'requested_state'
],
},
'my_text_content'
:
{
'type'
:
'StringField'
,
'key'
:
'
xml
'
,
'key'
:
'
field_my_text_content
'
,
'default'
:
partition
[
'xml'
],
},
'my_connection_parameter_list'
:
{
'type'
:
'StringField'
,
'key'
:
'
connection_xml
'
,
'key'
:
'
field_my_connection_parameter_list
'
,
'default'
:
partition
[
'connection_xml'
],
},
'my_url_string'
:
{
'type'
:
'StringField'
,
'key'
:
'
software_release
'
,
'key'
:
'
field_my_url_string
'
,
'default'
:
partition
[
'software_release'
],
},
'my_source_reference'
:
{
'type'
:
'StringField'
,
'key'
:
'
software_typ
e'
,
'key'
:
'
field_my_source_referenc
e'
,
'default'
:
partition
[
'software_type'
],
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment