Skip to content
Snippets Groups Projects
Commit f9836509 authored by PEDROLI Benjamin's avatar PEDROLI Benjamin
Browse files

Merge branch 'pilote'

parents fac8efd6 f7d1428c
No related branches found
No related tags found
No related merge requests found
Pipeline #12388 passed
......@@ -2,4 +2,6 @@
For each environment, the CI-CD is implemented.
Once, you commit on 'dev' branch or 'rec' branch, the pipeline linked is running.
\ No newline at end of file
Once, you commit on 'dev' branch or 'rec' branch, the pipeline linked is running.
On master branch, only build is set on the pipeline.
\ No newline at end of file
......@@ -21,8 +21,9 @@ This section explains the different API route.
- `/api/beneficiaire`: Get all usager known from Postgre database.
- `/api/beneficiaire/create'`: This rotue is used in order to store Usager domain and his trigger proccess from Cozy.
- `/api/beneficiaire/create'`: This rotue is used in order to store Usager domain and his trigger proccess from Cozy. This route is protected by a COZY_SECRET env variable token. This token is generated by us. If you change it, you need to inform Cozy team because this token is store in their side also.
- `/api/beneficiaire/remove'`: This rotue is used in order to remove Usager domain and his trigger proccess. Only availabe by POST. This route is not accessible from any part of TS FRONT application. Protected rout by the same token of create route.
# Cozy
......
......@@ -37,3 +37,5 @@ To start test defined just run the command in a PowerShell or Windows Powershell
```
yarn test:watch
```
Don't forget to uncomment ending row into beneficiary.service.ts file before to run the above command.
\ No newline at end of file
......@@ -8,4 +8,6 @@ You are getting all usager known.
# Sharing
For each beneficiary, you can ask the sharing. It means that you will be redirect into the public page of the cozy usager. In the same time, one process is running in order to send the sms. This sms contain one sharecode in order to provide some right on the cozy usager.
\ No newline at end of file
For each beneficiary, you can ask the sharing. It means that you will be redirect into the public page of the cozy usager. In the same time, one process is running in order to send the sms. This sms contain one sharecode in order to provide some right on the cozy usager.
In order to help you to understand this process, you can check : Pilote - TS - Back/project_architecture/Partage_SMS.png
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment