Skip to content

Commit

Permalink
Versions of Dependencies updated (#92)
Browse files Browse the repository at this point in the history
* versions of dependencies updated in pom.xml and removed used import fro jsonschemavalidationtest file

* updated command in docker compose file comments and updated docker compose command in the maven workflow file
  • Loading branch information
mfaisalkhatri authored Nov 28, 2024
1 parent 946401c commit a8eb1eb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
cache: maven

- name: Start restful booker service
run: docker-compose -f ${{ github.workspace }}/docker-compose-restfulbooker.yml up -d
run: docker compose -f ${{ github.workspace }}/docker-compose-restfulbooker.yml up -d

- name: Build with Maven and run tests
run: mvn clean install

- name: Stop restful booker service
run: docker-compose -f ${{ github.workspace }}/docker-compose-restfulbooker.yml down --remove-orphans
run: docker compose -f ${{ github.workspace }}/docker-compose-restfulbooker.yml down --remove-orphans

- name: Test Report
uses: dorny/test-reporter@v1
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-restfulbooker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# To execute this docker-compose yml file use `docker-compose -f docker-compose-restfulbooker.yml up -d`
# To execute this docker-compose yml file use `docker compose -f docker-compose-restfulbooker.yml up -d`
# Add the `-d` flag at the end for detached execution
# To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose-restfulbooker.yml down`
# To stop the execution, hit Ctrl+C, and then `docker compose -f docker-compose-restfulbooker.yml down`
version: "3"
services:
restful-booker:
Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
<rest-assured.version>5.5.0</rest-assured.version>
<hamcrest-all.version>1.3</hamcrest-all.version>
<json-simple.version>1.1.1</json-simple.version>
<lombok.version>1.18.34</lombok.version>
<jackson-databind.version>2.17.2</jackson-databind.version>
<lombok.version>1.18.36</lombok.version>
<jackson-databind.version>2.18.2</jackson-databind.version>
<org-json.verion>20240303</org-json.verion>
<data-faker.version>2.3.1</data-faker.version>
<data-faker.version>2.4.2</data-faker.version>
<log4jcore.version>3.0.0-beta2</log4jcore.version>
<log4japi.version>3.0.0-beta2</log4japi.version>
<json-schema-validator.version>5.5.0</json-schema-validator.version>
<allure.version>2.28.1</allure.version>
<awaitility.version>4.2.1</awaitility.version>
<commons-lang3.version>3.15.0</commons-lang3.version>
<allure.version>2.29.0</allure.version>
<awaitility.version>4.2.2</awaitility.version>
<commons-lang3.version>3.17.0</commons-lang3.version>
<aspectj.version>1.9.22.1</aspectj.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.3.1</maven-surefire-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import io.qameta.allure.SeverityLevel;
import io.qameta.allure.Story;
import io.restassured.module.jsv.JsonSchemaValidator;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;

/**
Expand Down

0 comments on commit a8eb1eb

Please sign in to comment.