Skip to content

Commit 9e964f4

Browse files
author
Issam Kadar
committed
chore/lrm/server : clean LRM_PASSPHRASE varuable
1 parent 1580d02 commit 9e964f4

File tree

5 files changed

+0
-6
lines changed

5 files changed

+0
-6
lines changed

web/lrm/server/.env.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
HUB_URL=amqps://messaging.integration.hub.esante.gouv.fr
2-
LRM_PASSPHRASE=CHANGE_ME_mock_cert_password
32
GITHUB_TOKEN=mock_github_token
43
ADMIN_PASSWORD=mock_admin_password
54
VHOST_CLIENT_MAP={"15-15_v2.1": ["fr.health.test.samuA", "fr.health.test.samuB"]}

web/lrm/server/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
cp .env.template .env
99
```
1010

11-
- Set the value of `LRM_PASSPHRASE` to the passphrase of the server certificate to conect to RabbitMQ. Ask for the value to another member of the team.
12-
1311
- *Optional:* Update the content of the `.env` file:
1412
- `HUB_URL` controls the RabbitMQ instance the app will connect to. Use `amqps://messaging.<environment>.hub.esante.gouv.fr` to connect to a specific environment (or `amqps://messaging.hub.esante.gouv.fr` for production).
1513
- `GITHUB_TOKEN` is used to interract with Github API. It should be set to a valid token when working of the feature that consumes the Github API. See [Github documentation](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) on how to generate a personal token with the correct rights.

web/lrm/server/src/WebSocketHandler.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ beforeEach(() => {
1212
...originalEnv,
1313
ADMIN_PASSWORD: 'foo',
1414
HUB_URL: 'foo',
15-
LRM_PASSPHRASE: 'foo',
1615
VHOST_CLIENT_MAP: JSON.stringify({
1716
'15-15_v1.5': ['fr.health.test.samuV1', 'fr.health.test.samuA'],
1817
'15-15_v2.0': ['fr.health.test.samuV2', 'fr.health.test.samuB'],

web/lrm/server/src/expressServer.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ beforeEach(() => {
4949
...originalEnv,
5050
ADMIN_PASSWORD: 'foo',
5151
HUB_URL: 'foo',
52-
LRM_PASSPHRASE: 'foo',
5352
VHOST_CLIENT_MAP: JSON.stringify({
5453
'15-15_v1.5': ['fr.health.test.samuV1', 'fr.health.test.samuA'],
5554
'15-15_v2.0': ['fr.health.test.samuV2', 'fr.health.test.samuB'],

web/lrm/server/src/service/messaging.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ beforeEach(() => {
4343
...originalEnv,
4444
ADMIN_PASSWORD: 'foo',
4545
HUB_URL: 'foo',
46-
LRM_PASSPHRASE: 'foo',
4746
VHOST_CLIENT_MAP: JSON.stringify({
4847
'15-15_v1.5': ['fr.health.test.samuV1'],
4948
}),

0 commit comments

Comments
 (0)