hashmapinc / hashmapinc/Drillflow

In regards on the uses of the performLogSearch and getFromStoreRestCalls functions

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

Description

Hi, I've been trying to request the LOGS information, however I realized that the performLogSearch function that is being used at the endpoint "log" is being called using the parameter "containerId" wich represents the uuid of the wellbore, and lastly in the getFromStoreRestCalls function the same endpoint is requested using the parameter "containerId" with the uuid of the channelSet. Is there a purpose behind of that or is a bug?

` //performLogSearch

String logSearchEndpoint = this.getEndpoint(LOG_OBJECT);
HttpRequest logSearchRequest = Unirest.get(logSearchEndpoint);
logSearchRequest.queryString("containerId", containerID);
`

` //getFromStoreRestCalls Build Request for Get All ChannelSet

channelsetuuidEndpoint = this.getEndpoint(LOG_OBJECT);
channelsetuuidRequest = Unirest.get(channelsetuuidEndpoint);
channelsetuuidRequest.header("accept", "application/json");
channelsetuuidRequest.queryString("containerId", uuid);`

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.