hashmapinc / hashmapinc/Drillflow

Support maxReturnNodes optionIn for trajectory

Open
#336 1 comment 0 reactions 0 assignees View on GitHub
todo
Dominant language
Java
Stars
21
Forks
13
PR merge metrics
No merged PRs in 30d

Description

## Summary
If a client requests maxReturnNodes=n then the number of trajectory stations MUST be limited to n results before returning.

The query MUST [else error -402] specify a whole number greater than zero

## Implementation Detail

1) in translateQueryResponse method of com.hashmapinc.tempus.witsml.valve.dot.DotClient class if optionsIn contains a key maxReturnNodes = n then you must only take the first n elements from the trajectoryStations array.
2) add a validation query in com.hashmapinc.tempus.witsml.server.api.StoreValidator to validateGetFromStore to make sure that the value of maxReturnNodes is > 0, if not return -402

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.