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
Usage in CI
When deploying from CI environment, credentails can be configured using the following environment variables:
Notes
- It is highly recommended to work with a technical user in the CI environment.
- If the user profile requires a two-factor authentication, then the password should be concatenated with the device passcode.
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
Deploy extension based on extension.json file:
wex deploy -e <Application Studio host>
Deploy specific extension file:
wex deploy -e <Application Studio host> -f <path to extension file>
Deploy with verbose:
wex deploy -e <Application Studio host> -f <path to extension file> --verbose