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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
435b9927
Commit
435b9927
authored
Nov 21, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_cloud: ExactMatch
parent
4ab9667c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Base_getSupportRequestInProgress.py
...al_skins/slapos_cloud/Base_getSupportRequestInProgress.py
+1
-1
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/ComputePartition_propagateRemoteNode.py
...kins/slapos_cloud/ComputePartition_propagateRemoteNode.py
+3
-2
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/InstanceTree_getSoftwareProduct.py
...tal_skins/slapos_cloud/InstanceTree_getSoftwareProduct.py
+1
-1
master/bt5/slapos_cloud/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/script_Person_requestComputeNode.py
...ap_interface_workflow/script_Person_requestComputeNode.py
+1
-1
master/bt5/slapos_cloud/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/script_Person_requestNetwork.py
...n_slap_interface_workflow/script_Person_requestNetwork.py
+1
-1
No files found.
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Base_getSupportRequestInProgress.py
View file @
435b9927
...
@@ -2,7 +2,7 @@ portal = context.getPortalObject()
...
@@ -2,7 +2,7 @@ portal = context.getPortalObject()
return
portal
.
portal_catalog
.
getResultValue
(
return
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
'Support Request'
,
portal_type
=
'Support Request'
,
title
=
title
,
title
=
{
'query'
:
title
,
'key'
:
'ExactMatch'
}
,
simulation_state
=
[
"validated"
,
"submitted"
,
"suspended"
],
simulation_state
=
[
"validated"
,
"submitted"
,
"suspended"
],
causality__uid
=
context
.
getUid
(),
causality__uid
=
context
.
getUid
(),
)
)
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/ComputePartition_propagateRemoteNode.py
View file @
435b9927
...
@@ -60,8 +60,9 @@ for local_instance in local_instance_list:
...
@@ -60,8 +60,9 @@ for local_instance in local_instance_list:
validation_state
=
'validated'
,
validation_state
=
'validated'
,
destination_section__uid
=
remote_person
.
getUid
(),
destination_section__uid
=
remote_person
.
getUid
(),
follow_up__uid
=
remote_project
.
getUid
(),
follow_up__uid
=
remote_project
.
getUid
(),
title
=
'_remote_%s_%s'
%
(
local_instance
.
getFollowUpReference
(),
title
=
{
'query'
:
'_remote_%s_%s'
%
(
local_instance
.
getFollowUpReference
(),
local_instance
.
getReference
())
local_instance
.
getReference
()),
'key'
:
'ExactMatch'
}
)
)
if
remote_instance_tree
is
not
None
:
if
remote_instance_tree
is
not
None
:
...
...
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/InstanceTree_getSoftwareProduct.py
View file @
435b9927
...
@@ -26,7 +26,7 @@ if url_string:
...
@@ -26,7 +26,7 @@ if url_string:
software_type
=
portal
.
portal_catalog
.
getResultValue
(
software_type
=
portal
.
portal_catalog
.
getResultValue
(
parent_uid
=
software_product
.
getUid
(),
parent_uid
=
software_product
.
getUid
(),
title
=
context
.
getSourceReference
()
,
title
=
{
'query'
:
context
.
getSourceReference
(),
'key'
:
'ExactMatch'
}
,
portal_type
=
"Software Product Type Variation"
portal_type
=
"Software Product Type Variation"
)
)
...
...
master/bt5/slapos_cloud/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/script_Person_requestComputeNode.py
View file @
435b9927
...
@@ -31,7 +31,7 @@ if len(project_list) != 1:
...
@@ -31,7 +31,7 @@ if len(project_list) != 1:
compute_node_portal_type
=
"Compute Node"
compute_node_portal_type
=
"Compute Node"
compute_node_list
=
portal
.
portal_catalog
.
portal_catalog
(
compute_node_list
=
portal
.
portal_catalog
.
portal_catalog
(
portal_type
=
compute_node_portal_type
,
portal_type
=
compute_node_portal_type
,
title
=
compute_node_title
,
title
=
{
'query'
:
compute_node_title
,
'key'
:
'ExactMatch'
}
,
follow_up__uid
=
project_list
[
0
].
getUid
(),
follow_up__uid
=
project_list
[
0
].
getUid
(),
limit
=
2
limit
=
2
)
)
...
...
master/bt5/slapos_cloud/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/script_Person_requestNetwork.py
View file @
435b9927
...
@@ -31,7 +31,7 @@ if len(project_list) != 1:
...
@@ -31,7 +31,7 @@ if len(project_list) != 1:
computer_network_portal_type
=
"Computer Network"
computer_network_portal_type
=
"Computer Network"
computer_network_list
=
portal
.
portal_catalog
.
portal_catalog
(
computer_network_list
=
portal
.
portal_catalog
.
portal_catalog
(
portal_type
=
computer_network_portal_type
,
portal_type
=
computer_network_portal_type
,
title
=
computer_network_title
,
title
=
{
'query'
:
computer_network_title
,
'key'
:
'ExactMatch'
}
,
follow_up__uid
=
project_list
[
0
].
getUid
(),
follow_up__uid
=
project_list
[
0
].
getUid
(),
#validation_state="validated",
#validation_state="validated",
limit
=
2
)
limit
=
2
)
...
...
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