medal-data-integration-details
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| medal-data-integration-details [2022/01/10 10:56] – arnaud_poletto | medal-data-integration-details [2022/01/10 14:56] (current) – removed arnaud_poletto | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== medAL-data Integration details ====== | ||
| - | In this section we summarize the components that have been integrated into medAL-data' | ||
| - | |||
| - | ===== Back-end Changes ===== | ||
| - | |||
| - | The back-end changes consists of the following additions: | ||
| - | - Model and Controller for Health Facilities and Devices | ||
| - | - '' | ||
| - | - New service classes to perform the business logic for: | ||
| - | - Algorithms | ||
| - | - Devices | ||
| - | - Health Facilities | ||
| - | - '' | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== Passport Installation ==== | ||
| - | |||
| - | In order to install passport, we had to make slight changes to the laravel version currently used by this server. Originally, the '' | ||
| - | |||
| - | < | ||
| - | " | ||
| - | ... | ||
| - | " | ||
| - | ... | ||
| - | }, | ||
| - | </ | ||
| - | Which we changed to: | ||
| - | < | ||
| - | " | ||
| - | .... | ||
| - | " | ||
| - | ... | ||
| - | }, | ||
| - | </ | ||
| - | for the passport installation to work properly. | ||
| - | |||
| - | After changing the '' | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== Database Migrations ==== | ||
| - | |||
| - | The new migrations are the following: | ||
| - | - New nullable columns are added to the pre-existing '' | ||
| - | - The '' | ||
| - | - The health_facility_accesses table has been created to store all the algorithm versions metadata that have been assigned to health facilities. | ||
| - | - The '' | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== Services ==== | ||
| - | |||
| - | * The '' | ||
| - | * The '' | ||
| - | * The '' | ||
| - | For more information, | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== Controllers ==== | ||
| - | |||
| - | The newly controllers are the following: | ||
| - | * The '' | ||
| - | * The '' | ||
| - | * The '' | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== Middlewares and Policies ==== | ||
| - | |||
| - | The '' | ||
| - | - middleware (only users with the '' | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== Requests and Resources ==== | ||
| - | |||
| - | For creating and editing devices and health facilities, custom request classes have been created to validate the request. Moreover, when returning device models to the front-end it is first converted to a Device resource which omits some fields and translates others for the user. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== Roles ==== | ||
| - | |||
| - | The '' | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ===== Front-end Changes ===== | ||
| - | |||
| - | The existing front-end has been extended with two new dashboard accessible to logistician users, Devices and Health Facilities. Both dashboard are made of reactive vue components. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== Upgrade Laravel-Mix ==== | ||
| - | |||
| - | The version of Laravel mix previously declared in '' | ||
| - | |||
| - | after which the command '' | ||
medal-data-integration-details.1641808593.txt.gz · Last modified: 2022/01/10 10:56 by arnaud_poletto
