Skip to content

Handled ALT's register-yourself forwarding PromptForEmbeddingInitiatesEmbeddingProcess.RequestForBequeathingData via pass by value#1016

Merged
IswaryaaS merged 4 commits into
v2.1.2_implfrom
SunilKumar/issue1014
Oct 3, 2024
Merged

Handled ALT's register-yourself forwarding PromptForEmbeddingInitiatesEmbeddingProcess.RequestForBequeathingData via pass by value#1016
IswaryaaS merged 4 commits into
v2.1.2_implfrom
SunilKumar/issue1014

Conversation

@sunil-kumar-meena
Copy link
Copy Markdown
Contributor

@sunil-kumar-meena sunil-kumar-meena commented Sep 24, 2024

Fixes
#1015
#1017

Reviewer @PrathibaJee

@PrathibaJee PrathibaJee self-requested a review September 25, 2024 06:36
* no response value expected for this operation
**/
exports.registerYourself = async function (body, user, xCorrelator, traceIndicator, customerJourney, operationServerName) {
exports.registerYourself = async function (body, user, xCorrelator, traceIndicator, customerJourney, operationServerName, forwardingName = undefined) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

variable name shall be more specific like "beaqueathYourDataAndDieForwardingName" instead of forwardingName.
Also include JSdoc describing the purpose of the newly introduced variable.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

if(forwardingName == undefined){
beaqueathYourDataAndDieForwardingName = "PromptForEmbeddingCausesRequestForBequeathingData";
}else{
beaqueathYourDataAndDieForwardingName = "PromptForEmbeddingInitiatesEmbeddingProcess.RequestForBequeathingData"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if forwardingName is not undefined , then you have to assign the incoming "forwardingName" , not again hardcoding another forwarding name here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@IswaryaaS IswaryaaS requested a review from PrathibaJee October 1, 2024 10:35
@IswaryaaS IswaryaaS merged commit 100a98d into v2.1.2_impl Oct 3, 2024
@IswaryaaS IswaryaaS deleted the SunilKumar/issue1014 branch October 3, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants