SAP Business Application Studio Extension Management
@sapse/business-application-studio-extension-management is cli to deploy simple extension to SAP Business Application Studio Extension Management.
Prerequisites
Installation
Run on your terminal
npm install -g @sapse/business-application-studio-extension-management
Configuration
Create configuration file with yours environment configuration.
Variables client_id, client_secret and authentication_url can be taken from SCP cockpit (examples inlined):
sub-account (webide-system) -> app (ci) -> Authorization & Trust Management -> xsuaa (xsuaa-ci)
Set the following environment variables:
Extension file
Create your simple extension file.
For example simple-extension.json:
{
"apiVersion": "1",
"name": "extension-test",
"namespace": "ext-tenantID",
"version": "0.0.1",
"yeomanPackages": [
{
"name": "generator-jhipster",
"versionRange": "6.2.0"
}
],
"vscodeExtensions": [
{
"name": "vscode-prettier",
"versionRange": "2.3.5",
"artifactory": "npm"
}
]
}
Deploy extension command
Run on your terminal the deploy command:
wex deploy -c <Path: wex-configuration.yaml> -f <Path: extension-data.yaml>