-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added support for couchbase v4.4.4 (#1466)
refs INSTA-20554
- Loading branch information
1 parent
fcbbed7
commit fb06bdc
Showing
7 changed files
with
911 additions
and
678 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -245,7 +245,8 @@ | |
"yargs": "^17.5.1" | ||
}, | ||
"optionalDependencies": { | ||
"couchbase": "^4.4.3", | ||
"couchbase": "^4.4.4", | ||
"couchbase-v443": "npm:[email protected]", | ||
"ibm_db": "^3.2.5", | ||
"kafka-avro": "^3.2.0", | ||
"node-rdkafka": "^3.2.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
packages/collector/test/tracing/database/couchbase/mockVersion.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* (c) Copyright IBM Corp. 2024 | ||
*/ | ||
|
||
'use strict'; | ||
|
||
const mock = require('mock-require'); | ||
const COUCHBASE_VERSION = process.env.COUCHBASE_VERSION; | ||
const COUCHBASE_REQUIRE = process.env.COUCHBASE_VERSION === 'latest' ? 'couchbase' : `couchbase-${COUCHBASE_VERSION}`; | ||
|
||
if (COUCHBASE_REQUIRE !== 'couchbase') { | ||
mock('couchbase', COUCHBASE_REQUIRE); | ||
} |
Oops, something went wrong.