SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →Starting point

SAP-samples/automation-pilot-examples

Example SAP Automation Pilot commands, one importable catalog.json per scenario, for remediation, health checking, root cause analysis and mass operations.

SAP Automation Pilot is a low-code/no-code automation service on SAP BTP, and this repository collects example commands for it: each scenario is a folder holding a catalog.json whose content is pasted into the service's My Catalogs section. The scenarios cover remediation and maintenance procedures, health checking and monitoring, root cause analysis, mass operations and integration, and the sections group them partly by the product they target, among them SAP HANA Cloud, BTP management, SAP Cloud ALM, Cloud Foundry, Kubernetes and Neo, and partly by technique, with HTTP, scripting, utility commands and an availability check. The repository calls the examples illustrative and puts the review, the customisation and the testing in a non-productive environment on the user. Nothing here runs without access to SAP Automation Pilot itself.

Facts

Last pushLicenceApache-2.0

Where it sits

Lives in
Demonstrates
Operations automationBTPOperations automationcapabilityActing on a running landscape without someone at the console: an alert routed to where a person or a system will pick it up, and a command that troubleshoots or remediates when it arrives. [Logging](capability:logging), [telemetry](capability:telemetry) and [health checks](capability:health-checks) observe; this acts on what they report. Running an application's own recurring work is [job scheduling](capability:job-scheduling).
Requires
SAP Automation PilotSAP Automation Pilotartifactthe service each catalog is imported into and the commands run in; the repository holds no runnable code of its own

Who is behind it

SAP SamplesSAP SamplesOrganisationMaintains this
In the atlas: maintains 222
@SAP-samples
maintainerAleksandar AytovPersonContributes to this
In the atlas: contributes to 1
@alexaytov
alisadermenPersonContributes to this
In the atlas: contributes to 1
@alisadermen
Biser SimeonovPersonContributes to this
In the atlas: contributes to 3
@bisinho
ivanaangelovPersonContributes to this
In the atlas: contributes to 1
@ivanaangelov
TeodorPersonContributes to this
In the atlas: contributes to 1
@ixiler
Kaloyan SimitchiyskiPersonContributes to this
In the atlas: contributes to 1
@kloyan
Nikolay PenchevPersonContributes to this
In the atlas: contributes to 1
@NPenchev03
stoyanZiPersonContributes to this
In the atlas: contributes to 1
@stoyanZi
Yusmen RashidovPersonContributes to this
In the atlas: contributes to 2
@yusmenrashidov
Zornitsa SteftchevaPersonContributes to this
In the atlas: contributes to 2
@Zornicaster
10 contributors

What it declares

Every artifact

Type
Sample
Origin
By SAP

As a sample

Form
does not say

Connections2

README

quoted from SAP-samples/automation-pilot-examples under Apache-2.0, read
SAP-samples/automation-pilot-examples/README.mdOn GitHub

SAP Automation Pilot Examples

Logo

REUSE status Contributor Covenant Activity

Table of Contents

About SAP Automation Pilot

SAP Automation Pilot is a low-code/no-code automation service that's part of the SAP Business Technology Platform (BTP). As a cloud-native automation engine, it empowers customers to independently automate various scenarios, reducing manual effort and operational complexity across their SAP landscape.

SAP Automation Pilot is designed to:

  • Automate complex manual processes with an intuitive, visual interface
  • Minimize the time and resources needed to manage cloud solutions
  • Allow customers to create and customize automation workflows themselves
  • Provide consistent, repeatable execution of critical operational tasks
  • Connect with various SAP and third-party services for comprehensive automation scenarios
  • Deliver over 300 built-in automations supported by SAP for HANA Cloud, Cloud Foundry, cTMS, BTP management, and more
  • Enable serverless execution of HTTP requests, SQL statements, and custom scripts (Python, Node.js, Shell)

About This Repository

This repository contains a curated collection of example Automation Pilot commands that demonstrate the automation of various real-world scenarios relevant to SAP customers, including:

  • Remediation & maintenance procedures
  • Health checking and monitoring
  • Root cause analysis
  • Mass operations and bulk management
  • Integration scenarios
  • And many more operational use cases

These examples serve as starting points and learning resources for customers looking to implement automation in their own environments. They showcase best practices and common patterns while demonstrating the versatility and power of SAP Automation Pilot.

Important Disclaimer

Please note: The examples provided in this repository are for illustrative purposes and are designed to help you understand the capabilities of SAP Automation Pilot. While these examples can be used in productive environments, it is the user's responsibility to:

  • Review and validate each automation thoroughly before using it
  • Enhance and customize the examples to fit your specific environment and requirements
  • Test extensively in non-productive environments before applying to production systems

These examples are provided as-is. Support is available through the community for questions, additional functionalities, and bug fixes. Users should exercise due diligence when implementing these automations in their production environments.

Learning Resources

To use the examples in this repository, you'll need access to SAP Automation Pilot. Here are the different ways to get started:

Getting Started

Importing Examples into SAP Automation Pilot

Each example in this repository is packaged as a catalog.json file that contains all the necessary automation commands and configurations. Follow these steps to import and use any example:

Step 1: Choose Your Example

