Skip to content

Commit

Permalink
Remove request_id and no star imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-japatel committed Jun 12, 2024
1 parent ba47eb2 commit ce91a9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,12 @@ Long getClientSequencer() {
}
}

// Optional Request ID. Used for diagnostic purposes.
private String requestId;

// Channels in request
private List<ChannelStatusRequestDTO> channels;

// Snowflake role used by client
private String role;

@JsonProperty("request_id")
String getRequestId() {
return requestId;
}

@JsonProperty("role")
public String getRole() {
return role;
Expand All @@ -85,11 +77,6 @@ public void setRole(String role) {
this.role = role;
}

@JsonProperty("request_id")
void setRequestId(String requestId) {
this.requestId = requestId;
}

@JsonProperty("channels")
void setChannels(List<ChannelStatusRequestDTO> channels) {
this.channels = channels;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
package net.snowflake.ingest.streaming.internal;

import static java.time.ZoneOffset.UTC;
import static net.snowflake.ingest.utils.Constants.*;
import static net.snowflake.ingest.utils.Constants.ACCOUNT_URL;
import static net.snowflake.ingest.utils.Constants.OPEN_CHANNEL_ENDPOINT;
import static net.snowflake.ingest.utils.Constants.PRIVATE_KEY;
import static net.snowflake.ingest.utils.Constants.RESPONSE_SUCCESS;
import static net.snowflake.ingest.utils.Constants.ROLE;
import static net.snowflake.ingest.utils.Constants.USER;
import static org.mockito.ArgumentMatchers.argThat;

import java.security.KeyPair;
Expand Down

0 comments on commit ce91a9a

Please sign in to comment.