hashmapinc / hashmapinc/Drillflow
Support headerOnly returnElements optionIn for trajectory
- Dominant language
- Java
- Stars
- 21
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
## Summary
If returnElements is set to header-only in OptionsIn then all the elements except for trajectoryStation should be returned.
trajectoryStation is an array type so the array should actually be emptied, even if DoT returns trajectory stations
## Implementation Details
1) In the com.hashmapinc.tempus.witsml.valve.dot.DotTranslator class and the _translateQueryResponse_ method, a check needs to be added in the switch statement that is responsible for returning the object type.
2) The check must be if (optionsIn.containsKey("returnElements") && optionsIn.get("returnElements").equals("header-only")) then remove trajectoryStation by setting the trajectoryStation property equal to null.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.