diff --git a/docs/pilote/Pilote - TS - Back/application/deploy.md b/docs/pilote/Pilote - TS - Back/application/deploy.md index cf41a3fd851a0b009feb93a1c2a54042225f5088..9b1701fe4f02cb62b84cf01624fd5ff94472d525 100644 --- a/docs/pilote/Pilote - TS - Back/application/deploy.md +++ b/docs/pilote/Pilote - TS - Back/application/deploy.md @@ -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 diff --git a/docs/pilote/Pilote - TS - Back/functionalities/routes.md b/docs/pilote/Pilote - TS - Back/functionalities/routes.md index ea55a4625a0a47a4bfad38d17507c0aac93e79cf..0a9348654286472ea1f2728db4edfaa4edd52bcc 100644 --- a/docs/pilote/Pilote - TS - Back/functionalities/routes.md +++ b/docs/pilote/Pilote - TS - Back/functionalities/routes.md @@ -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 diff --git a/docs/pilote/Pilote - TS - Back/getting_started/launch_local_application.md b/docs/pilote/Pilote - TS - Back/getting_started/launch_local_application.md index 942de67200e15ff491bd8cc74fc95165b2319426..7efb6e23f91df92a42ab419cd5978b637997bd0b 100644 --- a/docs/pilote/Pilote - TS - Back/getting_started/launch_local_application.md +++ b/docs/pilote/Pilote - TS - Back/getting_started/launch_local_application.md @@ -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 diff --git a/docs/pilote/Pilote - TS - Front/functionalities/functions.md b/docs/pilote/Pilote - TS - Front/functionalities/functions.md index e48e62494a5db1449f25d16c2df11dc5d03c2f6e..71ca1f2d29d35eb21d36e55db87324826f2165da 100644 --- a/docs/pilote/Pilote - TS - Front/functionalities/functions.md +++ b/docs/pilote/Pilote - TS - Front/functionalities/functions.md @@ -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