Skip to content

Commit a8eb1eb

Browse files
Versions of Dependencies updated (#92)
* 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
1 parent 946401c commit a8eb1eb

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
cache: maven
2525

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

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

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

3535
- name: Test Report
3636
uses: dorny/test-reporter@v1

docker-compose-restfulbooker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# To execute this docker-compose yml file use `docker-compose -f docker-compose-restfulbooker.yml up -d`
1+
# To execute this docker-compose yml file use `docker compose -f docker-compose-restfulbooker.yml up -d`
22
# Add the `-d` flag at the end for detached execution
3-
# To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose-restfulbooker.yml down`
3+
# To stop the execution, hit Ctrl+C, and then `docker compose -f docker-compose-restfulbooker.yml down`
44
version: "3"
55
services:
66
restful-booker:

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
<rest-assured.version>5.5.0</rest-assured.version>
1515
<hamcrest-all.version>1.3</hamcrest-all.version>
1616
<json-simple.version>1.1.1</json-simple.version>
17-
<lombok.version>1.18.34</lombok.version>
18-
<jackson-databind.version>2.17.2</jackson-databind.version>
17+
<lombok.version>1.18.36</lombok.version>
18+
<jackson-databind.version>2.18.2</jackson-databind.version>
1919
<org-json.verion>20240303</org-json.verion>
20-
<data-faker.version>2.3.1</data-faker.version>
20+
<data-faker.version>2.4.2</data-faker.version>
2121
<log4jcore.version>3.0.0-beta2</log4jcore.version>
2222
<log4japi.version>3.0.0-beta2</log4japi.version>
2323
<json-schema-validator.version>5.5.0</json-schema-validator.version>
24-
<allure.version>2.28.1</allure.version>
25-
<awaitility.version>4.2.1</awaitility.version>
26-
<commons-lang3.version>3.15.0</commons-lang3.version>
24+
<allure.version>2.29.0</allure.version>
25+
<awaitility.version>4.2.2</awaitility.version>
26+
<commons-lang3.version>3.17.0</commons-lang3.version>
2727
<aspectj.version>1.9.22.1</aspectj.version>
2828
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
2929
<maven-surefire-plugin.version>3.3.1</maven-surefire-plugin.version>

src/test/java/com/restfulbooker/JsonSchemaValidationTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import io.qameta.allure.SeverityLevel;
1818
import io.qameta.allure.Story;
1919
import io.restassured.module.jsv.JsonSchemaValidator;
20-
import org.testng.annotations.BeforeTest;
2120
import org.testng.annotations.Test;
2221

2322
/**

0 commit comments

Comments
 (0)