Socket
Socket
Sign inDemoInstall

@sap/hdi-deploy

Package Overview
Dependencies
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap/hdi-deploy

HDI content deployment


Version published
Maintainers
0
Created

What is @sap/hdi-deploy?

@sap/hdi-deploy is an npm package designed to facilitate the deployment of database artifacts to the SAP HANA Database Infrastructure (HDI). It automates the process of deploying database objects such as tables, views, procedures, and more, making it easier to manage and maintain database schemas in SAP HANA environments.

What are @sap/hdi-deploy's main functionalities?

Deploy Database Artifacts

This feature allows you to deploy database artifacts to the SAP HANA Database Infrastructure. The code sample demonstrates how to use the @sap/hdi-deploy package to deploy a database model located in the 'db' directory with automatic undeploy and deploy options enabled.

const hdiDeploy = require('@sap/hdi-deploy');

const options = {
  model: 'db',
  autoUndeploy: true,
  autoDeploy: true
};

hdiDeploy.deploy(options).then(() => {
  console.log('Deployment successful');
}).catch((err) => {
  console.error('Deployment failed', err);
});

Undeploy Database Artifacts

This feature allows you to undeploy database artifacts from the SAP HANA Database Infrastructure. The code sample demonstrates how to use the @sap/hdi-deploy package to undeploy a database model located in the 'db' directory with the autoUndeploy option enabled.

const hdiDeploy = require('@sap/hdi-deploy');

const options = {
  model: 'db',
  autoUndeploy: true
};

hdiDeploy.undeploy(options).then(() => {
  console.log('Undeployment successful');
}).catch((err) => {
  console.error('Undeployment failed', err);
});

Check Deployment Status

This feature allows you to check the status of the current deployment. The code sample demonstrates how to use the @sap/hdi-deploy package to retrieve and log the deployment status.

const hdiDeploy = require('@sap/hdi-deploy');

hdiDeploy.getStatus().then((status) => {
  console.log('Deployment status:', status);
}).catch((err) => {
  console.error('Failed to get deployment status', err);
});

Other packages similar to @sap/hdi-deploy

FAQs

Package last updated on 25 Sep 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc