hashmapinc / Drillflow

A dockerized WITSML API Server that is agnostic of the backend.
Apache License 2.0
17 stars 13 forks source link

Well GetFromStore #46

Closed cherrera2001 closed 5 years ago

cherrera2001 commented 6 years ago

Requires #43 Child of #101

This card will build on the work in #43 and add the delegation for GetFromStore.

randypitcherii commented 5 years ago

@cherrera2001 will you please provide a 1K foot strategy for sucking this information out of the drilltest api?

More specifically:

Thanks!

randypitcherii commented 5 years ago

My "plan A" is to use https://hc.apache.org/httpcomponents-client-ga/tutorial/html/fluent.html and just parse the body response as a string

randypitcherii commented 5 years ago

General strategy is:

I will create sub cards for some of this functionality

randypitcherii commented 5 years ago

@cherrera2001 at your convenience, please see #89 #91 and #92 to see the detailed cards created to accomplish well getFromStore functionality.

This will lay the groundwork in a major way for how getFromStore works for wellbore, log, and trajectory as well.

randypitcherii commented 5 years ago

@cherrera2001 and @vijaypoojari

See the updated strategy for getFromStore:

image

randypitcherii commented 5 years ago

NOTE: regarding the translation process | DoT Translator Design

XML Query string to JSON object

JSON object to XML query response string

randypitcherii commented 5 years ago

NOTE: Cool translation development

Chris's fantastic WitsmlObjects library helps us so much.

The general flow for conversion is now:

randypitcherii commented 5 years ago

See Chris's excellent GIST on JSON usage in WitsmlObjects library here:

https://gist.github.com/cherrera2001/d39b944640de1202d91ac1a9203d525c