docky37 / alerts Goto Github PK
View Code? Open in Web Editor NEWSafetyNet alerts diffusion for emergency services.
SafetyNet alerts diffusion for emergency services.
From the begining, Alerts application use the same AddressFirestation class both as DTO and Entity.
This feature has been developped in 2 parts and that does not respect the specs.
So need to be rewritten in one request.
Need health, info, metrics & report end points
After that same process test + feat for
Cette liste doit regrouper les personnes par adresse. Elle doit aussi inclure le nom, le numéro de téléphone et l'âge des habitants, etfaire figurer leurs antécédents médicaux (médicaments, posologie et allergies) à côté de chaque nom.
List of Person (names, phone, age, medical data)
Group by Address
I think I've to:
I think we need to add a request to the person endpoint to get a list of person without e-mail address.
Norme HTTP. D’après la RFC 2616 (HTTP methods), PUT sert à
Créer une entité :
L’URI doit être celle de l’entité à créer . Si l’entité dans la requête est acceptée et créée côté serveur, le serveur doit renvoyer un code 201 (created).
Si l’entité peut avoir plusieurs URIs (exemple : /script/v1.2 ou /script/current), le serveur peut donc définir ces URIs alternatives comme pointant sur la nouvelle entité
Modifier une entité :
Si une entité avec la même URI que celle de la requête existe déjà, l’entité de la requête devrait la remplacer. Ce n’est pas une création, le code retourné par le serveur en cas de succès doit être 200 (OK) ou 204 (No content). En effet, en pratique un PUT va très rarement générer une réponse avec un contenu.
When I have done the refactoring of the addListMedicalRecord using MedicalMapping I have forgotten one thing, the join with personEntity !
EI: May expose internal representation by returning reference to mutable object
La méthode com.safetynet.alerts.DTO.PersonInfoDTO.getAllergies() risque d'exposer sa représentation interne en renvoyant com.safetynet.alerts.DTO.PersonInfoDTO.allergies
La méthode com.safetynet.alerts.DTO.PersonInfoDTO.getMedications() risque d'exposer sa représentation interne en renvoyant com.safetynet.alerts.DTO.PersonInfoDTO.medications
La méthode new com.safetynet.alerts.DTO.PersonInfoDTO(String, String, String, String[], String[], String) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans com.safetynet.alerts.DTO.PersonInfoDTO.allergies
La méthode new com.safetynet.alerts.DTO.PersonInfoDTO(String, String, String, String[], String[], String) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans com.safetynet.alerts.DTO.PersonInfoDTO.medications
La méthode com.safetynet.alerts.DTO.PersonInfoDTO.setAllergies(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans com.safetynet.alerts.DTO.PersonInfoDTO.allergies
La méthode com.safetynet.alerts.DTO.PersonInfoDTO.setMedications(String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans com.safetynet.alerts.DTO.PersonInfoDTO.medications
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.