Table of Contents
- Description
- Requirements
- How to use
- Examples
- Resources
- Known Issues
- How to obtain support
- Contributing
- License
SAP Automation Pilot is a low-code/no-code automation engine that's part of the SAP Business Technology Platform. It's goal is to simplify and automate complex manual processes in order to minimize the operational effort behind any cloud solution in the SAP BTP.
This repository contains example Automation Pilot commands which demonstrate the automation of various scenarios such as:
- Remediation & maintenance procedures
- Health checking
- Root cause analysis
- Mass operations
- And many more...
These examples can be used with little to no changes or they can be modified to better fit the user's scenarios.
🎬 SAP Automation Pilot - Introduction
To use the examples in this repository, you'll need SAP Automation Pilot tenant. The easiest way to get one is with SAP BTP trial:
- Tutorial: Get a Free Account on SAP BTP Trial
- Tutorial: Setup Automation Pilot in SAP BTP
- Automation Pilot Initial Setup Documentation
ℹ️ Each example might have additional requirements. They will described in details in the example's README.
Each example consists of a catalog.json
file. To get started, you'll need to import the contents of this file in your SAP Automation Pilot tenant by performing the following steps:
- Copy the content of the
catalog.json
file for the example that you want to use - Go to your SAP Automation Pilot tenant and navigate to
My Catalogs
- Click on
Import
in the upper right corner - Paste the catalog's content and import it
More information on how to import a catalog can be found in the documentation.
After importing, you'll see a new catalog tile - Automation Pilot Examples. From there, you can navigate to all commands and inputs which are part of the catalog.
ℹ️ All examples in this repository are part of the Automation Pilot Examples catalog.
Example | Description |
---|---|
Update HANA Cloud | Automatically update the HANA Cloud database to the latest patch version, to the next or most recent QRC version |
Mass Stop/Start HANA Cloud | Stop or start all HANA Cloud databases across your entire BTP account |
Check HANA Cloud Backup | Check regularly whether there was a recent backup of a SAP HANA Cloud database |
Check HANA Cloud Audit Logs | Check regularly for any suspicious audit log entries in a SAP HANA Cloud database |
Check HANA Cloud Availability | Check regularly whether the HANA Cloud database is currently available |
Example | Description |
---|---|
Create and Configure BTP Subaccount | Create a new BTP subaccount, configure entitlements and setup essential service instances |
Setup Cloud Foundry BTP Environment | Enable the Cloud Foundry environment, create a space and setup a service instance |
Grant Privileges | Grant privileges to users on subaccount, organization and space level |
Reassign Identity Provider | Migrate all users on BTP subaccount level from one identity provider to another |
Example | Description |
---|---|
✨ Cloud Foundry Apps Insights | Effortlessly identify the state of your Cloud Foundry applications powered by Gen AI |
Mass Restart CF Apps | Restart all applications in a given Cloud Foundry space |
Mass Stop/Start CF Apps | Stop or start all Cloud Foundry applications across your entire BTP account |
CF resource quota notifications | Get insights about Cloud Foundry resource usage via Alert Notification service |
Example | Description |
---|---|
Auto Scale Neo App | Automatically scales up a Neo application and monitors it over time, potentially scaling it back down |
Example | Description |
---|---|
HTTP Request via Script | Perform HTTP requests with large timeouts by utilizing the ExecuteScript command |
Use Custom Python Package | Install and use custom Python package in a script |
Use Custom NPM Package | Install and use custom NPM package in a NodeJS script |
Use make and helm | Pull git repo and use make and helm to deploy the helm chart to kubernetes cluster |
Example | Description |
---|---|
Backup Catalog to GitHub | Backup catalog's content to GitHub |
Example | Description |
---|---|
Transform Data | Transform Data between different formats - JSON, XML, YAML, and CSV |
Trigger and Collect Outputs Batching | Trigger Multiple Executions in Batches and Collect their Outputs |
Pretty Print XML | Pretty Print XML Data |
Example | Description |
---|---|
Advanced Availability Check | Enables comprehensive monitoring, tracking of Service Level Agreements (SLAs) and data visualization within the Dynatrace platform. |
Check out the following resources if you want to get familiar with Automation Pilot:
No known issues.
Create an issue in this repository if you find a bug or have questions about the content.
For additional support, ask a question in SAP Community.
If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.
Copyright (c) 2023 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.