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

feat: PO037 add check for Source in DataCapture policy #466

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

DinoChiesa
Copy link
Collaborator

@DinoChiesa DinoChiesa commented Sep 17, 2024

The DataCapture policy allows capture of data from the request or response message, for example the URIPath.
It is possible to specify a capture for a URIPath, while the Source is a response message. This will always "do nothing", resulting in a failed capture.

This plugin checks for that kind of invalid configuration, as well as a variety of other potential mistakes with the DataCapture policy. Missing required elements or attributes, duplicated elements, etc.

This addresses #463 ; the problem was identified in a Community question.

@DinoChiesa DinoChiesa marked this pull request as draft September 17, 2024 22:09
@DinoChiesa DinoChiesa marked this pull request as ready for review September 18, 2024 00:38
@ssvaidyanathan ssvaidyanathan merged commit e068122 into apigee:main Sep 18, 2024
2 checks passed
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.

2 participants