-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace MIW/keycloak with IdentityHub and STS (#462)
- Loading branch information
1 parent
301db7c
commit d1abb35
Showing
148 changed files
with
5,147 additions
and
8,119 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
This file was deleted.
Oops, something went wrong.
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
38 changes: 0 additions & 38 deletions
38
custom-tractusx-edc/custom-edc-controlplane-postgresql-hashicorp-vault/build.gradle.kts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,51 @@ | ||
/* | ||
* 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 { | ||
id("java") | ||
`java-library` | ||
id("application") | ||
alias(libs.plugins.shadow) | ||
id(libs.plugins.swagger.get().pluginId) | ||
} | ||
|
||
group = "org.eclipse.tractusx.mxd.dataservice" | ||
version = "1.0.0" | ||
|
||
application { | ||
mainClass.set("org.eclipse.edc.boot.system.runtime.BaseRuntime") | ||
} | ||
|
||
dependencies { | ||
|
||
implementation(libs.edc.http) | ||
implementation(libs.edc.http.lib) | ||
implementation(libs.edc.boot) | ||
|
||
runtimeOnly(libs.edc.core.connector) | ||
runtimeOnly(libs.edc.api.observability) | ||
runtimeOnly(libs.edc.sql.transactionlocal) | ||
|
||
testImplementation(testFixtures(libs.edc.core.jersey)) | ||
testImplementation(libs.restAssured) | ||
testImplementation(libs.assertj) | ||
testImplementation(libs.edc.junit) | ||
|
||
} | ||
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> { | ||
mergeServiceFiles() | ||
archiveFileName.set("${project.name}.jar") | ||
} |
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,44 @@ | ||
# | ||
# 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 | ||
# | ||
# | ||
|
||
FROM eclipse-temurin:22.0.1_8-jre-alpine | ||
ARG JAR | ||
ARG ADDITIONAL_FILES | ||
|
||
ARG APP_USER=docker | ||
ARG APP_UID=10100 | ||
|
||
RUN addgroup --system "$APP_USER" | ||
|
||
RUN adduser \ | ||
--shell /sbin/nologin \ | ||
--disabled-password \ | ||
--gecos "" \ | ||
--ingroup "$APP_USER" \ | ||
--no-create-home \ | ||
--uid "$APP_UID" \ | ||
"$APP_USER" | ||
|
||
USER "$APP_USER" | ||
WORKDIR /app | ||
|
||
COPY ${JAR} data-service.jar | ||
|
||
# health check is handled by K8S | ||
HEALTHCHECK NONE | ||
|
||
CMD ["java", \ | ||
"-Djava.security.egd=file:/dev/urandom", \ | ||
"-jar", \ | ||
"data-service.jar"] |
Oops, something went wrong.