Support headerOnly returnElements optionIn for trajectory
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
Start in com.hashmapinc.tempus.witsml.valve.dot.DotTranslator, specifically the translateQueryResponse method and its object-type switch. Inspect how returnElements is handled, then implement the stated header-only behavior for trajectoryStation. Done means trajectoryStation is null when returnElements is header-only while other elements remain returned.
Written by the indexing model from the issue text.
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
- 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.
- 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.
- Dominant language
- Java
- Stars
- 21
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hashmapinc/Drillflow
-
DEV: Documentation Open
Difficulty 1/5 Under an hour Newbie friendliness 65/100
hashmapinc/Drillflow#714 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 20/100
hashmapinc/Drillflow#724 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
hashmapinc/Drillflow#721 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
hashmapinc/Drillflow#719 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
hashmapinc/Drillflow#717 ·
All issues in hashmapinc/Drillflow
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100