Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@adempiere/grpc-api
Advanced tools
ADempiere node.js write in JavaScript for gRPC service, currently is used as library of proxy ADempiere service and is published as NPM
See also:
# installing via NPM
npm install @adempiere/grpc-api --save
# installing via Yarn
yarn add @adempiere/grpc-api
Here a example for it using from Proxy of ADempiere API: https://github.com/adempiere/proxy-adempiere-api/blob/master/src/modules/adempiere-api/index.ts#L17
For recreate stub class you must have follow:
Via npm:
# install dependecies and dev dependencies
npm ci
# generate all stub
npm run stub
Via yarn:
# install dependecies and dev dependencies
yarn ci
# generate all stub
yarn stub
Note to generate specific proto definition:
npm run stub:bank_statement_match
npm run stub:base_data_type
npm run stub:business
npm run stub:business_partner
npm run stub:core_functionality
npm run stub:dashboarding
npm run stub:dictionary
npm run stub:enrollment
npm run stub:express_movement
npm run stub:express_receipt
npm run stub:express_shipment
npm run stub:file_management
npm run stub:general_ledger
npm run stub:import_file_loader
npm run stub:in_out
npm run stub:invoice
npm run stub:issue_management
npm run stub:logs
npm run stub:match_po_receipt_invoice
npm run stub:material_management
npm run stub:order
npm run stub:payment
npm run stub:payment_allocation
npm run stub:payment_print_export
npm run stub:payroll_action_notice
npm run stub:point_of_sales
npm run stub:product
npm run stub:security
npm run stub:time_control
npm run stub:time_record
npm run stub:user_customization
npm run stub:workflow
Generate all stub:
grpc_tools_node_protoc \
--js_out=import_style=commonjs,binary:src/grpc \
--grpc_out=src/grpc \
proto/access.proto proto/base_data_type.proto proto/business.proto proto/client.proto proto/core_functionality.proto proto/dictionary.proto proto/enrollment.proto proto/point_of_sales.proto
# --grpc-web_out=import_style=commonjs,mode=grpcwebtext:$OUT_DIR
# Generate stub to access.proto file
grpc_tools_node_protoc \
proto/access.proto \
--js_out=import_style=commonjs,binary:src/grpc/ \
--grpc_out=grpc_js:src/grpc/
# --grpc-web_out=import_style=commonjs,mode=grpcwebtext:$OUT_DIR
# Generate stub to base_data_type.proto file
grpc_tools_node_protoc \
proto/base_data_type.proto \
--js_out=import_style=commonjs,binary:src/grpc/ \
--grpc_out=grpc_js:src/grpc/
# --grpc-web_out=import_style=commonjs,mode=grpcwebtext:$OUT_DIR
# Generate stub to access.proto file
grpc_tools_node_protoc \
proto/dictionary.proto \
--js_out=import_style=commonjs,binary:src/grpc/ \
--grpc_out=grpc_js:src/grpc/
# --grpc-web_out=import_style=commonjs,mode=grpcwebtext:$OUT_DIR
The result is generated on: src/grpc/proto/
folder
bank_statement_match_grpc_pb.js
bank_statement_match_pb.js
base_data_type_grpc_pb.js
base_data_type_pb.js
business_grpc_pb.js
business_pb.js
business_partner_grpc_pb.js
business_partner_pb.js
core_functionality_grpc_pb.js
core_functionality_pb.js
dashboarding_grpc_pb.js
dashboarding_pb.js
dictionary_grpc_pb.js
dictionary_pb.js
enrollment_grpc_pb.js
enrollment_pb.js
express_movement_grpc_pb.js
express_movement_pb.js
express_receipt_grpc_pb.js
express_receipt_pb.js
express_shipment_grpc_pb.js
express_shipment_pb.js
file_management_pb.js
file_management_grpc_pb.js
general_ledger_pb.js
general_ledger_grpc_pb.js
import_file_loader_pb.js
import_file_loader_grpc_pb.js
in_out_grpc_pb.js
in_out_pb.js
invoice_grpc_pb.js
invoice_pb.js
issue_management_grpc_pb.js
issue_management_pb.js
logs_grpc_pb.js
logs_pb.js
match_po_receipt_invoice_grpc_pb.js
match_po_receipt_invoice_pb.js
material_management_grpc_pb.js
material_management_pb.js
order_grpc_pb.js
order_pb.js
payment_allocation_grpc_pb.js
payment_allocation_pb.js
payment_grpc_pb.js
payment_pb.js
payment_print_export_grpc_pb.js
payment_print_export_pb.js
payroll_action_notice_grpc_pb.js
payroll_action_notice_pb.js
point_of_sales_grpc_pb.js
point_of_sales_pb.js
product_grpc_pb.js
product_pb.js
record_management_grpc_pb.js
record_management_pb.js
security_grpc_pb.js
security_pb.js
time_control_grpc_pb.js
time_control_pb.js
time_record_grpc_pb.js
time_record_pb.js
user_customization_grpc_pb.js
user_customization_pb.js
workflow_grpc_pb.js
workflow_pb.js
Become a sponsor and get your logo on our README on GitHub with a link to your site. Become a sponsor
FAQs
ADempiere Web write in Javascript for a node service
The npm package @adempiere/grpc-api receives a total of 212 weekly downloads. As such, @adempiere/grpc-api popularity was classified as not popular.
We found that @adempiere/grpc-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.