-
Notifications
You must be signed in to change notification settings - Fork 69
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 Continuation In Integration #3203
base: feature-drs-integration
Are you sure you want to change the base?
Document Record Service Continuation In Integration #3203
Conversation
Quality Gate passedIssues Measures |
const documentClass = 'CORP' | ||
try { | ||
const docUrl: string = await BusinessService.getDownloadUrl(documentKey, documentClass) | ||
const link = document.createElement('a') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
const url = `${ConfigHelper.getLegalAPIV2Url()}/documents/drs/${documentClass}/${documentKey}` | ||
|
||
return axios.get(url).then(response => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.then(), when we're using try catch async await below - seems weird but that's ok - stuff is fairly mix matched right now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, check with entities before merging please
just a couple suggestions
Question: Is someone taking care of the old documents on MINIO and migrating them over? |
Issue #:
bcgov/entity#24640
Description of changes:
My name is Brandon Galli from Assets team.
Now we do Document Record Service Continuation In integration as a Proof of Concept.
Technically, Cont In. integration is replacing MinIO with Document Record Service.
getDownloadUrl
function ondownloadDocument
function withgetDownloadUrl
function onHomeJurisdictionInformation.vue
.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).