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

Document Record Service - Cont. In Integration #3242

Open
wants to merge 7 commits into
base: feature-drs-integration
Choose a base branch
from

Conversation

flutistar
Copy link
Collaborator

@flutistar flutistar commented Feb 5, 2025

Issue #:
bcgov/entity#24640

Description of changes:
My name is Brandon Galli from Assets team.

  • Updated download document component to support both Minio and Document Record Service.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).

@flutistar flutistar changed the title 24640 update filedownload component Document Record Service - Cont. In Integration Feb 5, 2025
Copy link

sonarqubecloud bot commented Feb 5, 2025

@@ -314,13 +315,23 @@ export default defineComponent({
if (!documentKey || !documentName) return // safety check

state.isDownloading = true
await BusinessService.downloadDocument(documentKey, documentName).catch(error => {
try {
if (DRS_ID_PATTERN.test(documentKey)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need a feature flag for this, or can it be pushed out to prod next week if needed etc?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@seeker25
I changed the base branch since we are holding the updates on feature branch on create-ui repo.

@seeker25
Copy link
Collaborator

seeker25 commented Feb 5, 2025

another thing to note, product/payment changes will probably have to sit on TEST for a while - just a heads up

@flutistar flutistar changed the base branch from main to feature-drs-integration February 6, 2025 16:20
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