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
Léo-Paul Géneau
slapos.core
Commits
e611771a
Commit
e611771a
authored
Oct 17, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Invoke more alarms from erp5_promise after configuration
parent
a8720d1a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator/BusinessConfiguration_invokePromiseAlarmList.xml
...igurator/BusinessConfiguration_invokePromiseAlarmList.xml
+8
-1
master/bt5/vifib_configurator/bt/revision
master/bt5/vifib_configurator/bt/revision
+1
-1
No files found.
master/bt5/vifib_configurator/SkinTemplateItem/portal_skins/vifib_configurator/BusinessConfiguration_invokePromiseAlarmList.xml
View file @
e611771a
...
@@ -57,9 +57,16 @@
...
@@ -57,9 +57,16 @@
configurator level, by providing a list of \n
configurator level, by providing a list of \n
alarms to be invoked always.\n
alarms to be invoked always.\n
"""\n
"""\n
alarm_to_solve_list = [\'promise_certificate_autority_tool\',\n
\'promise_conversion_server\'\n
\'promise_kumofs_server\'\n
\'promise_mailhost_configuration\'\n
\'promise_memcached_server\']\n
\n
\n
for alarm in context.portal_alarms.contentValues():\n
for alarm in context.portal_alarms.contentValues():\n
if alarm.getId().startswith("promise_vifib"):\n
alarm_id = alarm.getId()\n
if alarm_id.startswith("promise_vifib") or \\\n
alarm_id in alarm_to_solve_list:\n
alarm.solve()\n
alarm.solve()\n
</string>
</value>
</string>
</value>
</item>
</item>
...
...
master/bt5/vifib_configurator/bt/revision
View file @
e611771a
31
32
\ No newline at end of file
\ No newline at end of file
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