Skip to content

Commit

Permalink
Add BDD
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyfrs committed May 21, 2024
1 parent 6490c59 commit f6702f9
Show file tree
Hide file tree
Showing 68 changed files with 385 additions and 5,336 deletions.
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

0 comments on commit f6702f9

Please sign in to comment.