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

fix: #268 Import URL entities need a REDIRECT status, and additional properties for reporting #269

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

blefebvre
Copy link
Contributor

Related Issues

In order to support generating the import-report.xlsx file for an import job, we need the ability to track if a URL was skipped because it was a redirect, or if it failed for another reason.

Screenshot from an example import-report included below:

image

To support this, I'm proposing that we add the following properties to the import-url entities, in addition to the existing status:

reason: the reason that the import of a URL failed (could be the redirect destination in the case of a redirect)
path: absolute path to the resource that is being imported for the given URL
file: resulting path and filename of the imported .docx file

An additional status REDIRECT will also be added to ImportUrlStatus to facilitate generation of this report.

@blefebvre blefebvre added the enhancement New feature or request label Jun 18, 2024
@blefebvre blefebvre self-assigned this Jun 18, 2024
Copy link
Contributor

@swetabar swetabar left a comment

Choose a reason for hiding this comment

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

lgtm

@blefebvre blefebvre merged commit 88bb491 into main Jun 18, 2024
9 checks passed
@blefebvre blefebvre deleted the blefebvr/import-url-skipped branch June 18, 2024 20:03
adobe-bot pushed a commit that referenced this pull request Jun 18, 2024
# [@adobe/spacecat-shared-data-access-v1.29.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.29.1...@adobe/spacecat-shared-data-access-v1.29.2) (2024-06-18)

### Bug Fixes

* [#268](#268) Import URL entities need a REDIRECT status, and additional properties for reporting ([#269](#269)) ([88bb491](88bb491))
@adobe-bot
Copy link

🎉 This PR is included in version @adobe/spacecat-shared-data-access-v1.29.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants