@sapse/business-application-studio-extension-management

1.2.0 • Public • Published

SAP Business Application Studio Extension Management

@sapse/business-application-studio-extension-management is a command-line interface (CLI) for deploying simple extensions to SAP Business Application Studio Extension Management.

Prerequisites

Installation

test Run the following command in your terminal: npm install -g @sapse/business-application-studio-extension-management

Deploying Your Extension from SAP Business Application Studio

When deploying an extension from SAP Business Application Studio, you don't need to enter your dev space credentials or environment. The CLI deploys the extension to your SAP Business Application Studio subaccount if you are logged in. You must have an extension deployer role.

Deploying Your Extension from a Continuous Integration (CI) Environment

When deploying from a Continuous Integration (CI) environment, credentials can be configured using the following environment variables:

  • WING_USER
  • WING_PASSWORD

Notes

  • It is highly recommended to work with a technical user in a CI environment.
  • If the user profile requires two-factor authentication, open wex from your SAP Business Application Studio dev space or enter the credentials of a technical user.

Extension File

Create an extension file. For example, "simple-extension.json"::

{
  "apiVersion": "1",
  "name": "extension-test",
  "version": "0.0.1",
  "yeomanPackages": [
    {
      "name": "generator-jhipster",
      "versionRange": "6.2.0"
    }
  ],
  "vscodeExtensions": [
    {
      "name": "vscode-prettier",
      "versionRange": "2.3.5",
      "source": "npm"
    }
  ]
}

Deploy Extension Command

Deploy the extension based on the "extension.json" file:

wex deploy -e <SAP Business Application Studio host>

Deploy a specific extension file:

wex deploy -e <SAP Business Application Studio host> -f <path to extension file>

Deploy with verbose:

wex deploy -e <SAP Business Application Studio host> -f <path to extension file> --verbose

Deploy the specific extension file to your subaccount from your SAP Business Application Studio dev space:

wex deploy -f <path to extension file>

Readme

Keywords

none

Package Sidebar

Install

npm i @sapse/business-application-studio-extension-management

Weekly Downloads

16,904

Version

1.2.0

License

SAP

Unpacked Size

19.7 kB

Total Files

9

Last publish

Collaborators

  • sapnaas
  • sap_extncrepos