Skip to content

Commit

Permalink
chore: remove util dependency on SPI and remove Jax-RS dependency (#4021
Browse files Browse the repository at this point in the history
)

Remove util dependency on SPI; remove Jax-RS dependency
  • Loading branch information
jimmarino committed Mar 18, 2024
1 parent e7873db commit 87e80e8
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 13 deletions.
2 changes: 0 additions & 2 deletions core/common/util/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ plugins {
}

dependencies {
api(project(":spi:common:core-spi"))

testImplementation(libs.junit.pioneer)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

package org.eclipse.edc.spi.types;
package org.eclipse.edc.util.reflection;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

package org.eclipse.edc.util.reflection;

import org.eclipse.edc.spi.types.PathItem;

import java.lang.reflect.Field;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ dependencies {
api(project(":spi:common:identity-did-spi"))
implementation(project(":core:common:util"))

implementation(libs.jakarta.rsApi)

testImplementation(project(":core:common:junit"))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package org.eclipse.edc.sql.translation;

import org.eclipse.edc.spi.query.Criterion;
import org.eclipse.edc.spi.types.PathItem;
import org.eclipse.edc.util.reflection.PathItem;

import java.util.Collection;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package org.eclipse.edc.sql.translation;

import org.eclipse.edc.spi.query.Criterion;
import org.eclipse.edc.spi.types.PathItem;
import org.eclipse.edc.util.reflection.PathItem;

import java.util.List;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package org.eclipse.edc.sql.translation;

import org.eclipse.edc.spi.query.Criterion;
import org.eclipse.edc.spi.types.PathItem;
import org.eclipse.edc.util.reflection.PathItem;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package org.eclipse.edc.sql.translation;

import org.eclipse.edc.spi.query.Criterion;
import org.eclipse.edc.spi.types.PathItem;
import org.eclipse.edc.util.reflection.PathItem;

import java.util.HashMap;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

package org.eclipse.edc.sql.translation;

import org.eclipse.edc.spi.types.PathItem;
import org.eclipse.edc.util.reflection.PathItem;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

package org.eclipse.edc.sql.translation;

import org.eclipse.edc.spi.types.PathItem;
import org.eclipse.edc.util.reflection.PathItem;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dependencies {
api(project(":spi:common:transaction-spi"))
implementation(project(":spi:common:transaction-datasource-spi"))
implementation(project(":extensions:common:sql:sql-core"))
implementation(project(":core:common:util"))

testImplementation(project(":core:common:junit"))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

package org.eclipse.edc.spi.types;

import org.eclipse.edc.util.reflection.PathItem;
import org.junit.jupiter.api.Test;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down

0 comments on commit 87e80e8

Please sign in to comment.