-
Notifications
You must be signed in to change notification settings - Fork 0
Embedded Job
The ability to put a run button on a web page, in an email, or a wiki allows any resourceful system administrators a new way to integrate RunDeck into their environment. Place a run button next to a key performance graph or in a standard operating procedure wiki page and you can make the information actionable with the security and traceability of RunDeck. The opportunity for new and unique ways of integrating RunDeck become possible.
Embedding a Job makes available the following through the embedded widget
- The FQJN - Fully Qualified Job Name. This includes the server hosting it.
- A button to run the job controlled by the servers ACL
- An Info icon that takes the user to the Job's RunDeck page with the full context of RunDeck.
- The form inputs that would need to be entered to run the job
- The status of the Job as it's currently represented on the server
- A summary of the last run
Looked at:
- Google Analytics
- Google Maps
- Vimeo
- YouTube
- Survey Monkey
Vimeo, YouTube, Google Maps all use an iframe. The one thing that stands out is that these are fixed sized embedded widgets, something that might be awkward with a variable sized widget.
Analytics is different, it uses a script tag, but then it doesn't have a UI.
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
pageTracker._trackPageview();
</script> <?php
// End Analytics tracking code
?>
I looked at Survey Monkey and they use a div tag with a script tag.
<div id="surveyMonkeyInfo"><div>
<script src="http://www.surveymonkey.com/jsEmbed.aspx?sm=Y6L8WQa_2bPE_2fmR_2b4VvIWqmw_3d_3d">
</script>
</div>
Create your <a href="http://www.surveymonkey.com/">free online surveys</a> with SurveyMonkey, the world's leading questionnaire tool.</div>
Which renders as such:
The one thing that pops out is the scrollbar for the survey. It doesn't appear seamless in terms of integration with the page.