Forecast Flow
Forecast Flow
Introduction
Maintainer: brandi_coleman@bmc.com
This flow is ordered daily via the zzz-order process in production, and runs hourly each day.
Each day, there is also a cleanup process that removes the flow and containerized agent that it runs on.
This use case is available for the VSE CTM QA & VSE CTM PROD Demo Systems and Helix Control-M Production Demo System via the OnDemand Demo and OnDemand Helix Demo orderable services. This flow takes approximately 2 minutes to complete.
See Usage Instructions below for steps to interact with this flow.
Use Case Overview
The Forecast Flow workflow will run a simple Rest API call to collect data from OpenWeatherMap. The flow will then send the information via email to the user.
Use Case Technical Explanation
This workflow begins with an OS:Command job type that executes a REST API call to Openweather map providing a zip code and retrieving the weather data related to that zip code in json format. This output is appended to an output.json file and the dependent jobs parse this file to obtain the high temperature, city, and country. The concluding job in the flow gathers the parsed information into a weather update email to be sent as an email on-do action to the email address defined in the folder-level Control-M variable.
-
Update Control-M Folder-level variables, zip code and email, with valid values
-
Please leverage this ODD flow when you need to spin up an agent for testing purposes. SSH information will be provided in the email upon ODD completion.
To view the demo flow code-base please navigate to the Forecast Flow Git Repository
Job Types Included
- OS
Demo Environment Information
Environment | Status |
---|---|
Helix Production | Under Construction |
VSE CTM PROD | Available |
VSE CTM QA | Available |