btp-cloud-foundrylisted
Install: claude install-skill williamcorrea23/sap-router-skill
# BTP Cloud Foundry — Deploy, Manage, & Troubleshoot
## 1. Login and Target
```bash
# Login to BTP CF API (region-specific endpoint)
cf login -a https://api.cf.us10.hana.ondemand.com
# Target specific org and space
cf target -o my-org -s dev
# Verify current target
cf target
```
## 2. Deploy Application
```bash
# Standard push (uses manifest.yml if present)
cf push my-app
# Push with custom manifest
cf push my-app -f manifest-prod.yml
# Push with specific buildpack
cf push my-app -b nodejs_buildpack
# Push without starting (for binding services first)
cf push my-app --no-start
```
## 3. Author manifest.yml
```yaml
---
applications:
- name: my-cap-app
buildpack: nodejs_buildpack
memory: 256M
disk_quota: 512M
instances: 2
routes:
- route: my-cap-app.cfapps.us10.hana.ondemand.com
services:
- my-xsuaa
- my-destination
- my-hdi-container
env:
NODE_ENV: production
CDS_ENVIRONMENT: production
health-check-type: http
health-check-http-endpoint: /health
```
## 4. Manage Services
```bash
# List marketplace services and plans
cf marketplace
cf marketplace -s xsuaa
# Create service instance
cf create-service xsuaa application my-xsuaa -c xs-security.json
cf create-service hana hdi-shared my-hdi-container
cf create-service destination lite my-destination
# Bind service to app
cf bind-service my-app my-xsuaa
# Create and view service keys
cf create-service-key my-xsuaa my-key
cf service-key my-xsuaa my-key
# List all services in space
cf s