@sap/xsodata
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -1,1 +0,1 @@ | ||
{"dependencies":{"@sap/xsenv":"^1.2.6","@sap/xssec":"^1.0.0","async":"=2.1.4","big.js":"=3.1.3","body-parser":"=1.17.1","hdb":"=0.12.1","lodash":"=4.17.4","negotiator":"=0.6.1","rwlock":"=5.0.0","winston":"=2.3.0","xml-writer":"=1.6.0"},"description":"Expose data from a HANA database as OData V2 service with help of .xsodata files.","devDependencies":{"chai":"=3.5.0","chalk":"=1.1.3","expect":"=1.20.2","filter-node-package":"2.0.0","istanbul":"=0.4.4","jison":"=0.4.17","jshint":"=2.9.2","mocha":"=3.0.0","node-mocks-http":"=1.5.2","pegjs":"=0.9.0","sinon":"=1.17.5","xml2js":"=0.4.16"},"engines":{"node":"^0.12.7 || ^4.4.0 || ^6.0.0","npm":"2.x.x || 3.x.x"},"keywords":["odata","xsjs"],"main":"index.js","maintainers":[{"name":"https-support.sap.com","email":"do-not-reply@sap.com"}],"name":"@sap/xsodata","optionalDependencies":{},"readme":"XSODATA\n=======\n\nExpose data from HANA database artefacts like tables or views as OData V2 service with the help of .xsodata service definition files. \n\nNote: XSOData was developed to provide XS Classic users using XSOData the possibility to migrate to XS Advanced on node.js. \n This library contains nearly the same feature set as XSOData provided on SAP HANA XS Classic. This module is already \n in maintenance mode and it is not planned to extend or enhance it.\n \n If you want to create new OData services we strongly reoommend to use OData V4 along with a generic CDS-OData provider.\n Here you can model your consumption persistency model with CDS (Core Data Services) and expose parts or the complete\n model as OData service. Such a solution is already productively available on the JAVA runtime stack. \n \n For node.js we also provide an OData V4 solution. The development of the OData V4 node.js Library already started in 2016.\n It is also planned that a generic CDS-Odata provider will be deliverd.\n\n## Usage\n\n * This module is used in the XSJS shim for SAP HANA XSC Engine applications to\n allow the reuse of .xsodata files from XSC applications on SAP HANA XSA.\n\n * 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.\n\n## Warning\n\n * The xsodata library CHANGES the TRANSACTION ISOLATION LEVEL on the used database connection\n * The xsodata library CHANGES the SCHEMA on the used database connection\n * The xsodata library uses temporary tables for performance reasons\n * If you manually modify the db-connection/client inside xsodata-application-exits the modifications you have done\n will not be restored by the xsodata library\n \n So the user of the xsodata library should clean the database connection \n\n## Features - Overview\n\n * Automatic metadata handling based on XSOData definition and HANA db metadata artifacts\n * OData request handling with URI parsing including system query options\n * OData request/response serialization and deserialization \n * Load table records from HANA database via generated SQL queries\n * Calculation view support\n * Batch handling\n\n## Supported OData V2 Features:\n\nGET Requests:\n\n* URI0 = scheme serviceRoot \n* URI1 = scheme serviceRoot \"/\" entitySet\n* URI2 = scheme serviceRoot \"/\" entitySet \"(\" keyPredicate \")\"\n* URI6 = scheme serviceRoot \"/\" entitySet \"(\" keyPredicate \")/\" entityNavProperty\n* URI7 = scheme serviceRoot \"/\" entitySet \"(\" keyPredicate \")/$links/\" entityNavProperty\n* URI8 = scheme serviceRoot \"/$metadata\"\n* URI9 = scheme serviceRoot \"/$batch\"\n* URI15 = scheme serviceRoot \"/\" entitySet count\n\nCreateUpdateDelete Requests:\n\n* CUD - Entity\n* CUD - Link \n\n[System Query options](/documentation/supportedSystemQueryOptions.md):\n\n* $top\n* $skip\n* $filter, except for:\n * comparison of navigation properties\n* $orderby, except for:\n * comparison of navigation properties\n* $expand\n* $select\n* $format\n * only json supported\n* $inlinecount\n\n[Supported HTTP methods per requests type](/documentation/supportedMethods.md)\n\n## Supported XS1 OData features (defined in the XSOData file):\n\n * Definition of OData schema namespace\n * OData Service exposure\n * Metadata caching\n * Create/update/delete restrictions of OData requests\n * Exposure of table and views (including calculation views) as EntitySet\n * Property Projection: Expose a subset of the table columns as properties of an OData EntityType\n * [Automatic OData key generation] (/documentation/generatedKeys.md), e.g. required for aggregated views\n * Simple and complex associations \n * [Data aggregation] (/documentation/aggregations.md)\n * Parameter EntitySets for calculation views\n * ETAG handling\n * Nullable properties\n * Cache Control via cache header\n * [Custom exits] (/documentation/customExits.md) (JavaScript and SQL Script) for modification and validation requests\n * Custom exits in batch requests\n * Uses only UTF-8\n * Uses \"content-type: application/json\" for CREATE, UPDATE, DELETE\n * Expose data only via JSON format (ATOM format is not supported)\n * Supported types and type mapping [see here](/documentation/typemapping.md) \n * [Supported XSOData features by OSDL] (/documentation/xsodataEbnf.md) \n \n\nNote: \n\n* XS1 applications using analytical views, attribute views or calculation views <= SAP HANA SPS 10 have to migrate first their views to the new calculation views of SPS 11. \n* Authentication/Authorisation is not handled by XSOData node module and has to be done by the application using the node module. \n* [The module can be used in development mode and productive mode] (/documentation/modes.md)\n* [Debug View is available when using the module in development mode] (/documentation/debugView.md)\n\n## Features per HANA DB Artifact\n\n### Table\n\nSupports the following Features:\n- [Explicit Aggregations](/documentation/aggregations.md#explicit-aggregations)\n- [Generated Local Key](/documentation/generatedKeys.md)\n \nSupported Http Verbs:\n- GET, PUT, POST, DELETE\n\n### SQL View\n\nSupports the following Features:\n- [Explicit Aggregations](/documentation/aggregations.md#explicit-aggregations)\n- [Generated Local Key](/documentation/generatedKeys.md)\n\nSupported Http Verbs:\n- GET\n\n### XS Advanced Calculation View\n\nSupports the following Features:\n- [Implicit Aggregations](/documentation/aggregations.md#implicitderived-aggregations)\n- [Generated Local Key](/documentation/generatedKeys.md)\n\nSupported Http Verbs:\n- GET\n\n## Samples\n\n* [xsodata code samples without xsjs](/documentation/code_samples_pure_node/readme.md)\n* [Calcview](/documentation/calcviewSample.md)\n \n\n## [Limitations] (/documentation/limitations.md)\n\n## New Features with SAP HANA XSA SPS 12:\n\n* Support for $links requests\n* Custom exits for $links requests (modification requests only)\n* Support for node.js version 0.12.X & 4.4.X\n\n## New Features with SAP HANA XSA 2.0 :\n\n* [Annotations in metadata](/documentation/annotations.md)\n* [Scope based authorization checks](/documentation/authorization.md)\n* Support for node.js version 4.4.X & 6.2.X\n\n## Modifications with SAP HANA XSA 2.0 SPS1:\n\n* Switch to scoped package name @sap/xsodata\n* Support for node.js version 4.X.X & 6.9.X\n","readmeFilename":"README.md","repository":{"type":"git"},"scripts":{"all-tests":"node ./node_modules/mocha/bin/_mocha test/**/test*.js test_apps/test_**/**/test*.js","all-tests-jenkins":"node ./node_modules/mocha/bin/_mocha 'test/**/test*.js' 'test_apps/test_**/**/test*.js'","cover":"istanbul cover -x test/**/* -x test_apps/**/* --report lcov --dir ./_coverage ./node_modules/mocha/bin/_mocha -- -R spec test/**/test*.js test_apps/**/test*.js","cover-jenkins":"istanbul cover ./node_modules/mocha/bin/_mocha 'test/**/test*.js' 'test_apps/**/test*.js' && istanbul check-coverage ./_coverage/coverage.json","cover-scenario-tests":"istanbul cover -x test_apps/**/* --report lcov --dir ./_coverage ./node_modules/mocha/bin/_mocha -- -R spec test_apps/**/test*.js","cover-unit-tests":"istanbul cover -x test/**/* --report lcov --dir ./_coverage ./node_modules/mocha/bin/_mocha -- -R spec test/**/test*.js","env":"env","gen":"npm run genfilter && npm run genorderby && npm run gensegment && npm run genxso && npm run genxml && npm run genDateTimeParser","genDateTimeParser":"pegjs lib/grammars/dateTimeToJson.peg lib/parsers/dateTimeParser.js","genfilter":"jison lib/grammars/filter.jison -o lib/parsers/jison_filter_parser.js","genorderby":"jison lib/grammars/orderby.jison -o lib/parsers/jison_orderby_parser.js","gensegment":"jison lib/grammars/segment.jison -o lib/parsers/jison_segment_parser.js","genxml":"pegjs lib/grammars/xml2json.peg lib/parsers/xml2JsonParser.js","genxso":"pegjs lib/grammars/xsodata.peg lib/parsers/peg_xsodata_parser.js","lint":"jshint .","prepareRelease":"clean-packages && npm prune --production && ls && cat package.json","pretest":"npm -g ls --depth=0 && npm ls --depth=0","scenario-tests":"node ./node_modules/mocha/bin/_mocha test_apps/test_**/**/test*.js","serve":"node test_apps/server","serve-debug":"node-debug test_apps/server","test":"npm run unit-tests","unit-tests":"node ./node_modules/mocha/bin/_mocha test/**/test*.js"},"version":"2.0.6","license":"SEE LICENSE IN developer-license-3.1.txt"} | ||
{"dependencies":{"@sap/xsenv":"^1.2.6","@sap/xssec":"^1.0.0","async":"=2.1.4","big.js":"=3.1.3","body-parser":"=1.17.1","hdb":"=0.12.2","lodash":"=4.17.4","negotiator":"=0.6.1","rwlock":"=5.0.0","winston":"=2.3.0","xml-writer":"=1.6.0"},"description":"Expose data from a HANA database as OData V2 service with help of .xsodata files.","devDependencies":{"chai":"=3.5.0","chalk":"=1.1.3","expect":"=1.20.2","filter-node-package":"2.0.0","istanbul":"=0.4.4","jison":"=0.4.17","jshint":"=2.9.2","mocha":"=3.0.0","node-mocks-http":"=1.5.2","pegjs":"=0.9.0","sinon":"=1.17.5","xml2js":"=0.4.16"},"engines":{"node":"^0.12.7 || ^4.4.0 || ^6.0.0","npm":"2.x.x || 3.x.x"},"keywords":["odata","xsjs"],"main":"index.js","maintainers":[{"name":"https-support.sap.com","email":"do-not-reply@sap.com"}],"name":"@sap/xsodata","optionalDependencies":{},"readme":"XSODATA\n=======\n\nExpose data from HANA database artefacts like tables or views as OData V2 service with the help of .xsodata service definition files. \n\nNote: XSOData was developed to provide XS Classic users using XSOData the possibility to migrate to XS Advanced on node.js. \n This library contains nearly the same feature set as XSOData provided on SAP HANA XS Classic. This module is already \n in maintenance mode and it is not planned to extend or enhance it.\n \n If you want to create new OData services we strongly reoommend to use OData V4 along with a generic CDS-OData provider.\n Here you can model your consumption persistency model with CDS (Core Data Services) and expose parts or the complete\n model as OData service. Such a solution is already productively available on the JAVA runtime stack. \n \n For node.js we also provide an OData V4 solution. The development of the OData V4 node.js Library already started in 2016.\n It is also planned that a generic CDS-Odata provider will be deliverd.\n\n## Usage\n\n * This module is used in the XSJS shim for SAP HANA XSC Engine applications to\n allow the reuse of .xsodata files from XSC applications on SAP HANA XSA.\n\n * 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.\n\n## Warning\n\n * The xsodata library CHANGES the TRANSACTION ISOLATION LEVEL on the used database connection\n * The xsodata library CHANGES the SCHEMA on the used database connection\n * The xsodata library uses temporary tables for performance reasons\n * If you manually modify the db-connection/client inside xsodata-application-exits the modifications you have done\n will not be restored by the xsodata library\n \n So the user of the xsodata library should clean the database connection \n\n## Features - Overview\n\n * Automatic metadata handling based on XSOData definition and HANA db metadata artifacts\n * OData request handling with URI parsing including system query options\n * OData request/response serialization and deserialization \n * Load table records from HANA database via generated SQL queries\n * Calculation view support\n * Batch handling\n\n## Supported OData V2 Features:\n\nGET Requests:\n\n* URI0 = scheme serviceRoot \n* URI1 = scheme serviceRoot \"/\" entitySet\n* URI2 = scheme serviceRoot \"/\" entitySet \"(\" keyPredicate \")\"\n* URI6 = scheme serviceRoot \"/\" entitySet \"(\" keyPredicate \")/\" entityNavProperty\n* URI7 = scheme serviceRoot \"/\" entitySet \"(\" keyPredicate \")/$links/\" entityNavProperty\n* URI8 = scheme serviceRoot \"/$metadata\"\n* URI9 = scheme serviceRoot \"/$batch\"\n* URI15 = scheme serviceRoot \"/\" entitySet count\n\nCreateUpdateDelete Requests:\n\n* CUD - Entity\n* CUD - Link \n\n[System Query options](/documentation/supportedSystemQueryOptions.md):\n\n* $top\n* $skip\n* $filter, except for:\n * comparison of navigation properties\n* $orderby, except for:\n * comparison of navigation properties\n* $expand\n* $select\n* $format\n * only json supported\n* $inlinecount\n\n[Supported HTTP methods per requests type](/documentation/supportedMethods.md)\n\n## Supported XS1 OData features (defined in the XSOData file):\n\n * Definition of OData schema namespace\n * OData Service exposure\n * Metadata caching\n * Create/update/delete restrictions of OData requests\n * Exposure of table and views (including calculation views) as EntitySet\n * Property Projection: Expose a subset of the table columns as properties of an OData EntityType\n * [Automatic OData key generation] (/documentation/generatedKeys.md), e.g. required for aggregated views\n * Simple and complex associations \n * [Data aggregation] (/documentation/aggregations.md)\n * Parameter EntitySets for calculation views\n * ETAG handling\n * Nullable properties\n * Cache Control via cache header\n * [Custom exits] (/documentation/customExits.md) (JavaScript and SQL Script) for modification and validation requests\n * Custom exits in batch requests\n * Uses only UTF-8\n * Uses \"content-type: application/json\" for CREATE, UPDATE, DELETE\n * Expose data only via JSON format (ATOM format is not supported)\n * Supported types and type mapping [see here](/documentation/typemapping.md) \n * [Supported XSOData features by OSDL] (/documentation/xsodataEbnf.md) \n \n\nNote: \n\n* XS1 applications using analytical views, attribute views or calculation views <= SAP HANA SPS 10 have to migrate first their views to the new calculation views of SPS 11. \n* Authentication/Authorisation is not handled by XSOData node module and has to be done by the application using the node module. \n* [The module can be used in development mode and productive mode] (/documentation/modes.md)\n* [Debug View is available when using the module in development mode] (/documentation/debugView.md)\n\n## Features per HANA DB Artifact\n\n### Table\n\nSupports the following Features:\n- [Explicit Aggregations](/documentation/aggregations.md#explicit-aggregations)\n- [Generated Local Key](/documentation/generatedKeys.md)\n \nSupported Http Verbs:\n- GET, PUT, POST, DELETE\n\n### SQL View\n\nSupports the following Features:\n- [Explicit Aggregations](/documentation/aggregations.md#explicit-aggregations)\n- [Generated Local Key](/documentation/generatedKeys.md)\n\nSupported Http Verbs:\n- GET\n\n### XS Advanced Calculation View\n\nSupports the following Features:\n- [Implicit Aggregations](/documentation/aggregations.md#implicitderived-aggregations)\n- [Generated Local Key](/documentation/generatedKeys.md)\n\nSupported Http Verbs:\n- GET\n\n## Samples\n\n* [xsodata code samples without xsjs](/documentation/code_samples_pure_node/readme.md)\n* [Calcview](/documentation/calcviewSample.md)\n \n\n## [Limitations] (/documentation/limitations.md)\n\n## New Features with SAP HANA XSA SPS 12:\n\n* Support for $links requests\n* Custom exits for $links requests (modification requests only)\n* Support for node.js version 0.12.X & 4.4.X\n\n## New Features with SAP HANA XSA 2.0 :\n\n* [Annotations in metadata](/documentation/annotations.md)\n* [Scope based authorization checks](/documentation/authorization.md)\n* Support for node.js version 4.4.X & 6.2.X\n\n## Modifications with SAP HANA XSA 2.0 SPS1:\n\n* Switch to scoped package name @sap/xsodata\n* Support for node.js version 4.X.X & 6.9.X\n","readmeFilename":"README.md","repository":{"type":"git"},"scripts":{"all-tests":"node ./node_modules/mocha/bin/_mocha test/**/test*.js test_apps/test_**/**/test*.js","all-tests-jenkins":"node ./node_modules/mocha/bin/_mocha 'test/**/test*.js' 'test_apps/test_**/**/test*.js'","cover":"istanbul cover -x test/**/* -x test_apps/**/* --report lcov --dir ./_coverage ./node_modules/mocha/bin/_mocha -- -R spec test/**/test*.js test_apps/**/test*.js","cover-jenkins":"istanbul cover ./node_modules/mocha/bin/_mocha 'test/**/test*.js' 'test_apps/**/test*.js' && istanbul check-coverage ./_coverage/coverage.json","cover-scenario-tests":"istanbul cover -x test_apps/**/* --report lcov --dir ./_coverage ./node_modules/mocha/bin/_mocha -- -R spec test_apps/**/test*.js","cover-unit-tests":"istanbul cover -x test/**/* --report lcov --dir ./_coverage ./node_modules/mocha/bin/_mocha -- -R spec test/**/test*.js","env":"env","gen":"npm run genfilter && npm run genorderby && npm run gensegment && npm run genxso && npm run genxml && npm run genDateTimeParser","genDateTimeParser":"pegjs lib/grammars/dateTimeToJson.peg lib/parsers/dateTimeParser.js","genfilter":"jison lib/grammars/filter.jison -o lib/parsers/jison_filter_parser.js","genorderby":"jison lib/grammars/orderby.jison -o lib/parsers/jison_orderby_parser.js","gensegment":"jison lib/grammars/segment.jison -o lib/parsers/jison_segment_parser.js","genxml":"pegjs lib/grammars/xml2json.peg lib/parsers/xml2JsonParser.js","genxso":"pegjs lib/grammars/xsodata.peg lib/parsers/peg_xsodata_parser.js","lint":"jshint .","prepareRelease":"clean-packages && npm prune --production && ls && cat package.json","pretest":"npm -g ls --depth=0 && npm ls --depth=0","scenario-tests":"node ./node_modules/mocha/bin/_mocha test_apps/test_**/**/test*.js","serve":"node test_apps/server","serve-debug":"node-debug test_apps/server","test":"npm run unit-tests","unit-tests":"node ./node_modules/mocha/bin/_mocha test/**/test*.js"},"version":"2.0.7","license":"SEE LICENSE IN developer-license-3.1.txt"} |
Sorry, the diff of this file is not supported yet
1416439
Updatedhdb@=0.12.2