0.0.7 • Published 4 years ago
@sapse/wex v0.0.7
sap_wex
@sapse/wex is cli to deploy simple extension to SAP Application Studio.
Prerequisites
- A maintained Nodejs version.
Installation
Run on your terminal
npm install -g @sapse/wex
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:
- WING_USER
- WING_PASSWORD
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>