Skip to content

Commit

Permalink
chore: Break coupling between identity-trust-spi and json-ld-spi (#…
Browse files Browse the repository at this point in the history
…3580)

* Break coupling between identity-trust-spi and json-ld-spi

* Remove typo
  • Loading branch information
jimmarino authored Oct 30, 2023
1 parent 32f44af commit 3b73c8c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
dependencies {
api(project(":spi:common:identity-trust-spi"))
implementation(project(":spi:common:http-spi"))
implementation(project(":spi:common:json-ld-spi"))
implementation(project(":core:common:util"))
implementation(project(":core:common:jwt-core"))
implementation(project(":extensions:common:crypto:jws2020"))
Expand Down
1 change: 0 additions & 1 deletion spi/common/identity-trust-spi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ plugins {

dependencies {
api(project(":spi:common:core-spi"))
api(project(":spi:common:json-ld-spi"))
api(libs.iron.vc) {
//this is not on MavenCentral, and we don't really need it anyway
exclude("com.github.multiformats")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@

package org.eclipse.edc.identitytrust.model;

import org.eclipse.edc.jsonld.spi.JsonLdKeywords;

import java.util.Map;

public record CredentialStatus(String id, String type, Map<String, Object> additionalProperties) {
public static final String CREDENTIAL_STATUS_ID_PROPERTY = JsonLdKeywords.ID;
public static final String CREDENTIAL_STATUS_TYPE_PROPERTY = JsonLdKeywords.TYPE;
public static final String CREDENTIAL_STATUS_ID_PROPERTY = "@id";
public static final String CREDENTIAL_STATUS_TYPE_PROPERTY = "@type";
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @param presentation the {@link VerifiablePresentation}, as it was deserialized from the raw VP string. Note that JSON-LD and JWT VCs
* have to be deserialized differently
*/
public record VerifiablePresentationContainer(String rawVp, CredentialFormat format,
public record VerifiablePresentationContainer(String rawVp,
CredentialFormat format,
VerifiablePresentation presentation) {
}

0 comments on commit 3b73c8c

Please sign in to comment.