Skip to content

Commit

Permalink
Feature/mark existing qa environment as deprecated (#220)
Browse files Browse the repository at this point in the history
* Update agrirouter SDK Java version to 3.2.1

The version of the agrirouter SDK Java has been updated from 3.2.0 to 3.2.1 across all related artifacts within the project's POM files. This update includes the main SDK, convenience, implementation, API, and tests modules.

* Deprecate QA environment class in agrirouter SDK

The QA class in the agrirouter SDK has been marked as deprecated indicating its imminent removal in future versions. Moving forward, the default agrirouter environment should be used.

* Remove jackson-annotations dependency

This commit removes the jackson-annotations dependency from both the agrirouter-sdk-java-api module and the main project pom.xml file. The reason for removal has not been specified, but it may be related to redundancy or unneeded functionality. Other dependencies remain unaffected.
  • Loading branch information
saschadoemer authored Jul 25, 2024
1 parent 296ffd0 commit 570c238
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
6 changes: 1 addition & 5 deletions agrirouter-sdk-java-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.agrirouter.api</groupId>
<artifactId>agrirouter-sdk-java</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
</parent>
<name>AGRIROUTER SDK JAVA - API</name>
<artifactId>agrirouter-sdk-java-api</artifactId>
Expand All @@ -24,10 +24,6 @@
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

/**
* Abstraction of the QA environment, currently no overrides because the default is QA already.
*
* @deprecated This class is deprecated and will be removed in future versions.
* The new agrirouter environment will be the default to use
*/
@Deprecated(since = "3.2.0", forRemoval = true)
public abstract class QA implements Environment {

private static final String ENV_BASE_URL = "https://agrirouter-qa.cfapps.eu10.hana.ondemand.com";
Expand Down
2 changes: 1 addition & 1 deletion agrirouter-sdk-java-convenience/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.agrirouter.api</groupId>
<artifactId>agrirouter-sdk-java</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
</parent>
<name>AGRIROUTER SDK JAVA - CONVENIENCE</name>
<artifactId>agrirouter-sdk-java-convenience</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion agrirouter-sdk-java-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.agrirouter.api</groupId>
<artifactId>agrirouter-sdk-java</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
</parent>
<name>AGRIROUTER SDK JAVA - IMPL</name>
<artifactId>agrirouter-sdk-java-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion agrirouter-sdk-java-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>agrirouter-sdk-java</artifactId>
<groupId>com.agrirouter.api</groupId>
<version>3.2.0</version>
<version>3.2.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>AGRIROUTER SDK JAVA - TESTS</name>
Expand Down
7 changes: 1 addition & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.agrirouter.api</groupId>
<artifactId>agrirouter-sdk-java</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
<packaging>pom</packaging>

<name>AGRIROUTER SDK JAVA</name>
Expand Down Expand Up @@ -188,11 +188,6 @@
<artifactId>jersey-media-json-jackson</artifactId>
<version>3.1.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.16.0</version>
</dependency>

<!-- HTTP -->
<dependency>
Expand Down

0 comments on commit 570c238

Please sign in to comment.