Architecture #14054
Updated by Alexis Mousset almost 6 years ago
<pre>
tests/dev/configuration.properties
599:bin.emergency.stop=/opt/rudder/bin/cfe-red-button.sh
packages/rudder-webapp/debian/rules
100: dh_install --SOURCEDIR=$(CURDIR)/SOURCES/rudder-sources/rudder/rudder-core/src/test/resources/script/ cfe-red-button.sh /opt/rudder/bin/
packages/rudder-webapp/SPECS/rudder-webapp.spec
302:cp %{_sourcedir}/rudder-sources/rudder/rudder-core/src/test/resources/script/cfe-red-button.sh %{buildroot}%{rudderdir}/bin/
doc/10_installation/05_requirements/05_requirements.txt
49:// include::../glossary/big-red-button.txt[]
rudder/rudder-web/src/main/resources/configuration.properties.sample
551:bin.emergency.stop=/opt/rudder/bin/cfe-red-button.sh
doc/src/reference/dependencies/rudder-repo/rudder-web/src/main/resources/configuration.properties.sample
551:bin.emergency.stop=/opt/rudder/bin/cfe-red-button.sh
</pre>
<pre>
find . -name cfe-red-button.sh
./rudder/rudder-core/src/test/resources/script/cfe-red-button.sh
</pre>
<pre>
rudder-web/src/main/resources/configuration.properties.sample
548:# path to the script/binary that allows emergency orchestrator stop
551:bin.emergency.stop=/opt/rudder/bin/cfe-red-button.sh
rudder-web/src/main/webapp/templates-hidden/emergency_stop.html
8: <emergency-panel>
10: <button id="openAlert"><emergency-images></emergency-images></button>
16: <h1><emergency-title></emergency-title></h1>
20: <emergency-body></emergency-body>
29: <emergency-button></emergency-button>
39: </emergency-panel>
rudder-web/src/main/scala/bootstrap/liftweb/RudderConfig.scala
238: val BIN_EMERGENCY_STOP = config.getString("bin.emergency.stop")
rudder-web/src/main/scala/com/normation/rudder/web/snippet/EmergencyStop.scala
55: List("templates-hidden", "emergency_stop")
56: , "emergency-panel"
76: case ButtonReleased => //show the emergency stop
78: "emergency-button" #> SHtml.submit("Confirm", () => stop)
79: & "emergency-body" #> <h2>This button can be used to force a shutdown of the whole Rudder infastructure. Please use with caution.</h2>
80: & "emergency:img" #> <img src={"/" + StaticResourceRewrite.prefix + "/images/btnAlert.jpg"}/>
81: & "emergency-title" #> Text("Emergency system shutdown")
86: "emergency-button" #> SHtml.submit("Start", () => start,
87: ("id", "emergencyStartButton"),
88: ("class", "emergencyButton"),
90: & "emergency-body" #> <h2>Restart the Rudder Infrastructure.</h2>
91: & "emergency:img" #> <img src={"/" + StaticResourceRewrite.prefix + "/images/btnAccept.jpg"}/>
92: & "emergency-title" #> Text("Unlock and restart the orchestrator")
</pre>