-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into ocrvs-7055-hide-pre-postfix-with-no-value
- Loading branch information
Showing
115 changed files
with
1,266 additions
and
1,015 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
packages/components @naftis @jpye-finch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,7 +117,6 @@ jobs: | |
# Skip temporarily for non-develop branches because of | ||
# a TOOMANYREQUESTS error failing the check | ||
# https://github.com/aquasecurity/trivy/discussions/7591 | ||
if: ${{ needs.base.outputs.branch == 'develop' }} | ||
uses: aquasecurity/[email protected] | ||
with: | ||
image-ref: 'opencrvs/ocrvs-${{ matrix.service }}:${{ needs.base.outputs.version }}' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
* | ||
* OpenCRVS is also distributed under the terms of the Civil Registration | ||
* & Healthcare Disclaimer located at http://opencrvs.org/license. | ||
* | ||
* Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS. | ||
*/ | ||
|
||
import { cleanEnv, str, port, url, num, bool } from 'envalid' | ||
|
||
export const env = cleanEnv(process.env, { | ||
REDIS_HOST: str({ devDefault: 'localhost' }), | ||
AUTH_HOST: str({ default: '0.0.0.0' }), | ||
AUTH_PORT: port({ default: 4040 }), | ||
USER_MANAGEMENT_URL: url({ devDefault: 'http://localhost:3030/' }), | ||
METRICS_URL: url({ devDefault: 'http://localhost:1050' }), | ||
NOTIFICATION_SERVICE_URL: url({ devDefault: 'http://localhost:2020/' }), | ||
DOMAIN: str({ devDefault: '*' }), | ||
COUNTRY_CONFIG_URL: url({ devDefault: 'http://localhost:3040/' }), | ||
LOGIN_URL: url({ devDefault: 'http://localhost:3020/' }), | ||
CLIENT_APP_URL: url({ devDefault: 'http://localhost:3000/' }), | ||
CERT_PRIVATE_KEY_PATH: str({ devDefault: '../../.secrets/private-key.pem' }), | ||
CERT_PUBLIC_KEY_PATH: str({ devDefault: '../../.secrets/public-key.pem' }), | ||
SENTRY_DSN: str({ default: undefined }), | ||
QA_ENV: bool({ default: false }), | ||
|
||
CONFIG_TOKEN_EXPIRY_SECONDS: num({ default: 604800 }), // 1 week | ||
CONFIG_SMS_CODE_EXPIRY_SECONDS: num({ default: 600 }), // 10 minutes | ||
CONFIG_SYSTEM_TOKEN_EXPIRY_SECONDS: num({ default: 600 }) // 10 minutes | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.