YouTube video: https://youtu.be/zN91QeAziew The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this episode, we continue working with the Istanbul era Automated Testing Framework. In this one we work on incorporating Jasmine tests to do server-side actions and assertions. Much of this episode is spent reverse engineering and logging to figure out what structures are available to us at various points. Video Index 00:00 - Introductions 02:00 - Discussing Automated Test Framework and Server-side scripting
YouTube video:B https://youtu.be/JrVGodtzY3U The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this episode, Dave Slusher, Josh Nerius and Chuck Tomasi examine using Moment.js as a tool for putting some coherence in the Travel Tracker application where every single flight brings in: local time at origin, local time at the destination, instance local time and UTC. These can be and often are four different timezones! Can we use Moment.js to help?
YouTube video: https://youtu.be/R1Qgz51T4wI The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this episode, we work with the Sift API in order to parse emails. Specifically, the involved generation of the signature in order to validate the request is the main thrust of this session. We begin with two requests that outwardly seem the same and work through why they signatures first are different and then generate different results between using NodeJS and the integration from a ServiceNow instance.
YouTube video: https://www.youtube.com/watch?v=8_yHYAPDpvw The live coding team: josh.nerius, ctomasi This week, we returned to the topic of OAuth and learned how to generate OAuth tokens per user instead of per REST Message/Method. When calling some APIs, sharing a single token between every user in ServiceNow is not always appropriate and instead we want each user to have their own token. Examples: Calling the Dropbox API and interacting with the currently logged in user’s files Calling the GitHub API and forking repositories on behalf of the current ServiceNow user Video Index 00:00 - Intro
YouTube video: https://youtu.be/3GqFrhQD8MM The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this episode, we begin working with Dave’s Travel Tracker application and integrating with the FlightAware API to get real time status information about commercial airline flights. We do outbound integration with REST Messages and also create a Scripted REST API to accept status information via the FlightAware webhook. Video Index 02:11 - Introduction to Travel Tracker 04:47 - Introduction to FlightAware API 07:27 - Showing the Script Include with API calls 09:38 - Looking at the payload of the Flight Info webhook call 11:27 - Building the Scripted REST API 29:16 - Saving the API information back to the records 48:17 - Registering the Scripted REST endpoint with FlightAware 53:08 - Setting the alert for our flight 58:43 - Closing comments Useful Resources
YouTube video: https://www.youtube.com/watch?v=WNXaNTtaxeI The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this special early morning episode, we continue working with the Service Portal widget for the DoNow application that the members of this group are all working on. The focus this episode is to take the working frame of the widget and give it a little fit and finish to make it look more presentable using CSS. We add count badges, style them and work on styling the text of the widget.
In the developer program, we have a program where on many Fridays a group of us get together and broadcast ourselves working through code problems. If you’d like to get notification of when we go live or post a new episode, you can subscribe to our YouTube Channel. Here is a list of all the shows to date, grouped by subject matter. Note that episodes may contain multiple subjects and may appear in multiple lists.
YouTube video: https://www.youtube.com/watch?v=NyFooBktJNE The Live Coding Team: josh.nerius, dave.slusher, ctomasi In last week’s Live Coding Happy Hour, we picked up where we left off previous week and figured out how to programmatically get an OAuth Access Token from the oauth_credential table for our Bit.ly integration. Video Index 04:04 - Quick recap of what we did last week 06:59 - We want to get the token dynamically 09:13 - Exploring the oauth_credential table 22:16 - We have a working script to retrieve the token!