Skip to content

Cext 4214#241

Merged
AjazSumaiya merged 6 commits into
epic/log-forwardingfrom
cext-4214
Apr 15, 2025
Merged

Cext 4214#241
AjazSumaiya merged 6 commits into
epic/log-forwardingfrom
cext-4214

Conversation

@AjazSumaiya
Copy link
Copy Markdown
Contributor

@AjazSumaiya AjazSumaiya commented Apr 11, 2025

Added delete command for log forwarding

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Comment thread src/lib/smsClient.js Outdated
return response;
} else {
logger.error(
`Something went wrong: ${objToString(
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.

Not sure if I like this "Something went wrong". I think just returning "Unable to delete log forwarding config" and the error message should suffice

Comment thread src/lib/smsClient.js Outdated
);

throw new Error(
'Unable to delete log forwarding details from Schema Management Service: %s',
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.

Let's have @jhadobe review this

Comment thread src/lib/smsClient.js Outdated
Comment thread src/lib/smsClient.js Outdated
Comment thread src/commands/api-mesh/config/delete/log-forwarding.js Outdated
Comment thread src/commands/api-mesh/__tests__/delete-log-forwarding.test.js Outdated
AjazSumaiya and others added 3 commits April 15, 2025 14:46
Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com>
@AjazSumaiya AjazSumaiya merged commit c28e4c2 into epic/log-forwarding Apr 15, 2025
3 checks passed
@AjazSumaiya AjazSumaiya deleted the cext-4214 branch April 16, 2025 08:46
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.

3 participants