DO NOT REVIEW: MWPW-199041: Add find-replace IO action#987
Draft
yesil wants to merge 14 commits into
Draft
Conversation
…400/everywhere paths
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
|
|
SNOW Change Request Transaction ID [IO]: 0000019c1eec85a3-13f8a5e2 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #987 +/- ##
==========================================
+ Coverage 89.39% 89.44% +0.04%
==========================================
Files 269 271 +2
Lines 84202 84399 +197
==========================================
+ Hits 75275 75491 +216
+ Misses 8927 8908 -19
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
bulk-edit-findAdobe I/O Runtime action — the Find stage of M@S bulk Find & Replace. Given search text, a field scope, and filters, it returns every matching content fragment in a consumer so Studio can list them and the siblingbulk-edit-replaceaction (MWPW-199042) can act on them.Two-stage by necessity: the AEM CF Search API cannot scope full-text to one element, so AEM does recall (
path+fullText+tags/status, paged by cursor) and the action does precision — a case-(in)sensitive substring match against the scoped field(s) via a data-drivenSCOPE_FIELDSmap (everywhere, the listed fields, andtags). Backend-only; consumed by the Studio UI in MWPW-191300.bulk-edit-replaceis registered as a 501 shell only; its implementation lands under MWPW-199042.Resolves https://jira.corp.adobe.com/browse/MWPW-199041
QA Checklist: https://wiki.corp.adobe.com/display/adobedotcom/M@S+Engineering+QA+Use+Cases
find.js100% stmt/fn/line +replace.jsshell)Test URLs
Backend IO action — no rendered page. Validated via the studio unit suite (
io/studio:npm test).