
Manage changes with Omni's software development lifecycle controls
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Hello everyone, my name is Connor Omara, I'm a solutions engineer at Omni. Today I'll show you how we implement software development lifecycle best practices at Omni. This helps our customers easily test changes and prepare for publication so that nothing breaks during deployment. To demonstrate this, I will show Omni features such as branches, drafts, schema updates, and working with the transform tool.
In this case, it's DBT, which allows you to confidently make and test changes. As an example, I have a dashboard in Omni called “Ship It” with shipping KPIs such as shipping time, distribution, and geography. Today I will show you how to change the basic data of a dashboard without damaging the dashboard itself. To make changes, let's go to DBT Cloud and edit the data model.
So, we're in DBT Cloud, this is our "shipped order items" model, which is the base table for data visualization in Omni. We will change the units of measure for the shipping time field from days to hours. After that, we'll build this on my development branch. So, this will be a different scheme than what we see in a production environment.
Now I'm back to my dashboard in Omni, which uses the DBT model I just edited . I can go into the workbook and connect to the branch here. So, let's go to the branch and name it " Connor_new_dbt_model_edits". We will redirect the link to another DBT environment. If I switch from the production environment to mine, you'll see that SQL restarts, pointing to the new schema.
We will see metrics and values that are more like hours than days. Now I will update the data model on my branch so that the label changes from " days" to "hours". It's a simple change, but I also want to make some visual adjustments. For example, change the color of the graph from red to purple, and the text next to the KPI from " days" to "hours."
Very simple changes, but I can see them in my control panel and make sure they work. Finally, I want to go to the control panel and check if everything is working as expected. I see that the distribution is now displayed in hours. My map is still working properly, with the new range, and looks ready to go. Now that I have updated the content for the changes in DBT, I can go back to DBT and push those changes to production.
I will create a commit and also open a pull request here in DBT. So, we'll create this query and also merge it. I'll write that I'm changing the units of measure, create a query, and after merging, it will trigger a workflow in DBT Cloud to update our schema. Now that the task has been successfully completed in DBT Cloud, I will go back to Omni and update the schema to pull these changes into Omni.
Once we exit the branch and move to our shared model level, we can go back and update the schema in Omni. I'll click on this button and select update schema. You will see how these changes are being pulled together in Omni . This could have been an automated step via an API call in Omni based on the CI/CD process of our DBT launch.
I'm just doing this for demonstration purposes, to show what it looks like. Now that the schema update is complete, it reflects the changes I made to DBT. I want to push these changes from my branch to production so that the content doesn't break. So I can just click the merge branch button. When merging a branch, we will combine changes in the data model and changes in the draft with the latest version of the schema.
So I'm going to post this thread. It will commit the changes to my shared Omni model Git repository, and the changes in the dashboard will be available in production without any disruptions. Now I'll merge this, review the latest version of the control panel, and refresh the cache so it works with the most current data. And now we'll see how we work with delivery times in hours, as well as my visualizations with my latest color charts and accompanying text.
So it's a really seamless end-to-end process of how we can track the entire software development lifecycle : switching to a branch, choosing a new DBT environment, editing the data models in OMI as well as in our visuals, then we push them to production, and when that's deployed, we publish our changes on top of them. I hope this is clear, and if you have any questions, I'll be happy to answer them.