pablito2020 / unified-platform Goto Github PK
View Code? Open in Web Editor NEWA single portal that unifies the procedures of different public administrations of Spain.
License: GNU General Public License v3.0
A single portal that unifies the procedures of different public administrations of Spain.
License: GNU General Public License v3.0
Some questions about the implementation of UnifiedPlatform:
In the forum we were answered the question related to the issue #1, we have to add the following check on the constructor:
Que el nombre de dies no superi la data actual, comptant des de la Date rebuda com a paràmetre.
We've to implement PDFDocument + test classes.
In case there's some problem, please @Oscars35 comment it here.
Doing the quote period class, I realized the following things we've to ask
Quote{
initial day: day,
number of days: days
}
Things to be done:
I don't think it's clear how does enterCred() works.
Definition:
enterCred(Nif nif, Password passw): emula el uso del formulario donde el usuario
introduce las credenciales que lo acreditan en el sistema Cl@ve permanente.
Se puede desglosar en dos eventos de entrada: uno para el nif y otro para la
contraseña.
Si el usuario ha activado el método reforzado, automáticamente se generará un PIN,
para completar el segundo paso de identificación. Ello implica haber de introducir
ese PIN mediante el método enterPIN(pin) anterior.
Excepciones: las mismas mencionadas anteriormente (NifNotRegisteredException,
AnyMobileRegisteredException, ConnectException) y, adicionalmente,
NotValidCredException, para indicar que las credenciales proporcionadas no son
correctas.
To check if the credentials are correct, checkCred() method will be used.
checkCred() definition:
ckeckCredent(Nif nif, Password passw): retorna un byte que indicará diferentes
situaciones: 0 si el ciudadano no está registrado en el sistema Cl@ve permanente
con esas credenciales; 1 sí lo está y no tiene activado el método reforzado; y 2 si lo
está y utiliza el método reforzado.
My questions are:
We have to create MobilePhone class for Citizen because we need it on UnifiedPlatform.
I finished tests for the class PDFDocument. I have just to say that moveDoc test moves the file into another location and then moves the file again to default location just to make sure openDoc test can open the file correctly.
Hey! A great task would be to improve the QuotePeriodsCollection tests. First, we've to discuss the questions on the issue #2 with the teacher and then do a more exhaustive testing on the data structure.
Some tests that I think we need to do are:
Since the QuotePeriodsCollection is a "wrapper" for a TreeSet, the TreeSet document from Java will become very handy for this tests (and for teach the user who does the tests how a TreeSet works).
Please, think about more tests that we can do for this data structure.
Please @Oscars35 if you have any questions about the implementation, write it here.
As the teacher explained on the forum, we don't have to check if the instances are null, since they were given to us by the SecuritySocial instance (which we can think that will never give a null reference).
So, we have to:
I'm trying to get the creationTime date of the PDF from the File attribute. I have been reading online about this and is quite difficult to get the creation date of a file in Linux. The question is, teacher wants us to get the date from the file or just enter the date on the constructor of the PDFDocument class? I think that she wants us to get it from the File but i have only been able to get it in milliseconds.
Please, implement the following methods:
Please, for the testing see the oscar branch, since it has all the test interfaces (and has the implementation of Cl@ve Pin Tests, which are similar).
Tests to be done:
Create a test file for the following methods:
Please, think that you will have to create some "mockup" objects that implements SS and CertificationAuthority. Some of this "mockup" objects have to be "error objects". For example, you can create a mockup object that always fail with the connection (raises a ConnectionException) and see how the class should fix or act in this case.
Ask on the forum if the AccreditationNumber has some length restriction
We can add more restrictions (and tests for the restrictions) inside the Password class.
Some restrictions can be:
The issue is self explainatory
Doing the quote period collection class, I realized the following things we've to ask
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.