From a74dc5889d30daa6c84150db9450631ee885c872 Mon Sep 17 00:00:00 2001 From: BarbaraMAlmeida Date: Fri, 4 Apr 2025 19:17:39 -0300 Subject: [PATCH 1/7] =?UTF-8?q?task=20#6=20-=20teste=20de=20commit=20e=20v?= =?UTF-8?q?incula=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 541f35a..c1f602b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Simple API Java -Aplicação API +Aplicação API TESTE COMMIT ## Pré-requisitos From b9130f6c756c81f6a982d8af28d2ca3bbd91f2d2 Mon Sep 17 00:00:00 2001 From: BarbaraMAlmeida Date: Fri, 4 Apr 2025 19:21:12 -0300 Subject: [PATCH 2/7] =?UTF-8?q?git=20commit=20-m=20"Adicionado=20coment?= =?UTF-8?q?=C3=A1rio=20para=20AB#6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c1f602b..cde50c5 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ Aplicação API TESTE COMMIT - Java 21 - Git - Docker +aaa ## Build e execução From b60139f17e99bf66434deb6c343d9941fb72f647 Mon Sep 17 00:00:00 2001 From: BarbaraMAlmeida Date: Fri, 4 Apr 2025 19:21:56 -0300 Subject: [PATCH 3/7] =?UTF-8?q?#6=20-=20atualiza=C3=A7=C3=B5es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index cde50c5..c1f602b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ Aplicação API TESTE COMMIT - Java 21 - Git - Docker -aaa ## Build e execução From f4e69b5b11869cecf3425ff888893bddd4ba216b Mon Sep 17 00:00:00 2001 From: BarbaraMAlmeida Date: Fri, 4 Apr 2025 19:22:29 -0300 Subject: [PATCH 4/7] AB#6 teste --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c1f602b..fc314c1 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ Aplicação API TESTE COMMIT - Git - Docker + +aaaa + ## Build e execução ```sh From 83e4bc32404f603395f3807a11cfaf522fc84e65 Mon Sep 17 00:00:00 2001 From: BarbaraMAlmeida Date: Sat, 12 Apr 2025 18:04:37 -0300 Subject: [PATCH 5/7] Continuous Integration CI --- .github/workflows/continuous-integration.yaml | 21 +++++++++++++++++++ compose.yaml | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/continuous-integration.yaml diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml new file mode 100644 index 0000000..0fcaaad --- /dev/null +++ b/.github/workflows/continuous-integration.yaml @@ -0,0 +1,21 @@ +name: Continuous Integration +on: + pull_request: + types: [opened, reopened] + branches: + -develop +jobs: + build: + runs-on: ubuntu-latest + steps: + - + name: Git Checkout + uses: actions/checkout@v4 + + - name: Setup Java SDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' + - name: Unit tests + run: mvn test \ No newline at end of file diff --git a/compose.yaml b/compose.yaml index b7dc1b5..70efdb4 100644 --- a/compose.yaml +++ b/compose.yaml @@ -13,6 +13,6 @@ services: - "8080:8080" environment: - PROFILE=dev - - DATABASE_URL=jdbc:mysql://db:3306/api?createDatabaseIfNotExist=true + - DATABASE_URL=jdbc:mysql://bd-fiap-api-dev-babi.mysql.database.azure.com:3306/api?createDatabaseIfNotExist=true - DATABASE_USER=root - DATABASE_PWD=root_pass From 8c7e4b7bd83ef25385a64ba87a4c011b22258a43 Mon Sep 17 00:00:00 2001 From: BarbaraMAlmeida Date: Sat, 12 Apr 2025 18:07:20 -0300 Subject: [PATCH 6/7] teste continuos integration --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index fc314c1..71d6d30 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ Aplicação API TESTE COMMIT - Docker -aaaa ## Build e execução From dc8ad6eb1815bb99c2994586feecdf0b29a60266 Mon Sep 17 00:00:00 2001 From: BarbaraMAlmeida Date: Sat, 12 Apr 2025 18:18:43 -0300 Subject: [PATCH 7/7] teste continuos integration --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 71d6d30..9f1b847 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Aplicação API TESTE COMMIT ## Build e execução +aa ```sh docker compose up --build