Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
@sap/xsodata
Advanced tools
Expose data from a HANA database as OData V2 service with help of .xsodata files.
Expose data from HANA database artifacts like tables or views as OData V2 service with the help of .xsodata service definition files. Starting from version 8.1.1 - XSODATA is supported only with @sap/async-xsjs library. @sap/xsjs is deprecated and no new versions will be released. see CHANGELOG
Note: XSOData was developed to provide XS Classic users using XSOData the possibility to migrate to XS Advanced on node.js. This library contains nearly the same feature set as XSOData provided on SAP HANA XS Classic. This module is already in maintenance mode and it is not planned to extend or enhance it.
If you want to create new OData services we strongly recommend to use OData V4 along with a generic CDS-OData provider.
Here you can model your consumption persistency model with CDS (Core Data Services) and expose parts or the complete
model as OData service. Such a solution is already productively available on the JAVA runtime stack.
For node.js we also provide an OData V4 solution. The development of the OData V4 node.js Library already started in 2016.
It is also planned that a generic CDS-Odata provider will be deliverd.
If you are developing an OData service for SAP Business Technology Platform, it is recommended to move to the SAP Cloud Application Programming Model (CAP).
The XSODATA solution supports HANA as a service, also support was introduced for SAP HANA Cloud Services from XSODATA v8.0.0 and above.
This module is used in the XSJS/ASYNC-XSJS shim for SAP HANA XSC Engine applications to allow the reuse of .xsodata files from XSC applications on SAP HANA XSA.
It can also be used directly in your own nodejs server application. Be aware that you use the same version of the hdb and winston node module version in your application.
So the user of the xsodata library should clean the database connection
GET Requests:
CreateUpdateDelete Requests:
Supported HTTP methods per requests type
Note:
Supports the following Features:
Supported Http Verbs:
Supports the following Features:
Supported Http Verbs:
Supports the following Features:
Supported Http Verbs:
FAQs
Expose data from a HANA database as OData V2 service with help of .xsodata files.
The npm package @sap/xsodata receives a total of 303 weekly downloads. As such, @sap/xsodata popularity was classified as not popular.
We found that @sap/xsodata 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
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.