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

Update dependencies #514

Merged
merged 27 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ebd3680
Update dependencies
pnatashap Aug 25, 2023
c3d1944
Update H2
pnatashap Aug 25, 2023
d1bfd7d
Update logback
pnatashap Aug 25, 2023
5ed2690
Update logback 1.4.0
pnatashap Aug 25, 2023
96f5870
Update logback 1.3.11 - the last available for JDK8
pnatashap Aug 25, 2023
f5461b9
Add slf4j dependency
pnatashap Aug 25, 2023
88558fb
Add slf4j dependency
pnatashap Aug 25, 2023
dc3f5bd
Add slf4j dependency
pnatashap Aug 25, 2023
519831c
Add slf4j dependency
pnatashap Aug 25, 2023
93b5b3c
Add slf4j dependency
pnatashap Aug 25, 2023
f68aa62
Add slf4j dependency
pnatashap Aug 25, 2023
8c6540f
Remove duplication
pnatashap Aug 25, 2023
a96da78
Update versions
pnatashap Aug 26, 2023
d9d0b8f
Update versions
pnatashap Aug 26, 2023
c85c8ae
Update allure-java-commons
pnatashap Aug 30, 2023
41c049c
Remove coveralls-maven-plugin from dependencies
pnatashap Aug 31, 2023
b717bf4
Exclude transitive
pnatashap Aug 31, 2023
2ff9064
Update soap-api
pnatashap Aug 31, 2023
aa8999f
Rollback soap-api (version 3 does not work in JDK 8)
pnatashap Aug 31, 2023
b2deaf2
CHange saaj-impl version
pnatashap Aug 31, 2023
0353c99
Change saaj-impl version
pnatashap Aug 31, 2023
6462586
Change saaj-impl version
pnatashap Sep 1, 2023
28fb9a1
Remove QuatesService calls, as it is not available for free (only 5 c…
pnatashap Sep 1, 2023
3ee6f1f
Change QuatesService to check for the error
pnatashap Sep 1, 2023
3385edd
Rollback soap-api
pnatashap Sep 1, 2023
31bbd2a
Rollback soap-api
pnatashap Sep 1, 2023
eac435a
Rollback soap-api
pnatashap Sep 1, 2023
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
18 changes: 2 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,6 @@ jobs:
java -Xmx32m -version
env

- name: Set parameters for AspectJ
id: aspect_j_params
if: ${{ matrix.java > 15 }}
run: |
echo "ASPECT_ARGS=-Daspectj.args="\"$SUREFIRE_ARGS\" >> $GITHUB_ENV
echo "ASPECT_ARGS_BDD=-Daspectj.args="\"$SUREFIRE_ARGS_BDD\" >> $GITHUB_ENV

- name: Set parameters for AspectJ
id: aspect_j_params_empty
if: ${{ matrix.java < 16 }}
run: |
echo "ASPECT_ARGS=-Daspectj.args=''" >> $GITHUB_ENV
echo "ASPECT_ARGS_BDD=-Daspectj.args=''" >> $GITHUB_ENV

# run cann't start from comment
# curl -o allure-${ALLURE_VERSION}.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/${ALLURE_VERSION}/allure-${ALLURE_VERSION}.tgz
- name: Install Allure
Expand All @@ -80,14 +66,14 @@ jobs:
if: steps.jdi-compile.outcome == 'success'
timeout-minutes: 30 # prevent blocking
continue-on-error: true
run: mvn verify -pl $BDD_TESTS ${{ env.ASPECT_ARGS_BDD }} --fail-at-end
run: mvn verify -pl $BDD_TESTS --fail-at-end

- name: Run tests - HTTP
id: testsHttp
if: steps.jdi-compile.outcome == 'success'
timeout-minutes: 30 # prevent blocking
continue-on-error: true
run: mvn verify -pl $HTTP_TESTS ${{ env.ASPECT_ARGS }} --fail-at-end
run: mvn verify -pl $HTTP_TESTS --fail-at-end

- name: Collect reports
if: steps.jdi-compile.outcome == 'success'
Expand Down
13 changes: 11 additions & 2 deletions jdi-dark-bdd-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<aspectj.version>1.9.5</aspectj.version>
<allure.maven.version>2.10.0</allure.maven.version>
<allure.common.version>2.20.1</allure.common.version>
<allure.common.version>2.24.0</allure.common.version>
<junit.version>4.12</junit.version>
<surefire.version>3.0.0-M7</surefire.version>
<jdi.dark.version>1.1.14-SNAPSHOT</jdi.dark.version>
Expand All @@ -24,8 +24,11 @@
<profiles>
<profile>
<id>jdk16</id>
<activation>
<jdk>[16, 20]</jdk>
</activation>
<properties>
<aspectj.args>--add-opens java.base/java.lang=ALL-UNNAMED</aspectj.args>
<aspectj.args>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED</aspectj.args>
</properties>
</profile>
</profiles>
Expand All @@ -47,6 +50,12 @@
<groupId>io.qameta.allure</groupId>
<artifactId>allure-java-commons</artifactId>
<version>${allure.common.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
Expand Down
18 changes: 1 addition & 17 deletions jdi-dark-bdd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.15.0</version>
<version>3.24.2</version>
</dependency>
</dependencies>

Expand Down Expand Up @@ -66,22 +66,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jdi-dark-rest-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<properties>
<java.version>1.8</java.version>
<h2.version>2.1.210</h2.version>
<h2.version>2.2.220</h2.version>
<springdoc-openapi>1.2.10</springdoc-openapi>
<gson.version>2.8.9</gson.version>
<jjwt.version>0.9.1</jjwt.version>
Expand Down
11 changes: 10 additions & 1 deletion jdi-dark-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.5</version>
<version>7.5.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand Down Expand Up @@ -279,5 +279,14 @@
<log.level>DEBUG</log.level>
</properties>
</profile>
<profile>
<id>jdk16</id>
<activation>
<jdk>[16, 20]</jdk>
</activation>
<properties>
<aspectj.args>--add-opens java.base/java.lang=ALL-UNNAMED</aspectj.args>
</properties>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import static org.hamcrest.Matchers.containsString;

import com.epam.http.requests.ServiceSettings;
import com.epam.http.response.ResponseStatusType;
import com.epam.http.response.RestResponse;
import com.epam.jdi.httptests.support.TwoServicesInit;
import com.epam.jdi.services.QuotesService;
Expand Down Expand Up @@ -41,7 +42,7 @@ public static void testSearchChangingDomainAndOtherServiceCall() {

final QuotesService quotesService = init(QuotesService.class);
final RestResponse quotesServiceResp = quotesService.quoteOfTheDayCategories.call();
quotesServiceResp.isOk();
quotesServiceResp.isStatus(ResponseStatusType.CLIENT_ERROR);

final ServiceNoDomainAnnotation googleSearch =
init(ServiceNoDomainAnnotation.class, "https://google.com");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ public static void testSearchChangingDomainAndOtherServiceCall() {
final RestResponse responseYahoo = yahoo.searchInstanceMethod.call();
responseYahoo.isOk().body(containsString("yahoo.com"));

/* Service is available for free to debug
final QuotesService quotesService = init(QuotesService.class);
final RestResponse quotesServiceResp = quotesService.quoteOfTheDayCategories.call();
quotesServiceResp.isOk();
*/

final GoogleSearch googleSearch = init(GoogleSearch.class, "https://google.com");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
import java.util.HashMap;
import java.util.Map;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Ignore;
import org.testng.annotations.Test;

/** Created by oksana_cherniavskaia on 27.08.2020. */
// Service is avaible for free only with token and 5 requests per day are free
@Ignore
public class QuotesServiceStaticAndInstanceRestMethodsTests {
@BeforeTest
public void before() {
Expand Down
40 changes: 34 additions & 6 deletions jdi-dark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<gson.version>2.8.9</gson.version>
<rest-assured.version>5.3.0</rest-assured.version>
<gson.version>2.10.1</gson.version>
<rest-assured.version>5.3.1</rest-assured.version>
<jdi-light-saber.version>3.0.7</jdi-light-saber.version>
<allure-rest-assured.version>2.14.0</allure-rest-assured.version>
<log4j2.version>2.17.1</log4j2.version>
<lombok.version>1.18.20</lombok.version>
<allure-rest-assured.version>2.23.0</allure-rest-assured.version>
<log4j2.version>2.20.0</log4j2.version>
<lombok.version>1.18.28</lombok.version>
<slf4j.version>2.0.7</slf4j.version>
<gpg.key></gpg.key>
</properties>

Expand Down Expand Up @@ -57,6 +58,17 @@
<groupId>com.jdiai.tools</groupId>
<artifactId>jdi-light-saber</artifactId>
<version>${jdi-light-saber.version}</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.15.2</version>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
Expand All @@ -73,10 +85,26 @@
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<version>${log4j2.version}</version>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
<version>1.3.11</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
8 changes: 0 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down
Loading