![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@sap-ux/abap-deploy-config-inquirer
Advanced tools
Prompts module that can provide prompts for the abap deployment config writer
Provides Inquirer based end-user prompting to retrieve the ABAP deployment configuration for an application. This involves acquiring a connection to the chosen backend system and retrieving the associated packages and transport requests for the system.
Npm
npm install --save @sap-ux/abap-deploy-config-inquirer
Yarn
yarn add @sap-ux/abap-deploy-config-inquirer
Pnpm
pnpm add @sap-ux/abap-deploy-config-inquirer
Prompts may be retrieved using getPrompts
and then executed in another prompting module that supports inquirer
type prompts.
getPrompts
is provided to allow consumers to access prompts. There may be cases where these can be transformed to support other prompting frameworks. Most prompt configuration is possible via AbapDeployConfigPromptOptions
and calling prompt
. This is the recommended approach.
Configurability of prompts is entirely controlled using the AbapDeployConfigPromptOptions
parameter.
See Inquirer.js for valid default properties.
import type { InquirerAdapter } from '@sap-ux/inquirer-common';
import type { AbapDeployConfigAnswers, AbapDeployConfigPromptOptions } from '@sap-ux/abap-deploy-config-inquirer';
import { prompt as abapDeployConfigPrompt } from '@sap-ux/abap-deploy-config-inquirer';
import { generate as generateAbapDeployConfig } from '@sap-ux/odata-service-writer'
const promptOptions = {
backendTarget: {
abapTarget: {
url: 'https://example.com',
client: '100',
scp: false
},
serviceProvider: serviceProvider, // connected abap service provider
type: 'application'
}
};
/**
* Pass an Inquirer prompt function https://www.npmjs.com/package/inquirer#methods
*/
const inqAdaptor = {
prompt: this.prompt.bind(this) // the inquirer prompting function, here we use the generators reference
};
const abapDeployConfigAnswers: AbapDeployConfigAnswers = await abapDeployConfigPrompt(
inqAdaptor as InquirerAdapter,
promptOpts
);
const projectDir = join(__dirname, 'testapp');
await generateAbapDeployConfig(
projectDir,
{
target: {
url: abapDeployConfigAnswers.url,
client: abapDeployConfigAnswers.client,
scp: abapDeployConfigAnswers.scp,
destination: abapDeployConfigAnswers.destination
},
app: {
name: abapDeployConfigAnswers.name,
description: abapDeployConfigAnswers.description,
package: abapDeployConfigAnswers.package,
transport: abapDeployConfigAnswers.transport
},
index: abapDeployConfigAnswers.index
},
{
baseFile: '/path/to/base/config', // e.g ui5.yaml
deployFile: '/path/to/deploy/config', // e.g ui5-deploy.yaml
},
this.fs
);
Read License.
SAP UI5 Application Inquirer Prompting Generator Deployment
FAQs
Prompts module that can provide prompts for the abap deployment config writer
The npm package @sap-ux/abap-deploy-config-inquirer receives a total of 0 weekly downloads. As such, @sap-ux/abap-deploy-config-inquirer popularity was classified as not popular.
We found that @sap-ux/abap-deploy-config-inquirer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.