Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion access-grant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-accessgrant</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@

/**
* Utility methods for use with the Access Grant module.
*
* @deprecated This class will be removed from the SDK in version 3.0 and moved into the examples.
**/
@Deprecated(since = "2.1.0", forRemoval = true)
public final class AccessGrantUtils {

Check warning on line 44 in access-grant/src/main/java/com/inrupt/client/accessgrant/AccessGrantUtils.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=solid-client-java&issues=AaH1zLCFMQI4ZRDs1-jT&open=AaH1zLCFMQI4ZRDs1-jT&pullRequest=2807

private static final RDF rdf = RDFFactory.getInstance();
private static final IRI SOLID_ACCESS_GRANT = rdf.createIRI("http://www.w3.org/ns/solid/vc#SolidAccessGrant");
Expand Down
2 changes: 1 addition & 1 deletion acp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-acp</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions acp/src/main/java/com/inrupt/client/acp/AccessControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@
*
* <p>An access control applies {@link Policy} objects directly to a resource
* via {@code acp:accessControl} or to container members via {@code acp:memberAccessControl}
*
* @deprecated This module will be removed from the SDK in version 3.0 and moved into the examples.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class AccessControl extends WrapperIRI {

Check warning on line 45 in acp/src/main/java/com/inrupt/client/acp/AccessControl.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=solid-client-java&issues=AaHwniGmqAoMpLQXgB45&open=AaHwniGmqAoMpLQXgB45&pullRequest=2807

/**
* Create a new AccessControl.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@
* An Access Control Resource type.
*
* <p>This is the root type for a resource that expresses access control policies.
*
* @deprecated This module will be removed from the SDK in version 3.0 and moved into the examples.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class AccessControlResource extends RDFSource {

Check warning on line 57 in acp/src/main/java/com/inrupt/client/acp/AccessControlResource.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=solid-client-java&issues=AaHwniGvqAoMpLQXgB47&open=AaHwniGvqAoMpLQXgB47&pullRequest=2807

private static final Logger LOGGER = LoggerFactory.getLogger(AccessControlResource.class);

Expand Down
3 changes: 3 additions & 0 deletions acp/src/main/java/com/inrupt/client/acp/Matcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@
*
* <p>A matcher is associated with {@link Policy} objects, defining
* agents, clients, issuers or verifiable credential (vc) types.
*
* @deprecated This module will be removed from the SDK in version 3.0 and moved into the examples.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class Matcher extends WrapperIRI {

Check warning on line 47 in acp/src/main/java/com/inrupt/client/acp/Matcher.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=solid-client-java&issues=AaHwniGwqAoMpLQXgB48&open=AaHwniGwqAoMpLQXgB48&pullRequest=2807

/**
* Create a new Matcher.
Expand Down
3 changes: 3 additions & 0 deletions acp/src/main/java/com/inrupt/client/acp/Policy.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@
*
* <p>A policy will reference various {@link Matcher} objects
* and apply access rules such as {@code Read} or {@code Write}.
*
* @deprecated This module will be removed from the SDK in version 3.0 and moved into the examples.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class Policy extends WrapperIRI {

Check warning on line 47 in acp/src/main/java/com/inrupt/client/acp/Policy.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=solid-client-java&issues=AaHwniGnqAoMpLQXgB46&open=AaHwniGnqAoMpLQXgB46&pullRequest=2807

/**
* Create a new Policy.
Expand Down
2 changes: 2 additions & 0 deletions acp/src/main/java/com/inrupt/client/acp/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,7 @@
* client.update(acr);
* }}
* </pre>
*
* <p><strong>Deprecated:</strong> This module will be removed from the SDK in version 3.0 and moved into the examples.
*/
package com.inrupt.client.acp;
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-api</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions api/src/main/java/com/inrupt/client/NonRDFSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
* A base class for non-RDF-bearing resources.
*
* <p>This class can be used as a basis for object mapping with the high-level client operations.
*
* @deprecated This class will be removed in version 3.0.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class NonRDFSource implements Resource {

private final URI identifier;
Expand Down
3 changes: 3 additions & 0 deletions api/src/main/java/com/inrupt/client/RDFSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
* A base class for RDF-based resource mapping.
*
* <p>This class can be used as a basis for object mapping with higher-level client applications.
*
* @deprecated This class will be removed in version 3.0.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class RDFSource extends WrapperDataset implements Resource {

/**
Expand Down
2 changes: 1 addition & 1 deletion archetypes/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client-archetype-parent</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-archetype-java</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion archetypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-archetype-parent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion caffeine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-caffeine</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
*
* @param <T> the key type
* @param <U> the value type
*
* @deprecated Use the Guava-based {@code inrupt-client-guava} module instead. This module will be removed in version
* 3.0.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class CaffeineCache<T, U> implements ClientCache<T, U> {

private static final String CACHE_NOT_NULL = "cache may not be null!";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@

/**
* A {@link CacheBuilderService} using a Caffeine-based cache.
*
* @deprecated Use the Guava-based {@code inrupt-client-guava} module instead. This module will be removed in version
* 3.0.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class CaffeineCacheBuilder implements CacheBuilderService {

@Override
Expand All @@ -49,7 +53,7 @@
* @return a cache suitable for use in the Inrupt Client libraries
*/
public static <T, U> ClientCache<T, U> ofCache(final Cache<T, U> cache) {
return new CaffeineCache<>(cache);

Check warning on line 56 in caffeine/src/main/java/com/inrupt/client/caffeine/CaffeineCacheBuilder.java

View workflow job for this annotation

GitHub Actions / Performance Tests (17)

com.inrupt.client.caffeine.CaffeineCache in com.inrupt.client.caffeine has been deprecated and marked for removal

Check warning on line 56 in caffeine/src/main/java/com/inrupt/client/caffeine/CaffeineCacheBuilder.java

View workflow job for this annotation

GitHub Actions / Sonar Scan

com.inrupt.client.caffeine.CaffeineCache in com.inrupt.client.caffeine has been deprecated and marked for removal

Check warning on line 56 in caffeine/src/main/java/com/inrupt/client/caffeine/CaffeineCacheBuilder.java

View workflow job for this annotation

GitHub Actions / Java environment (21)

com.inrupt.client.caffeine.CaffeineCache in com.inrupt.client.caffeine has been deprecated and marked for removal

Check warning on line 56 in caffeine/src/main/java/com/inrupt/client/caffeine/CaffeineCacheBuilder.java

View workflow job for this annotation

GitHub Actions / Java environment (17)

com.inrupt.client.caffeine.CaffeineCache in com.inrupt.client.caffeine has been deprecated and marked for removal
}
}

Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-core</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions examples/cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client-examples-parent</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-examples-cli</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<name>Inrupt Java Client Libraries - CLI Example</name>
<description>
Sample CLI application.
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-examples-parent</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions examples/spring-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client-examples-parent</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-examples-spring-web</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<name>Inrupt Java Client Libraries - SpringBoot WebApp Example</name>
<description>
Sample SpringBoot Web Application.
Expand Down
4 changes: 2 additions & 2 deletions examples/springboot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client-examples-parent</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-examples-springboot</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<name>Inrupt Java Client Libraries - Spring Boot Example</name>
<description>
Sample Spring Boot application.
Expand Down
4 changes: 2 additions & 2 deletions examples/webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client-examples-parent</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-examples-webapp</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<name>Inrupt Java Client Libraries - Quarkus Example</name>
<description>
Sample web application.
Expand Down
2 changes: 1 addition & 1 deletion guava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-guava</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion httpclient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-httpclient</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client-integration-tests</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>
<artifactId>inrupt-client-integration-base-tests</artifactId>
<name>Inrupt Java Client Libraries - Integration Base Tests</name>
Expand Down
2 changes: 1 addition & 1 deletion integration/openid/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client-integration-tests</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-integration-openid-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-integration-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration/uma/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client-integration-tests</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-integration-uma-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-jackson</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jena/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-jena</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@

/**
* {@link Response.BodyHandler} implementations for use with Jena types.
*
* @deprecated This module will be removed in version 3.0.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public final class JenaBodyHandlers {

private static final String CONTENT_TYPE = "Content-Type";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@

/**
* {@link Request.BodyPublisher} implementations for use with Jena types.
*
* @deprecated This module will be removed in version 3.0.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public final class JenaBodyPublishers {

/**
Expand Down
3 changes: 3 additions & 0 deletions jena/src/main/java/com/inrupt/client/jena/JenaService.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@

/**
* An {@link RdfService} that uses the Jena library.
*
* @deprecated This module will be removed in version 3.0.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class JenaService implements RdfService {

private static final String UNSUPPORTED_SYNTAX = "Unsupported syntax: ";
Expand Down
2 changes: 2 additions & 0 deletions jena/src/main/java/com/inrupt/client/jena/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,7 @@

System.out.println("HTTP status code: " + response.statusCode());
* }</pre>
*
* <p><strong>Deprecated:</strong> This module will be removed in version 3.0.
*/
package com.inrupt.client.jena;
2 changes: 1 addition & 1 deletion jsonb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-jsonb</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@

/**
* A {@link JsonService} using the JakartaEE JSON Bind API.
*
* @deprecated Use the Jackson-based {@code inrupt-client-jackson} module instead. This module will be removed in
* version 3.0.
*/
@Deprecated(since = "2.1.0", forRemoval = true)
public class JsonbService implements JsonService {

private final Jsonb jsonb;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@
System.out.println("Custom Type Id is: " + obj.id);
}
* }</pre>
*
* <p><strong>Deprecated:</strong> Use the Jackson-based {@code inrupt-client-jackson} module instead. This module will
* be removed in version 3.0.
*/
package com.inrupt.client.jsonb;
2 changes: 1 addition & 1 deletion okhttp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.inrupt.client</groupId>
<artifactId>inrupt-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
</parent>

<artifactId>inrupt-client-okhttp</artifactId>
Expand Down
Loading
Loading