hashmapinc / hashmapinc/Drillflow
Support maxReturnNodes optionIn for trajectory
- 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.