Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BDD #21

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: aws-actions/amazon-ecr-login@v2

- name: Build, tag, and push docker image to Amazon ECR
#if: github.ref == 'refs/heads/main' && github.event_name == 'push'
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: ${{ vars.AWS_ECR_REPO_NAME }}
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
# Microsserviço de estoque

Administração de produtos, componentes de produtos, e estoque de componentes.

Consulte a documentação completa no [repositório principal do grupo](https://github.com/FIAP-3SOAT-G15/tech-challenge).

### Análise estática

Projeto no SonarCloud: [https://sonarcloud.io/project/overview?id=FIAP-3SOAT-G15_stock-api](https://sonarcloud.io/project/overview?id=FIAP-3SOAT-G15_stock-api)

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=FIAP-3SOAT-G15_stock-api&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=FIAP-3SOAT-G15_stock-api)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=FIAP-3SOAT-G15_stock-api&metric=coverage)](https://sonarcloud.io/summary/new_code?id=FIAP-3SOAT-G15_stock-api)

### BDD / Cucumber

Este microsserviço contém testes de integração implementados com Cucumber:
- [Component.feature](src/test/resources/features/Component.feature): cadastro de componente (e estoque)
- [Product.feature](src/test/resources/features/Product.feature): cadastro de produto

Os testes são executados durante CI e também podem ser executados manualmente conforme comandos a seguir.

### Executar localmente

```bash
Expand Down
11 changes: 0 additions & 11 deletions docs/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/adr/0001-forma-de-trabalho.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/adr/0002-api.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/adr/0003-ci-cd.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/adr/0004-linguagem-de-programacao.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/adr/0005-framework.md

This file was deleted.

20 changes: 0 additions & 20 deletions docs/adr/0006-banco-de-dados.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/cml/context-map.cml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/context-map.md

This file was deleted.

53 changes: 0 additions & 53 deletions docs/database.md

This file was deleted.

37 changes: 0 additions & 37 deletions docs/deliverables.md

This file was deleted.

Binary file removed docs/diagrams/aws.jpeg
Binary file not shown.
Binary file removed docs/diagrams/c4-container.png
Binary file not shown.
Binary file removed docs/diagrams/c4-context.png
Binary file not shown.
Binary file removed docs/diagrams/context-map.png
Binary file not shown.
Binary file removed docs/diagrams/db-er-diagram.png
Binary file not shown.
Loading
Loading