- Aug 10, 2016
-
-
João Victor Risso authored
Changelog: - Add education level to all queries - Add route '/education_level' to query the available education levels. The response is a set of pairs (id, education_level) - Change var declarations to their respective const and let counterparts - Fix wrong foreign key name in the aggregation by states. When a adm_dependency_id parameter was supplied, the query would fail.
-
- Aug 03, 2016
-
-
João Victor Risso authored
-
João Victor Risso authored
-
João Victor Risso authored
Changes: - Add error handling in the database query function. When a database error occurs, it is logged in the server and a plain text response is returned to the user. - Implement the building of queries inside the API, which removes the need to have stored functions/procedures on the database, which is not flexible or efficient to maintain/extend. - Use route chaining to determine which function will build the query that needs to be executed. The last function is the one that actually sends the query to the database and send the response. Future Work: - Instead of returning a plain text response, return a HTTP 501 status, which is currently not possible. When one attempts to send such status the framework throws an error that the headers were already sent for the current request. - Chaining based on the route might not be the best solution here.
-
- Aug 02, 2016
-
-
João Victor Risso authored
-
- Jul 25, 2016
-
-
Vytor Calixto authored
-
- Jul 12, 2016
-
-
Vytor Calixto authored
-
Vytor Calixto authored
-
- Jul 11, 2016
-
-
João Victor Risso authored
-
João Victor Risso authored
Signed-off-by:
João Victor Tozatti Risso <jvtr12@c3sl.ufpr.br>
-
João Victor Risso authored
Signed-off-by:
João Victor Tozatti Risso <jvtr12@c3sl.ufpr.br>
-
Vytor Calixto authored
Closes #6
-
João Victor Risso authored
Signed-off-by:
João Victor Tozatti Risso <jvtr12@c3sl.ufpr.br>
-
João Victor Risso authored
Signed-off-by:
João Victor Tozatti Risso <jvtr12@c3sl.ufpr.br>
-
- Jul 08, 2016
-
-
Vytor Calixto authored
-
Vytor Calixto authored
-
João Victor Risso authored
- Rename /matriculas to /enrollments - Add initial support for parameters in the enrollments route
-
Vytor Calixto authored
-
Lucas Gabriel Lima authored
-
Lucas Gabriel Lima authored
-
Vytor Calixto authored
-
- Jul 07, 2016
-
-
Vytor Calixto authored
-
- Jul 06, 2016
-
-
Vytor Calixto authored
Related: #3
-
João Victor Risso authored
Signed-off-by:
João Victor Tozatti Risso <jvtr12@c3sl.ufpr.br>
-
- Jul 01, 2016
-
-
João Victor Risso authored
Implement the following aggregations: - per-state - per-region - country In order to use these queries one should use the /api/v1/matriculas route. When the 'agregar' query parameter is set, one could use the values 'estado' and 'regiao' to run the aggregation for state and region, respectively. Otherwise, if no parameters are supplied, it defaults to the whole country aggregation query.
-
- Jun 24, 2016
-
-
Vytor Calixto authored
Not following any specs
-
- Jun 15, 2016
-
-
Vytor Calixto authored
-