This repository was archived by the owner on Sep 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +163
-157
lines changed
datadog-instrumentations/src
datadog-plugin-neo4j/test Expand file tree Collapse file tree 6 files changed +163
-157
lines changed Original file line number Diff line number Diff line change @@ -738,12 +738,12 @@ jobs:
738
738
runs-on : ubuntu-latest
739
739
services :
740
740
neo4j :
741
- image : neo4j:4.2.3
741
+ image : neo4j:5.11.0
742
742
env :
743
- NEO4J_AUTH : ' neo4j/test'
743
+ NEO4J_AUTH : ' neo4j/test-password '
744
744
ports :
745
745
- 7474:7474
746
- - 11011 :7687
746
+ - 7687 :7687
747
747
env :
748
748
PLUGINS : neo4j
749
749
SERVICES : neo4j
Original file line number Diff line number Diff line change @@ -83,12 +83,12 @@ services:
83
83
ports :
84
84
- " 127.0.0.1:8081:8081"
85
85
neo4j :
86
- image : neo4j:4.2.3
86
+ image : neo4j:5.11.0
87
87
environment :
88
- - NEO4J_AUTH=neo4j/test
88
+ - NEO4J_AUTH=neo4j/test-password
89
89
ports :
90
90
- " 7474:7474"
91
- - " 11011 :7687"
91
+ - " 7687 :7687"
92
92
localstack :
93
93
# TODO: Figure out why SNS doesn't work in >=1.2
94
94
# https://github.com/localstack/localstack/issues/7479
Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ module.exports = {
71
71
'mongoose' : ( ) => require ( '../mongoose' ) ,
72
72
'mysql' : ( ) => require ( '../mysql' ) ,
73
73
'mysql2' : ( ) => require ( '../mysql2' ) ,
74
- 'neo4j' : ( ) => require ( '../neo4j' ) ,
74
+ 'neo4j-driver' : ( ) => require ( '../neo4j' ) ,
75
+ 'neo4j-driver-core' : ( ) => require ( '../neo4j' ) ,
75
76
'net' : ( ) => require ( '../net' ) ,
76
77
'next' : ( ) => require ( '../next' ) ,
77
78
'oracledb' : ( ) => require ( '../oracledb' ) ,
Original file line number Diff line number Diff line change @@ -70,14 +70,14 @@ function wrapRun (run) {
70
70
}
71
71
}
72
72
73
- function finish ( error ) {
73
+ function finish ( error ) {
74
74
if ( error ) {
75
75
errorCh . publish ( error )
76
76
}
77
77
finishCh . publish ( )
78
78
}
79
79
80
- function getAttributesFromNeo4jSession ( session ) {
80
+ function getAttributesFromNeo4jSession ( session ) {
81
81
const connectionHolder =
82
82
( session . _mode === 'WRITE' ? session . _writeConnectionHolder : session . _readConnectionHolder ) ||
83
83
session . _connectionHolder ||
You can’t perform that action at this time.
0 commit comments