Skip to content

Commit aa8bc63

Browse files
authored
feat: deprecate modules slated for removal in v3 ESS-8916 (#2807)
* feat: deprecate modules slated for removal in v3 ESS-8916 Mark the public types in the UMA, jsonb, OkHttp, Caffeine, WebID, ACP, Spring and Quarkus modules as deprecated for removal, with Javadoc notes describing the replacement (Jackson, java.net.http, Guava), the move into examples, or that there is no replacement. * feat: deprecate rdf4j, jena, solid modules; deprecate RDFSource and NonRDFSource Mark the public types in these modules as deprecated for removal in 3.0. * feat: deprecate AccessGrantUtils ESS-8916 Its only method builds ACP policy triples using Commons RDF and the vocabulary module. It moves into the examples in 3.0, leaving access-grant free of RDF and vocabulary dependencies.
1 parent 25f4f43 commit aa8bc63

109 files changed

Lines changed: 258 additions & 43 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎access-grant/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.inrupt.client</groupId>
66
<artifactId>inrupt-client</artifactId>
7-
<version>2.0.1-SNAPSHOT</version>
7+
<version>2.1.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>inrupt-client-accessgrant</artifactId>

‎access-grant/src/main/java/com/inrupt/client/accessgrant/AccessGrantUtils.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737

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

4346
private static final RDF rdf = RDFFactory.getInstance();

‎acp/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.inrupt.client</groupId>
66
<artifactId>inrupt-client</artifactId>
7-
<version>2.0.1-SNAPSHOT</version>
7+
<version>2.1.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>inrupt-client-acp</artifactId>

‎acp/src/main/java/com/inrupt/client/acp/AccessControl.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
*
3939
* <p>An access control applies {@link Policy} objects directly to a resource
4040
* via {@code acp:accessControl} or to container members via {@code acp:memberAccessControl}
41+
*
42+
* @deprecated This module will be removed from the SDK in version 3.0 and moved into the examples.
4143
*/
44+
@Deprecated(since = "2.1.0", forRemoval = true)
4245
public class AccessControl extends WrapperIRI {
4346

4447
/**

‎acp/src/main/java/com/inrupt/client/acp/AccessControlResource.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@
5050
* An Access Control Resource type.
5151
*
5252
* <p>This is the root type for a resource that expresses access control policies.
53+
*
54+
* @deprecated This module will be removed from the SDK in version 3.0 and moved into the examples.
5355
*/
56+
@Deprecated(since = "2.1.0", forRemoval = true)
5457
public class AccessControlResource extends RDFSource {
5558

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

‎acp/src/main/java/com/inrupt/client/acp/Matcher.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
*
4141
* <p>A matcher is associated with {@link Policy} objects, defining
4242
* agents, clients, issuers or verifiable credential (vc) types.
43+
*
44+
* @deprecated This module will be removed from the SDK in version 3.0 and moved into the examples.
4345
*/
46+
@Deprecated(since = "2.1.0", forRemoval = true)
4447
public class Matcher extends WrapperIRI {
4548

4649
/**

‎acp/src/main/java/com/inrupt/client/acp/Policy.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
*
4141
* <p>A policy will reference various {@link Matcher} objects
4242
* and apply access rules such as {@code Read} or {@code Write}.
43+
*
44+
* @deprecated This module will be removed from the SDK in version 3.0 and moved into the examples.
4345
*/
46+
@Deprecated(since = "2.1.0", forRemoval = true)
4447
public class Policy extends WrapperIRI {
4548

4649
/**

‎acp/src/main/java/com/inrupt/client/acp/package-info.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,7 @@
4747
* client.update(acr);
4848
* }}
4949
* </pre>
50+
*
51+
* <p><strong>Deprecated:</strong> This module will be removed from the SDK in version 3.0 and moved into the examples.
5052
*/
5153
package com.inrupt.client.acp;

‎api/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.inrupt.client</groupId>
66
<artifactId>inrupt-client</artifactId>
7-
<version>2.0.1-SNAPSHOT</version>
7+
<version>2.1.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>inrupt-client-api</artifactId>

‎api/src/main/java/com/inrupt/client/NonRDFSource.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
* A base class for non-RDF-bearing resources.
3131
*
3232
* <p>This class can be used as a basis for object mapping with the high-level client operations.
33+
*
34+
* @deprecated This class will be removed in version 3.0.
3335
*/
36+
@Deprecated(since = "2.1.0", forRemoval = true)
3437
public class NonRDFSource implements Resource {
3538

3639
private final URI identifier;

0 commit comments

Comments
 (0)