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

Clarification on Developer Portal Backup and Restore Behavior with capture.js and generate.js #2738

Open
alexbenitez opened this issue Dec 13, 2024 · 0 comments

Comments

@alexbenitez
Copy link

Writing to seek clarification regarding the expected behavior of the capture.js and generate.js scripts provided for managing Azure API Management Developer Portals.

From our testing, we observed that during the restore process:

  1. Items from the backup (snapshot) are restored to the target developer portal.
  2. If a key from the backup matches an existing key in the destination, the corresponding item is overridden.
  3. Items present in the destination but not in the backup are left untouched.

This behavior aligns with our understanding that the scripts are designed to copy or override items as specified by their keys, without removing unmatched items in the destination.

Could you confirm if this is the intended behavior, or if there is an option to ensure that the destination mirrors the backup entirely, including removing items not present in the backup? We want to ensure our use of the scripts aligns with their design and purpose.

Thank you for your assistance.

Best regards,

Alejandro

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

No branches or pull requests

1 participant