-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add connector BOM modules (#4533)
* add BOM modules * Update dist/bom/controlplane-dcp-bom/example.env Co-authored-by: andrea bertagnolli <[email protected]> * add smoke test * use config extensions for test * DEPENDENCIES * fixed e2e tests --------- Co-authored-by: andrea bertagnolli <[email protected]>
- Loading branch information
1 parent
84917d2
commit f0cb103
Showing
18 changed files
with
344 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Contributors: | ||
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation | ||
* | ||
*/ | ||
|
||
plugins { | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
// SPI dependencies | ||
api(project(":spi:common:core-spi")) | ||
|
||
// core dependencies | ||
api(project(":core:common:boot")) | ||
api(project(":core:common:connector-core")) | ||
api(project(":core:control-plane:control-plane-core")) | ||
api(project(":core:common:edr-store-core")) | ||
api(project(":data-protocols:dsp")) | ||
api(project(":core:data-plane-selector:data-plane-selector-core")) | ||
|
||
|
||
// extension dependencies | ||
api(project(":extensions:common:configuration:configuration-filesystem")) | ||
api(project(":extensions:common:auth:auth-tokenbased")) | ||
api(project(":extensions:common:auth:auth-configuration")) | ||
api(project(":extensions:common:auth:auth-delegated")) | ||
api(project(":extensions:control-plane:api:management-api")) | ||
api(project(":extensions:data-plane-selector:data-plane-selector-api")) | ||
api(project(":extensions:data-plane:data-plane-signaling:data-plane-signaling-client")) | ||
api(project(":extensions:common:api:api-observability")) | ||
api(project(":extensions:common:api:version-api")) | ||
api(project(":extensions:common:http")) | ||
api(project(":extensions:control-plane:callback:callback-event-dispatcher")) | ||
api(project(":extensions:control-plane:callback:callback-http-dispatcher")) | ||
api(project(":extensions:control-plane:edr:edr-store-receiver")) | ||
|
||
// libs | ||
api(project(":core:common:lib:transform-lib")) | ||
} | ||
|
||
edcBuild { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Contributors: | ||
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation | ||
* | ||
*/ | ||
|
||
plugins { | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
// SPI dependencies | ||
api(project(":dist:bom:controlplane-base-bom")) | ||
|
||
// DCP dependencies, JWT and LDP | ||
api(project(":spi:common:jwt-spi")) | ||
|
||
api(project(":extensions:common:crypto:ldp-verifiable-credentials")) | ||
api(project(":extensions:common:crypto:jwt-verifiable-credentials")) | ||
api(project(":extensions:common:crypto:lib:jws2020-lib")) | ||
api(project(":extensions:common:iam:identity-trust:identity-trust-core")) | ||
api(project(":extensions:common:iam:identity-trust:identity-trust-issuers-configuration")) | ||
api(project(":extensions:common:iam:identity-trust:identity-trust-service")) | ||
api(project(":extensions:common:iam:identity-trust:identity-trust-transform")) | ||
api(project(":extensions:common:iam:identity-trust:identity-trust-sts:identity-trust-sts-remote-client")) | ||
|
||
|
||
api(project(":extensions:common:iam:decentralized-identity")) | ||
api(project(":extensions:common:iam:oauth2:oauth2-client")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
edc.iam.sts.oauth.token.url=https://sts.com/token | ||
edc.iam.sts.oauth.client.id=test-client | ||
edc.iam.sts.oauth.client.secret.alias=test-alias | ||
web.http.port=8080 | ||
web.http.path=/api | ||
web.http.management.port=8081 | ||
web.http.management.path=/api/management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Contributors: | ||
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation | ||
* | ||
*/ | ||
|
||
plugins { | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
// entity stores | ||
api(project(":extensions:control-plane:store:sql:asset-index-sql")) | ||
api(project(":extensions:control-plane:store:sql:contract-definition-store-sql")) | ||
api(project(":extensions:control-plane:store:sql:contract-negotiation-store-sql")) | ||
api(project(":extensions:control-plane:store:sql:control-plane-sql")) | ||
api(project(":extensions:control-plane:store:sql:policy-definition-store-sql")) | ||
api(project(":extensions:control-plane:store:sql:transfer-process-store-sql")) | ||
api(project(":extensions:common:store:sql:edr-index-sql")) | ||
api(project(":extensions:data-plane-selector:store:sql:data-plane-instance-store-sql")) | ||
|
||
// other SQL dependencies - not strictly necessary, but could come in handy for BOM users | ||
api(project(":extensions:common:sql:sql-core")) | ||
api(project(":extensions:common:sql:sql-bootstrapper")) | ||
api(project(":extensions:common:sql:sql-lease")) | ||
api(project(":extensions:common:sql:sql-pool")) | ||
api(project(":extensions:common:transaction:transaction-local")) | ||
|
||
// third-party deps | ||
api(libs.postgres) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Contributors: | ||
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation | ||
* | ||
*/ | ||
|
||
plugins { | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
// SPI dependencies | ||
api(project(":dist:bom:controlplane-base-bom")) | ||
|
||
// DCP dependencies, JWT and LDP | ||
api(project(":spi:common:jwt-spi")) | ||
|
||
api(project(":extensions:common:iam:oauth2:oauth2-service")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
edc.oauth.token.url=https://oauth2.com/token | ||
# this will require the public key alias to be present in the vault | ||
edc.oauth.certificate.alias=test-alias | ||
edc.oauth.private.key.alias=private-test-alias | ||
edc.oauth.client.id=test-client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Contributors: | ||
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation | ||
* | ||
*/ | ||
|
||
plugins { | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
// SPI dependencies | ||
api(project(":spi:common:core-spi")) | ||
|
||
// core dependencies | ||
api(project(":core:common:boot")) | ||
api(project(":core:common:connector-core")) | ||
api(project(":core:data-plane:data-plane-core")) | ||
|
||
|
||
// extension dependencies | ||
api(project(":extensions:common:api:control-api-configuration")) | ||
api(project(":extensions:common:configuration:configuration-filesystem")) | ||
api(project(":extensions:common:json-ld")) | ||
api(project(":extensions:control-plane:api:control-plane-api-client")) | ||
api(project(":extensions:data-plane:data-plane-self-registration")) | ||
api(project(":extensions:data-plane:data-plane-http")) | ||
api(project(":extensions:data-plane:data-plane-http-oauth2")) | ||
api(project(":extensions:data-plane:data-plane-public-api-v2")) | ||
api(project(":extensions:data-plane:data-plane-signaling:data-plane-signaling-api")) | ||
api(project(":extensions:data-plane:data-plane-iam")) | ||
api(project(":extensions:data-plane-selector:data-plane-selector-client")) | ||
api(project(":extensions:common:api:api-observability")) | ||
api(project(":extensions:common:http")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
edc.transfer.proxy.token.verifier.publickey.alias=test-alias | ||
edc.transfer.proxy.token.signer.privatekey.alias=private-alias | ||
edc.dpf.selector.url=http://test.com/selector | ||
web.http.control.port=9091 | ||
web.http.control.path=/api/control | ||
web.http.port=9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Contributors: | ||
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation | ||
* | ||
*/ | ||
|
||
plugins { | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
// entity stores | ||
api(project(":extensions:data-plane-selector:store:sql:data-plane-instance-store-sql")) | ||
api(project(":extensions:data-plane:store:sql:accesstokendata-store-sql")) | ||
api(project(":extensions:data-plane:store:sql:data-plane-store-sql")) | ||
|
||
// other SQL dependencies - not strictly necessary, but could come in handy for BOM users | ||
api(project(":extensions:common:sql:sql-core")) | ||
api(project(":extensions:common:sql:sql-bootstrapper")) | ||
api(project(":extensions:common:sql:sql-lease")) | ||
api(project(":extensions:common:sql:sql-pool")) | ||
api(project(":extensions:common:transaction:transaction-local")) | ||
|
||
// third-party deps | ||
api(libs.postgres) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* Contributors: | ||
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation | ||
* | ||
*/ | ||
|
||
plugins { | ||
`java-library` | ||
application | ||
} | ||
|
||
dependencies { | ||
// SPI dependencies | ||
api(project(":spi:common:core-spi")) | ||
|
||
// core dependencies | ||
api(project(":core:common:boot")) | ||
api(project(":core:common:connector-core")) | ||
|
||
|
||
// extension dependencies | ||
api(project(":extensions:common:http")) | ||
api(project(":extensions:common:json-ld")) | ||
api(project(":extensions:common:api:api-observability")) | ||
api(project(":extensions:common:api:version-api")) | ||
api(project(":extensions:common:configuration:configuration-filesystem")) | ||
|
||
api(project(":extensions:common:iam:identity-trust:identity-trust-sts:identity-trust-sts-api")) | ||
api(project(":extensions:common:iam:identity-trust:identity-trust-sts:identity-trust-sts-accounts-api")) | ||
api(project(":extensions:common:iam:identity-trust:identity-trust-sts:identity-trust-sts-core")) | ||
api(project(":extensions:common:iam:identity-trust:identity-trust-sts:identity-trust-sts-embedded")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
edc.api.accounts.key=password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.