Skip to content

Commit

Permalink
Merge pull request #1850 from UCSF-IGHS/update-backend-links
Browse files Browse the repository at this point in the history
(Chore) Update backend urls with the new servers.
  • Loading branch information
hadijahkyampeire authored May 21, 2024
2 parents a8db641 + de9f9fe commit 1f944d3
Show file tree
Hide file tree
Showing 7 changed files with 115 additions and 115 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is an environment file for configuring dynamic values.
E2E_BASE_URL=https://ohri-dev.globalhealthapp.net/openmrs
E2E_BASE_URL=https://openmrs-dev.globalhealthapp.net/openmrs
E2E_USER_ADMIN_USERNAME=admin
E2E_USER_ADMIN_PASSWORD=Admin123
E2E_LOGIN_DEFAULT_LOCATION_UUID=44c3efb0-2583-4c80-a79e-1f756a03c0a1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A custom microfrontend for OpenMRS HIV Reference Implementation (OHRI)

OpenMRS HIV Reference Implementation (OHRI) packages built on top of OpenMRS Frontend.

[🌍DEMO](https://ohri-demo.globalhealthapp.net/openmrs/spa)
[🌍DEMO](https://openmrs-demo.globalhealthapp.net/openmrs/spa)

### Available Packages

Expand Down Expand Up @@ -48,7 +48,7 @@ yarn setup
```sh
yarn start
```
This command start each package inside the `packages` directory with the *development* mode connected to the *https://ohri-demo.globalhealthapp.net* backend. This is the actual script:
This command start each package inside the `packages` directory with the *development* mode connected to the *https://openmrs-demo.globalhealthapp.net* backend. This is the actual script:

If you would like to run individual packages, you can use the following command:

Expand Down
198 changes: 99 additions & 99 deletions __mocks__/encounter-list.mock.tsx

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions __mocks__/encounter-tile.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ export const mocklastEncounter = {
links: [
{
rel: 'self',
uri: 'https://ohri-dev.globalhealthapp.net/openmrs/ws/rest/v1/encountertype/96adb28e-e417-43a3-8f7d-682f8af5e912',
uri: 'https://openmrs-dev.globalhealthapp.net/openmrs/ws/rest/v1/encountertype/96adb28e-e417-43a3-8f7d-682f8af5e912',
resourceAlias: 'encountertype',
},
{
rel: 'full',
uri: 'https://ohri-dev.globalhealthapp.net/openmrs/ws/rest/v1/encountertype/96adb28e-e417-43a3-8f7d-682f8af5e912?v=full',
uri: 'https://openmrs-dev.globalhealthapp.net/openmrs/ws/rest/v1/encountertype/96adb28e-e417-43a3-8f7d-682f8af5e912?v=full',
resourceAlias: 'encountertype',
},
],
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"access": "public"
},
"scripts": {
"start": "openmrs develop --backend https://ohri-dev.globalhealthapp.net/ --sources 'packages/esm-*-app/'",
"start:core": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-ohri-core-app",
"start:covid": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-covid-app",
"start:hiv": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-hiv-app",
"start:cervical-cancer": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-cervical-cancer-app",
"start": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources 'packages/esm-*-app/'",
"start:core": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-ohri-core-app",
"start:covid": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-covid-app",
"start:hiv": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-hiv-app",
"start:cervical-cancer": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-cervical-cancer-app",
"start:pmtct": "openmrs develop --backend https://ohri-namibia-dev.globalhealthapp.net --sources 'packages/esm-ohri-pmtct-app/'",
"start:form-render": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-form-render-app",
"start:tb": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-tb-app",
"start:opd": "openmrs develop --backend https://ohri-dev.globalhealthapp.net --sources packages/esm-opd-app",
"start:form-render": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-form-render-app",
"start:tb": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-tb-app",
"start:opd": "openmrs develop --backend https://openmrs-dev.globalhealthapp.net --sources packages/esm-opd-app",
"prettier": "prettier --fix --config prettier.config.js --write \"packages/**/*.{ts,tsx}\"",
"prepare": "husky install",
"test": "jest --config jest.config.js --verbose false --passWithNoTests",
Expand Down
4 changes: 2 additions & 2 deletions packages/esm-form-render-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"url": "git+https://github.com/UCSF-IGHS/openmrs-esm-ohri.git"
},
"scripts": {
"start": "openmrs develop --backend https://ohri-working.globalhealthapp.net",
"start": "openmrs develop --backend https://openmrs-staging.globalhealthapp.net",
"serve": "webpack serve --mode development",
"debug": "npm run serve",
"build": "webpack --mode production",
"analyze": "webpack --mode=production --env.analyze=true",
"docker": "docker run -p 8080:8080 -p 8081:8081 histacohri/docker-openmrs-esm-ohri:1.0 npx openmrs develop --backend https://ohri-working.globalhealthapp.net",
"docker": "docker run -p 8080:8080 -p 8081:8081 histacohri/docker-openmrs-esm-ohri:1.0 npx openmrs develop --backend https://openmrs-staging.globalhealthapp.net",
"docker:dev": "docker compose up",
"lint": "eslint src --ext tsx",
"typescript": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-ohri-core-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ npm test
## Deployment

Currently, available releases for this module:
- [![DEMO](https://ohri-demo.globalhealthapp.net/)]
- [![DEMO](https://openmrs-demo.globalhealthapp.net/)]

## Configuration

Expand Down

0 comments on commit 1f944d3

Please sign in to comment.