YoVDO

Scripting and JSON Output With BTP, the SAP Business Technology Platform CLI

Offered By: SAP via YouTube

Tags

SAP Courses JSON Courses Data Processing Courses Bash Scripting Courses jq Courses

Course Description

Overview

Dive deep into scripting and JSON output with the SAP Business Technology Platform CLI (btp) in this comprehensive video tutorial. Explore advanced techniques for working with the btp CLI, including JSON output manipulation and effective scripting practices. Learn to navigate and extract data from complex JSON structures using tools like jq and fx. Discover how to leverage GUIDs for targeting subaccounts and directories, and gain insights into improving shell scripting skills with industry-standard guidelines. Master the use of bash debugging techniques and explore the powerful jqte tool for JSON exploration. Enhance your ability to interact with and manage SAP BTP resources efficiently through command-line operations and scripting.

Syllabus

Welcome and introduction
Logging in to our Hands-on SAP Dev account and examining btpgo
Looking at the tmux status configuration and how btpctx feeds the status
Examining the detail of btp get accounts/global-account
Different ways of grabbing a property value from the output subdomain
Reflecting on the trend of JSON output for commands that produce rich content
Our first use of --format json
Starting to use jq for the JSON data
Introducing fx to navigate JSON structures
Useless use of cat award!
Comparing the detailed global-account output of JSON vs non-JSON
Understanding the output for btp get accounts/global-account --show-hierarchy
Re-examining the bgu function and the btpguid script
Recognizing that we need to use GUIDs often
Using bgu to target subaccounts or directories
Referring to the Google Shell Scripting Guidelines, shellcheck and shfmt via https://qmacro.org/2020/10/05/improving-my-shell-scripting/
Using bash -x to look at what's going on in detail and digging into the btpguid main function
A brief look at jqte - a tmux-powered jq explorer


Taught by

SAP Developers

Related Courses

Введение в Linux
Bioinformatics Institute via Stepik
Linux Tools for Developers
Linux Foundation via Coursera
Using Python to Interact with the Operating System
Google via Coursera
Scripting Bash - Découverte du Langage de Programmation
Coursera Project Network via Coursera
Automation Scripts Using Bash
Coursera Project Network via Coursera