Commit de1b51e4 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: Include Incident on the Instance Message List

It helps on ignore the failures linked to an incident, during the Administrator Triage.
parent c7d9cd65
...@@ -425,6 +425,10 @@ ...@@ -425,6 +425,10 @@
<string>age</string> <string>age</string>
<string>Age</string> <string>Age</string>
</tuple> </tuple>
<tuple>
<string>follow_up_title</string>
<string>Incident</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -44,6 +44,7 @@ if aggregate_portal_type == "Hosting Subscription": ...@@ -44,6 +44,7 @@ if aggregate_portal_type == "Hosting Subscription":
"software_release": instance.getUrlString(), "software_release": instance.getUrlString(),
"computer_reference": computer.getReference(), "computer_reference": computer.getReference(),
"allocation_scope": computer.getAllocationScope(), "allocation_scope": computer.getAllocationScope(),
"follow_up_title": context.getFollowUpTitle(),
"message" : m, "message" : m,
"created_at": create_at, "created_at": create_at,
"since": since, "since": since,
...@@ -55,6 +56,7 @@ if aggregate_portal_type == "Hosting Subscription": ...@@ -55,6 +56,7 @@ if aggregate_portal_type == "Hosting Subscription":
"title": instance.getTitle(), "title": instance.getTitle(),
"specialise_title": hosting_subscription.getTitle(), "specialise_title": hosting_subscription.getTitle(),
"software_release": instance.getUrlString(), "software_release": instance.getUrlString(),
"follow_up_title": context.getFollowUpTitle(),
"computer_reference": "", "computer_reference": "",
"allocation_scope": "", "allocation_scope": "",
"message" : "Instance isn't allocated"})) "message" : "Instance isn't allocated"}))
......
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