Browse through the Examples section below and select the automation scenario that fits your needs.

Step 2: Import the Catalog
  1. Navigate to the example folder and copy the entire content of the catalog.json file
  2. Open your Automation Pilot service
  3. In the Automation Pilot interface, go to the My Catalogs section
  4. Import the catalog:
    • Click on Import in the upper right corner
    • Paste the copied catalog content into the import dialog
    • Click Import to add the catalog to your tenant
Step 3: Access Your Imported Examples

After successful import, you'll see a new catalog tile labeled "Automation Pilot Examples" in your catalogs overview.

Additional Resources

ℹ️ Note: All examples in this repository are part of the "Automation Pilot Examples" catalog. You only need to import each example's catalog.json once to access all its commands.

Examples

HANA Cloud
ExampleDescription
HANA Cloud Lifecycle ManagementComprehensive lifecycle management for HANA Cloud instances in the Other Environment (subaccount level) with 31 commands covering instance operations, backup & recovery, snapshots, configuration, upgrades, and Elastic Compute Nodes (ECN)
Update HANA CloudAutomatically update the HANA Cloud database to the latest patch version, to the next or most recent QRC version
Mass Stop/Start HANA CloudStop or start all HANA Cloud databases across your entire BTP account
Check HANA Cloud BackupCheck regularly whether there was a recent backup of a SAP HANA Cloud database
Check HANA Cloud Audit LogsCheck regularly for any suspicious audit log entries in a SAP HANA Cloud database
Check HANA Cloud AvailabilityCheck regularly whether the HANA Cloud database is currently available
Rotate HANA Cloud Database CredentialsAutomate the rotation of credentials for a HANA Cloud database
Run HANA Cloud Stored ProcedureTrigger a stored procedure in HANA Cloud asynchronously and then continuously poll its status until completion
BTP Management
ExampleDescription
Create and Configure BTP SubaccountCreate a new BTP subaccount, configure entitlements and setup essential service instances
Setup Cloud Foundry BTP EnvironmentEnable the Cloud Foundry environment, create a space and setup a service instance
Grant PrivilegesGrant privileges to users on subaccount, organization and space level
Reassign Identity ProviderMigrate all users on BTP subaccount level from one identity provider to another
Remove Inactive Subaccount UsersIdentify and remove inactive users from a BTP subaccount
SAP Cloud ALM
ExampleDescription
SAP Cloud Connector Connection StatusMonitor and push on-premise endpoint connectivity status via SAP Cloud Connector to Cloud ALM Health Monitoring (includes scheduling guidance)
Cloud Foundry
ExampleDescription
✨ Cloud Foundry Apps InsightsEffortlessly identify the state of your Cloud Foundry applications powered by Gen AI
Mass Restart CF AppsRestart all applications in a given Cloud Foundry space
Mass Stop/Start CF AppsStop or start all Cloud Foundry applications across your entire BTP account
CF resource quota notificationsGet insights about Cloud Foundry resource usage via Alert Notification service
Check CF Certificate ExpirationMonitor certificate expiration in Cloud Foundry service bindings to prevent outages
Kubernetes
ExampleDescription
Execute Script Via Kubernetes JobExecute a custom script within a Kubernetes Job in a customer-owned Kubernetes cluster
Neo
ExampleDescription
Auto Scale Neo AppAutomatically scales up a Neo application and monitors it over time, potentially scaling it back down
HTTP
ExampleDescription
HTTP Request With OAuth Client CredentialsPerform HTTP requests to endpoints requiring OAuth 2.0 authentication using client credentials
HTTP Request via SAP Cloud ConnectorPerform HTTP requests to internal endpoints via SAP Cloud Connector
Execute a SAP Host Agent Operation via SAP Cloud ConnectorExecute a SAP Host Agent Operation in an internal environment via SAP Cloud Connector
Scripting
ExampleDescription
HTTP Request via ScriptPerform HTTP requests with large timeouts by utilizing the ExecuteScript command
Use Custom Python PackageInstall and use custom Python package in a script
Use Custom NPM PackageInstall and use custom NPM package in a NodeJS script
Use make and helmPull git repo and use make and helm to deploy the helm chart to kubernetes cluster
Terraform with BTP ProviderUse Terraform with the BTP Provider
Utility Commands
ExampleDescription
Transform DataTransform Data between different formats - JSON, XML, YAML, and CSV
Convert JSON to HTML TableConvert JSON array of objects to HTML table
Trigger and Collect Outputs BatchingTrigger Multiple Executions in Batches and Collect their Outputs
Pretty Print XMLPretty Print XML Data
Availability Check
ExampleDescription
Advanced Availability CheckEnables comprehensive monitoring, tracking of Service Level Agreements (SLAs) and data visualization within the Dynatrace platform.

How to obtain support

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.

Contributing

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.

License

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.

Apache-2.0, read

Details

Sources3
Added by handdiscovered herechecked
github.com/SAP-samples/automation-pilot-examplestree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainbtp, operations-and-runtime
Contributors10
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:sap-samples-automation-pilot-examples
JSON
/artifacts/sap-samples-automation-pilot-examples.json
MCP
Connecting an agent