salman_walmart
ATApache TinkerPop
•Created by salman_walmart on 8/12/2024 in #questions
logging and alerting inside a gremlin step
I am trying to add a log statement inside the step but I am getting an error Server error: null (599)
ResponseError: Server error: null (599)
This is the error we get // Log the creation of a shell flight
.sideEffect(() => logger.info(
Shell flight created for paxKey ${paxKey} with flightId ${flightLegID}
))
)
I only get this error when I log it in the sideEffect
This is the code we have:
await flightLegT
.fold()
.coalesce(
.unfold(),
.addV('flight')
.property(t.id, flightLegId)
.property('property1', .value1)
.property('property2', value2.)
.property('property3', value3)
.property('property4', value4)
.property('isShellFlight', true)
.as('shellFlight')
.sideEffect(
.V(originDateId).addE('vertex1').to(.select('shellFlight'))
)
.sideEffect(
.select('shellFlight').as('sf').addE('vertex2').from_(.select('sf'))
)
// Log the creation of a shell flight
.sideEffect(() => logger.info(Shell flight created for paxKey ${paxKey} with flightId ${flightLegID}
))
)
.as('flightLeg')16 replies
ATApache TinkerPop
•Created by salman_walmart on 1/3/2024 in #questions
Integration tests for AWS Neptune DB
do we have any Testcontainers for AWS Neptune for writing integration tests in java applications
7 replies