Skip to content

Commit

Permalink
Merge branch 'dev' into SIMSBIOHUB-637
Browse files Browse the repository at this point in the history
  • Loading branch information
mauberti-bc authored Nov 16, 2024
2 parents dd3290d + 825bfe6 commit dd97a97
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
27 changes: 24 additions & 3 deletions api/.pipeline/templates/api.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@ parameters:
description: S3 key optional prefix
required: false
value: 'sims'
# Request limits
- name: MAX_REQ_BODY_SIZE
description: Maximum request body size in bytes
value: '52428800'
- name: MAX_UPLOAD_NUM_FILES
description: Maximum number of files uploaded in a single request
value: '10'
- name: MAX_UPLOAD_FILE_SIZE
description: Maximum upload file size in bytes
value: '52428800'
# Logging
- name: LOG_LEVEL
value: 'silent'
Expand Down Expand Up @@ -162,12 +172,12 @@ parameters:
- name: GCNOTIFY_ONBOARDING_REQUEST_EMAIL_TEMPLATE
description: gcnotify email template id
value: 7779a104-b863-40ac-902f-1aa607d2071a
- name: GCNOTIFY_REQUEST_RESUBMIT_TEMPLATE
description: gcnotify email resubmit template id
value: c973da33-1f2b-435a-9429-d8ab4fd273c5
- name: GCNOTIFY_ONBOARDING_REQUEST_SMS_TEMPLATE
description: gcnotify sms template id
value: af2f1e40-bd72-4612-9c5a-567ee5b26ca5
- name: GCNOTIFY_REQUEST_RESUBMIT_TEMPLATE
description: gcnotify request resubmit email template
value: c973da33-1f2b-435a-9429-d8ab4fd273c5
- name: GCNOTIFY_EMAIL_URL
value: https://api.notification.canada.ca/v2/notifications/email
- name: GCNOTIFY_SMS_URL
Expand Down Expand Up @@ -336,6 +346,13 @@ objects:
value: ${KEYCLOAK_API_HOST}
- name: KEYCLOAK_API_ENVIRONMENT
value: ${KEYCLOAK_API_ENVIRONMENT}
# Request limits
- name: MAX_REQ_BODY_SIZE
value: ${MAX_REQ_BODY_SIZE}
- name: MAX_UPLOAD_NUM_FILES
value: ${MAX_UPLOAD_NUM_FILES}
- name: MAX_UPLOAD_FILE_SIZE
value: ${MAX_UPLOAD_FILE_SIZE}
# Object Store (S3)
- name: OBJECT_STORE_URL
valueFrom:
Expand All @@ -357,6 +374,8 @@ objects:
secretKeyRef:
key: object_store_bucket_name
name: ${OBJECT_STORE_SECRETS}
- name: S3_KEY_PREFIX
value: ${S3_KEY_PREFIX}
# Logging
- name: LOG_LEVEL
value: ${LOG_LEVEL}
Expand Down Expand Up @@ -387,6 +406,8 @@ objects:
value: ${GCNOTIFY_ADMIN_EMAIL}
- name: GCNOTIFY_ONBOARDING_REQUEST_EMAIL_TEMPLATE
value: ${GCNOTIFY_ONBOARDING_REQUEST_EMAIL_TEMPLATE}
- name: GCNOTIFY_REQUEST_RESUBMIT_TEMPLATE
value: ${GCNOTIFY_REQUEST_RESUBMIT_TEMPLATE}
- name: GCNOTIFY_ONBOARDING_REQUEST_SMS_TEMPLATE
value: ${GCNOTIFY_ONBOARDING_REQUEST_SMS_TEMPLATE}
- name: GCNOTIFY_EMAIL_URL
Expand Down
1 change: 0 additions & 1 deletion api/src/utils/env-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export const EnvSchema = z.object({

// Biohub
BACKBONE_INTERNAL_API_HOST: ZodEnvString,
BACKBONE_PUBLIC_API_HOST: ZodEnvString,
BACKBONE_INTAKE_PATH: ZodEnvString,
BACKBONE_ARTIFACT_INTAKE_PATH: ZodEnvString,
BIOHUB_TAXON_PATH: ZodEnvString,
Expand Down

0 comments on commit dd97a97

Please sign in to comment.