-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Use Case
As a driver engineer,
I want a to automate linking and building the libmongocrypt node c++ bindings with the driver,
So that development of FLE is simpler.
User Impact
n/a. internal tooling change.
Dependencies
- none.
Unknowns
- none.
Acceptance Criteria
Implementation Requirements
- add a script into etc/tooling that does the following
- (optional, configured by some sort of flag) builds libmongocrypt statically to link against
- builds mongodb-client-encryption bindings
- (optional, configured by some sort of flag) uses `npm link` (or a symlink in the package.json) to link the driver to the libmongocrypt Node bindings locally
- This step should be optional because a common workflow would be 1) build libmongocrypt 2) build and link bindings to driver 3) make changes to bindings 4) rebuild bindings and run driver's tests. steps 3 & 4 would be repeated during development.
- add a script that unlinks mongodb-client-encryption from the driver locally
Testing Requirements
- Manually verify that the script works.
Documentation Requirements
- add a section in the Node driver testing readme explaining how to use the new tooling.
Follow Up Requirements
- none
- related to
-
NODE-5283 Move js logic from mongodb-client-encryption to the driver
- Closed