Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:opencrvs/opencrvs-farajaland int…
Browse files Browse the repository at this point in the history
…o events-v2-file-input
  • Loading branch information
rikukissa committed Jan 3, 2025
2 parents 8c78546 + e07de38 commit 33c0cc9
Show file tree
Hide file tree
Showing 112 changed files with 5,208 additions and 1,589 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

### Breaking changes

- **Title** Description
- Existing implementations relying on database-stored SVGs need to be updated to use the new configuration-based approach. A migration needs to be run (defined in [migration](https://github.com/opencrvs/opencrvs-core/pull/7813/files#diff-e5472dec87399bb9f73f75ec379ceb6a32ca135bc01dd8d0eb8f7d7aaa0bc0b1)), and default certificate templates must be created for each event type, following the convention `${event}-certificate` as the certificate template ID.

### Improvements

Expand All @@ -32,7 +32,7 @@

### New features

- **Major new feature** Description
- **Refactored certificate handling:** SVGs are no longer stored in the database; streamlined configurations now include certificate details, and clients request SVGs directly via URLs.
- Misc new feature
- Add constant.humanName to allow coutries to have custom ordering on thier full name e.g start with `lastName` or `firstName` [#6830](https://github.com/opencrvs/opencrvs-core/issues/6830)

Expand Down
24 changes: 20 additions & 4 deletions e2e/constants.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
export const DOMAIN = process.env.DOMAIN || 'farajaland-dev.opencrvs.org'
export const LOGIN_URL = 'https://login.' + DOMAIN
export const AUTH_URL = 'https://auth.' + DOMAIN
export const CLIENT_URL = 'https://register.' + DOMAIN
export const GATEWAY_HOST = 'https://gateway.' + DOMAIN

export const LOGIN_URL =
process.env.NODE_ENV === 'development'
? 'http://localhost:3020'
: 'https://login.' + DOMAIN

export const AUTH_URL =
process.env.NODE_ENV === 'development'
? 'http://localhost:4040'
: 'https://auth.' + DOMAIN

export const CLIENT_URL =
process.env.NODE_ENV === 'development'
? 'http://localhost:3000'
: 'https://register.' + DOMAIN

export const GATEWAY_HOST =
process.env.NODE_ENV === 'development'
? 'http://localhost:7070'
: 'https://gateway.' + DOMAIN

/*
* This timeout is to ensure that all previous actions have been completed
Expand Down
Loading

0 comments on commit 33c0cc9

Please sign in to comment.