Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concord client request cmf changes #2639

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bandatarunkumar
Copy link
Contributor

  • Problem Overview
    moving concord_client_request.proto to cmf
  • Testing Done
    Testing in progress

@bandatarunkumar bandatarunkumar requested a review from a team as a code owner May 19, 2022 05:14
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch 2 times, most recently from edf34e7 to 4f32319 Compare May 19, 2022 17:19
@bandatarunkumar bandatarunkumar requested a review from cjn May 19, 2022 17:50
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch from f8314a6 to afbc9ed Compare May 25, 2022 05:26
client/client_pool/src/external_client.cpp Show resolved Hide resolved
client/concordclient/cmf/concord_client_message.cmf Outdated Show resolved Hide resolved
@@ -81,6 +82,8 @@ struct RequestConfig {
std::string span_context = "";
bool key_exchange = false;
bool reconfiguration = false;
bftEngine::RequestType request_type = bftEngine::RequestType::RAW_MESSAGE;
std::string client_service_id = "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

client_service_id can be moved to ClientConfig since it is not request specific but specific to a client

@@ -104,6 +105,12 @@ class ConcordClient {

std::string messageSignature(bft::client::Msg&);

static void prepareConcordClientRequest(bft::client::Msg& request,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it a static method?Same with response

Copy link
Contributor Author

@bandatarunkumar bandatarunkumar May 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the api needs to be called from concord_client_pool.cpp, where we might have a external_client class object, to support this case, i have made them static

@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch from afbc9ed to 0cff742 Compare May 25, 2022 10:31
@bandatarunkumar bandatarunkumar changed the title Draft : Concord client request cmf changes Concord client request cmf changes May 25, 2022
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch 2 times, most recently from f9691a1 to 5d1a216 Compare May 25, 2022 13:42
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch 2 times, most recently from a78d228 to a816d03 Compare May 30, 2022 15:02
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch from a816d03 to 04077f9 Compare June 4, 2022 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants