Skip to content

Commit 8042c90

Browse files
committed
Rename federated-catalog-cache to federated-catalog-core
1 parent f9277c3 commit 8042c90

30 files changed

+32
-64
lines changed

core/federated-catalog/federated-catalog-cache/build.gradle.kts

-55
This file was deleted.

core/federated-catalog/federated-catalog-core/build.gradle.kts

+27-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022 Microsoft Corporation
2+
* Copyright (c) 2021 Microsoft Corporation
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Apache License, Version 2.0 which is available at
@@ -14,18 +14,41 @@
1414

1515
plugins {
1616
`java-library`
17+
id("io.swagger.core.v3.swagger-gradle-plugin")
1718
}
1819

20+
val rsApi: String by project
21+
val failsafeVersion: String by project
22+
val okHttpVersion: String by project
23+
val awaitility: String by project
24+
1925

2026
dependencies {
21-
api(project(":core:federated-catalog:federated-catalog-cache"))
27+
api(project(":spi:common:core-spi"))
28+
api(project(":spi:common:web-spi"))
2229
api(project(":spi:federated-catalog:federated-catalog-spi"))
30+
31+
implementation(project(":common:util"))
32+
implementation(project(":core:common:base"))
33+
34+
implementation("com.squareup.okhttp3:okhttp:${okHttpVersion}")
35+
36+
implementation("jakarta.ws.rs:jakarta.ws.rs-api:${rsApi}")
37+
implementation("dev.failsafe:failsafe:${failsafeVersion}")
38+
39+
// required for integration test
40+
testImplementation(project(":extensions:junit"))
41+
42+
testImplementation(project(":extensions:http"))
43+
testImplementation(project(":data-protocols:ids:ids-spi"))
44+
testImplementation("org.awaitility:awaitility:${awaitility}")
45+
2346
}
2447

2548
publishing {
2649
publications {
27-
create<MavenPublication>("federated-catalog-core") {
28-
artifactId = "federated-catalog-core"
50+
create<MavenPublication>("catalog-cache") {
51+
artifactId = "catalog-cache"
2952
from(components["java"])
3053
}
3154
}

docs/overview/extensions.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656

5757
## :extensions:catalog
5858

59-
| Module | Description | Details
60-
| :----- | :---------- | :------ |
61-
| :federated-catalog-cache | Contains implementations for the Federated Catalog Cache, which is a database that contains a snapshot of all the catalogs offered by all the connectors in a dataspace | [link]({{extensions}}catalog/federated-catalog-cache) |
62-
| :federated-catalog-spi | This module contains extension points and interfaces specifically for the Federated Catalog feature. | [link]({{extensions}}catalog/federated-catalog-spi) |
59+
| Module | Description | Details
60+
|:------------------------| :---------- |:--------------------------------------------------------|
61+
| :federated-catalog-core | Contains implementations for the Federated Catalog Cache, which is a database that contains a snapshot of all the catalogs offered by all the connectors in a dataspace | [link]({{core}}federate-catalog/federated-catalog-core) |
62+
| :federated-catalog-spi | This module contains extension points and interfaces specifically for the Federated Catalog feature. | [link]({{extensions}}catalog/federated-catalog-spi) |
6363

6464
## :extensions:data-plane
6565

settings.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ include(":extensions:iam:decentralized-identity:identity-did-web")
9494
include(":extensions:iam:decentralized-identity:identity-did-crypto")
9595
include(":extensions:iam:decentralized-identity:identity-common-test")
9696
include(":extensions:iam:decentralized-identity:dummy-credentials-verifier")
97-
include(":core:federated-catalog:federated-catalog-cache")
97+
include(":core:federated-catalog:federated-catalog-core")
9898
include(":extensions:dataloading")
9999
include(":extensions:jdk-logger-monitor")
100100
include(":extensions:http")

0 commit comments

Comments
 (0)