Skip to content

Commit

Permalink
NWRFC SDK Server API exposed
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrdjan committed Aug 10, 2020
1 parent cda585c commit dcc6b83
Show file tree
Hide file tree
Showing 28 changed files with 2,022 additions and 975 deletions.
5 changes: 3 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Change log
==========

3.0.0 (2020-xx-xx)
2.1.0 (2020-08-10)
------------------

- CLA replaced with DCO, FSFE Reuse compliance
- README: added that the installation and build from source work for NodeJS versions whose N-API >= 6; fix #162
- README added: the installation and build from source work for NodeJS versions with N-API >= 6; fix #162


2.0.3 (2020-07-27)
------------------
Expand Down
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ else()
endif()

# source files and target library
#add_library(${PROJECT_NAME} SHARED src/node_sapnwrfc.cc src/Client.cc src/rfcio.cc src/noderfcsdk.cc src/Throughput.cc)
add_library(${PROJECT_NAME} SHARED src/Client.cc src/clientio.cc src/Pool.cc src/Throughput.cc src/nwrfcsdk.cc)
add_library(${PROJECT_NAME} SHARED src/Client.cc src/nwrfcsdk.cc src/Pool.cc src/Throughput.cc src/Server.cc src/addon.cc)

# build path ignored on Windows, copy after build
if ( MSVC )
Expand Down
2 changes: 2 additions & 0 deletions lib/wrapper/noderfc-bindings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ declare const Promise: any;
import { RfcClientBinding } from "./sapnwrfc-client";
import { RfcPoolBinding } from "./sapnwrfc-pool";
import { RfcThroughputBinding } from "./sapnwrfc-throughput";
import { RfcServerBinding } from "./sapnwrfc-server";
export declare const USAGE_URL = "https://github.com/SAP/node-rfc#usage";
export interface NodeRfcBindingVersions {
version: string;
Expand All @@ -22,6 +23,7 @@ export interface NWRfcBinding {
Client: RfcClientBinding;
Pool: RfcPoolBinding;
Throughput: RfcThroughputBinding;
Server: RfcServerBinding;
verbose(): this;
bindingVersions: NodeRfcBindingVersions;
environment: NodeRfcEnvironment;
Expand Down
2 changes: 1 addition & 1 deletion lib/wrapper/noderfc-bindings.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/wrapper/sapnwrfc-client.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/wrapper/sapnwrfc-pool.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface RfcPoolBinding {
acquire(clients_requested: number, callback: Function): RfcClientBinding | Array<RfcClientBinding>;
release(clients: RfcClientBinding | Array<RfcClientBinding>, callback: Function): void;
ready(new_ready?: number, callback?: Function): void;
closeAll(callback?: Function): void | Promise<void>;
closeAll(callback?: Function): void;
_config: {
connectionParameters: object;
clientOptions?: object;
Expand Down
Loading

0 comments on commit dcc6b83

Please sign in to comment.