-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from fga-gpp-mds/development
Pull request sprint 13
- Loading branch information
Showing
21 changed files
with
340 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
class RecommendationsController < ApplicationController | ||
before_action :set_recommendation, only: [:show, :update, :destroy] | ||
|
||
# GET /recommendations | ||
def index | ||
@recommendations = Recommendation.all | ||
|
||
render json: @recommendations | ||
end | ||
|
||
# GET /recommendations/1 | ||
def show | ||
render json: @recommendation | ||
end | ||
|
||
# POST /recommendations | ||
def create | ||
@recommendation = Recommendation.new(recommendation_params) | ||
|
||
if @recommendation.save | ||
render json: @recommendation, status: :created, location: @recommendation | ||
else | ||
render json: @recommendation.errors, status: :unprocessable_entity | ||
end | ||
end | ||
|
||
# PATCH/PUT /recommendations/1 | ||
def update | ||
if @recommendation.update(recommendation_params) | ||
render json: @recommendation | ||
else | ||
render json: @recommendation.errors, status: :unprocessable_entity | ||
end | ||
end | ||
|
||
# DELETE /recommendations/1 | ||
def destroy | ||
@recommendation.destroy | ||
end | ||
|
||
private | ||
# Use callbacks to share common setup or constraints between actions. | ||
def set_recommendation | ||
@recommendation = Recommendation.find(params[:id]) | ||
end | ||
|
||
# Only allow a trusted parameter "white list" through. | ||
def recommendation_params | ||
params.require(:recommendation).permit(:title, :string, :body, :student_id) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class Recommendation < ApplicationRecord | ||
belongs_to :student | ||
|
||
validates_presence_of :student_id, presence: true, message: 'cannot be left blank' | ||
validates_presence_of :title, presence: true, message: 'cannot be left blank' | ||
validates_presence_of :body, presence: true, message: 'cannot be left blank' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
class RecommendationSerializer < ActiveModel::Serializer | ||
attributes :id, :title, :body | ||
has_one :student | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class CreateRecommendations < ActiveRecord::Migration[5.1] | ||
def change | ||
create_table :recommendations do |t| | ||
t.string :title | ||
t.string :body | ||
t.belongs_to :student, index: true | ||
|
||
t.timestamps | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
## Sprint 13 | ||
### Data de inicio: 02/05/2018 | ||
### Data de término: 09/06/2018 | ||
|
||
### Reunião | ||
#### Data da reunião: 09/06/2018 | ||
|
||
|Nome|Presente| | ||
|----|----| | ||
|Byron Kamal|:heavy_check_mark: | | ||
|Gabriel Alves|:heavy_check_mark: | | ||
|Igor Aragão|<p><strong>JUSTIFICADO</strong></p> | | ||
|Igor Veludo|:heavy_check_mark: | | ||
|João Mota|<p><strong>JUSTIFICADO</strong></p> | | ||
|Marcelo Araújo|:heavy_check_mark: | | ||
|William Silva|:heavy_check_mark: | | ||
|
||
## Review | ||
|
||
#### Histórias entregues: | ||
- [US#14-sendRecommendations](https://github.com/fga-gpp-mds/2018.1-IncluCare_API/issues/22) **Pontos 8** | ||
- [US#26-studentPanelLog](https://github.com/fga-gpp-mds/2018.1-IncluCare_API/issues/102) **Pontos 3** | ||
|
||
###TD - Divida Tecnica | ||
- [US#23-exportReport](https://github.com/fga-gpp-mds/2018.1-IncluCare_API/issues/93) **8 pontos** | ||
|
||
##### Total de pontos planejados: 11 | ||
##### Total de pontos entregues: 11 | ||
|
||
## Retrospectiva | ||
### Pontos Positivos: | ||
<ul> | ||
<li>Melhora no conhecimento técnico - linguagens</li> | ||
<li>Melhora nos pareamentos</li> | ||
<li>Melhora na gestão do tempo</li> | ||
</ul> | ||
|
||
### Pontos Negativos: | ||
|
||
<ul> | ||
<li>Testes no front-end</li> | ||
</ul> | ||
|
||
### Pontos a melhorar: | ||
<ul> | ||
<li>Nivelamento técnico da equipe</li> | ||
<li>Testes no front-end</li> | ||
</ul> | ||
|
||
## Burndown | ||
![Sprint 13 - Burndown](https://imgur.com/a/AZf3IT3.png) | ||
|
||
## Velocity | ||
![Sprint 13 - Velocity](https://imgur.com/HrWG9I4.png) | ||
|
||
Foram planejadas as entregas de 3 histórias de usuário, sendo uma divida técnica. Todas foram entregues. | ||
|
||
## Métricas | ||
Nessa Sprint os valores alcançados nas métricas foram: | ||
|
||
#### BackEnd | ||
|Métrica|Resultado|Aceitável?| | ||
|----|----|----| | ||
|MAINTAINABILITY|A|:heavy_check_mark:| | ||
|BUILD|PASSING|:heavy_check_mark:| | ||
|TESTS COVERAGE|97%|:heavy_check_mark:| | ||
|
||
#### FrontEnd | ||
|Métrica|Resultado|Aceitável?| | ||
|----|----|----| | ||
|MAINTAINABILITY|F|:x:| | ||
|BUILD|PASSING|:heavy_check_mark:| | ||
|TESTS COVERAGE|65%|:x:| | ||
|
||
## Comparação Entre Quadros de Conhecimento | ||
### Sprint 12 (passada) | ||
![Sprint 12 - Quadro de Conhecimento](https://imgur.com/G1NDaiO.png) | ||
|
||
### Sprint 13 (atual) | ||
![Sprint 13 - Quadro de Conhecimento](https://imgur.com/a/qhzjVc7.png) | ||
|
||
## Análise do Scrum Master | ||
<p>Nessa Sprint, houve um comprometimento maior dos integrantes em relação a Sprint passada. Alguns pareamentos conseguiram entregar a sua história bem mais cedo em relação a Sprint passada. Porém, outros grupos de pareamento entregaram em cima da hora.</p> | ||
<p>Houve maior participação de membros que se mostravam mais ausentes em relação ao código. O pareamento de certa forma foi bem-sucedido, pois alguns membros conseguiram melhorar seu conhecimento, o que é possível ver no quadro de conhecimento.</p> |
Oops, something went wrong.