From d16a14f367d00808f209bf063a8b34a3c0d2bdb8 Mon Sep 17 00:00:00 2001 From: Paul Latzelsperger <43503240+paullatzelsperger@users.noreply.github.com> Date: Fri, 5 Jul 2024 09:25:50 +0200 Subject: [PATCH] chore: update license headers (#67) * chore: update license headers * DEPENDENCIES --- .github/dependabot.yml | 19 +++++++++++++- .github/workflows/publish-openapi.yaml | 19 ++++++++++++++ .github/workflows/verify.yaml | 15 +++++++++++ DEPENDENCIES | 9 ++++++- api/authentication/build.gradle.kts | 26 +++++++++---------- ...redentialBasedAuthenticationExtension.java | 19 +++++++++----- .../CredentialBasedAuthenticationService.java | 19 ++++++++++++++ .../KeyParserRegistryExtension.java | 19 ++++++++++++++ .../MustHaveMemberhipCredentialRule.java | 19 ++++++++++++++ .../TrustedIssuerRegistryImpl.java | 19 ++++++++++++++ ...rg.eclipse.edc.spi.system.ServiceExtension | 26 +++++++++---------- ...dentialBasedAuthenticationServiceTest.java | 19 ++++++++++++++ api/directory-api/build.gradle.kts | 26 +++++++++---------- .../bdrs/api/directory/DirectoryApi.java | 19 ++++++++++++++ .../api/directory/DirectoryApiController.java | 19 +++++++++----- .../api/directory/DirectoryApiExtension.java | 19 +++++++++----- ...rg.eclipse.edc.spi.system.ServiceExtension | 26 +++++++++---------- .../directory/DirectoryApiControllerTest.java | 19 +++++++++----- .../directory/DirectoryApiExtensionTest.java | 19 +++++++++----- api/management-api/build.gradle.kts | 26 +++++++++---------- .../bdrs/api/management/BpnMapping.java | 19 ++++++++++++++ .../bdrs/api/management/ManagementApi.java | 19 +++++++++----- .../management/ManagementApiController.java | 19 +++++++++----- .../management/ManagementApiExtension.java | 19 +++++++++----- ...rg.eclipse.edc.spi.system.ServiceExtension | 26 +++++++++---------- .../ManagementApiControllerTest.java | 19 +++++++++----- .../ManagementApiExtensionTest.java | 19 +++++++++----- build.gradle.kts | 26 +++++++++---------- config/checkstyle/checkstyle.xml | 26 +++++++++---------- config/checkstyle/suppressions.xml | 26 +++++++++---------- core/core-services/build.gradle.kts | 26 +++++++++---------- .../tractusx/bdrs/core/BdrsCoreExtension.java | 26 +++++++++---------- .../HealthCheckServiceConfiguration.java | 19 +++++++++----- .../core/health/HealthCheckServiceImpl.java | 19 +++++++++----- .../core/store/InMemoryDidEntryStore.java | 19 +++++++++----- .../bdrs/core/vault/InMemoryVault.java | 19 +++++++++----- ...rg.eclipse.edc.spi.system.ServiceExtension | 26 +++++++++---------- .../core/store/InMemoryDidEntryStoreTest.java | 19 +++++++++----- .../sql/did-entry-store-sql/build.gradle.kts | 26 +++++++++---------- .../sql/did-entry-store-sql/docs/schema.sql | 19 ++++++++++++++ .../DidEntryPostgresMigrationExtension.java | 7 +++-- .../bdrs/sql/store/SqlDidEntryStore.java | 19 ++++++++++++++ .../sql/store/SqlDidEntryStoreExtension.java | 19 ++++++++++++++ .../store/schema/DidEntryStoreStatements.java | 19 ++++++++++++++ .../schema/PostgresDialectStatements.java | 19 ++++++++++++++ ...rg.eclipse.edc.spi.system.ServiceExtension | 19 +++++++++----- .../didentry/V0_0_1__Init_DidEntry_Schema.sql | 19 ++++++++++++++ .../bdrs/sql/store/SqlDidEntryStoreTest.java | 19 ++++++++++++++ extensions/store/sql/sql-lib/build.gradle.kts | 26 +++++++++---------- .../AbstractPostgresqlMigrationExtension.java | 7 +++-- .../bdrs/sql/migration/FlywayManager.java | 6 ++--- gradle.properties | 26 +++++++++---------- runtimes/bdrs-server-memory/build.gradle.kts | 26 +++++++++---------- runtimes/bdrs-server/build.gradle.kts | 26 +++++++++---------- settings.gradle.kts | 26 +++++++++---------- spi/core-spi/build.gradle.kts | 26 +++++++++---------- .../tractusx/bdrs/spi/store/DidEntry.java | 19 +++++++++----- .../bdrs/spi/store/DidEntryStore.java | 19 +++++++++----- .../bdrs/spi/store/DidEntryStoreTestBase.java | 19 ++++++++++++++ system-tests/test-directory/build.gradle.kts | 20 +++++++++----- .../test/directory/DirectoryEndToEndTest.java | 19 +++++++++----- .../directory/ManagementApiEndToEndTest.java | 19 +++++++++----- .../bdrs/test/directory/TestData.java | 19 ++++++++++++++ system-tests/test-server/build.gradle.kts | 26 +++++++++---------- 64 files changed, 866 insertions(+), 440 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9c24713..b08e4df 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,21 @@ - +################################################################################# +# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# 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. +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# SPDX-License-Identifier: Apache-2.0 +################################################################################# --- version: 2 diff --git a/.github/workflows/publish-openapi.yaml b/.github/workflows/publish-openapi.yaml index a175baa..7d47631 100644 --- a/.github/workflows/publish-openapi.yaml +++ b/.github/workflows/publish-openapi.yaml @@ -1,3 +1,22 @@ +################################################################################# +# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# 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. +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# SPDX-License-Identifier: Apache-2.0 +################################################################################# + name: publish openapi ui on: diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 435e7e3..3b8003d 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -48,6 +48,21 @@ jobs: git diff exit 1 fi + + verify-license-headers: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: "Check for files without a license header" + run: |- + # checks all java, yaml, kts and sql files for an Apache 2.0 license header + cmd="grep -riL \"SPDX-License-Identifier: Apache-2.0\" --include=\*.{java,ts,html,css,yaml,yml,kts,sql,tf} --exclude-dir={.gradle,\*\openapi} ." + violations=$(eval $cmd | wc -l) + if [[ $violations -ne 0 ]] ; then + echo "$violations files without license headers were found:"; + eval $cmd; + exit 1; + fi verify-dependencies: uses: eclipse-edc/.github/.github/workflows/dependency-check.yml@main diff --git a/DEPENDENCIES b/DEPENDENCIES index 3192c7e..fe3dc57 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -264,17 +264,24 @@ maven/mavencentral/org.jetbrains/annotations/24.1.0, Apache-2.0, approved, clear maven/mavencentral/org.junit-pioneer/junit-pioneer/2.2.0, EPL-2.0, approved, #11857 maven/mavencentral/org.junit.jupiter/junit-jupiter-api/5.10.1, EPL-2.0, approved, #9714 maven/mavencentral/org.junit.jupiter/junit-jupiter-api/5.10.2, EPL-2.0, approved, #9714 +maven/mavencentral/org.junit.jupiter/junit-jupiter-api/5.10.3, EPL-2.0, approved, #9714 maven/mavencentral/org.junit.jupiter/junit-jupiter-engine/5.10.1, EPL-2.0, approved, #9711 maven/mavencentral/org.junit.jupiter/junit-jupiter-engine/5.10.2, EPL-2.0, approved, #9711 +maven/mavencentral/org.junit.jupiter/junit-jupiter-engine/5.10.3, EPL-2.0, approved, #9711 maven/mavencentral/org.junit.jupiter/junit-jupiter-params/5.10.1, EPL-2.0, approved, #15304 maven/mavencentral/org.junit.jupiter/junit-jupiter-params/5.10.2, EPL-2.0, approved, #15250 +maven/mavencentral/org.junit.jupiter/junit-jupiter-params/5.10.3, EPL-2.0, approved, #15250 maven/mavencentral/org.junit.platform/junit-platform-commons/1.10.1, EPL-2.0, approved, #9715 maven/mavencentral/org.junit.platform/junit-platform-commons/1.10.2, EPL-2.0, approved, #9715 +maven/mavencentral/org.junit.platform/junit-platform-commons/1.10.3, EPL-2.0, approved, #9715 maven/mavencentral/org.junit.platform/junit-platform-engine/1.10.1, EPL-2.0, approved, #9709 maven/mavencentral/org.junit.platform/junit-platform-engine/1.10.2, EPL-2.0, approved, #9709 +maven/mavencentral/org.junit.platform/junit-platform-engine/1.10.3, EPL-2.0, approved, #9709 maven/mavencentral/org.junit.platform/junit-platform-launcher/1.10.2, EPL-2.0, approved, #15216 +maven/mavencentral/org.junit.platform/junit-platform-launcher/1.10.3, EPL-2.0, approved, #15216 maven/mavencentral/org.junit/junit-bom/5.10.1, EPL-2.0, approved, #9844 maven/mavencentral/org.junit/junit-bom/5.10.2, EPL-2.0, approved, #9844 +maven/mavencentral/org.junit/junit-bom/5.10.3, EPL-2.0, approved, #9844 maven/mavencentral/org.junit/junit-bom/5.9.2, EPL-2.0, approved, #4711 maven/mavencentral/org.jvnet.mimepull/mimepull/1.9.15, CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0, approved, CQ21484 maven/mavencentral/org.mockito/mockito-core/5.2.0, MIT AND (Apache-2.0 AND MIT) AND Apache-2.0, approved, #7401 @@ -299,7 +306,7 @@ maven/mavencentral/org.testcontainers/database-commons/1.19.8, Apache-2.0, appro maven/mavencentral/org.testcontainers/jdbc/1.19.8, Apache-2.0, approved, #10348 maven/mavencentral/org.testcontainers/junit-jupiter/1.19.8, MIT, approved, #10344 maven/mavencentral/org.testcontainers/postgresql/1.19.8, MIT, approved, #10350 -maven/mavencentral/org.testcontainers/testcontainers/1.19.8, Apache-2.0 AND MIT, approved, #10347 +maven/mavencentral/org.testcontainers/testcontainers/1.19.8, MIT, approved, #15203 maven/mavencentral/org.xmlresolver/xmlresolver/5.2.0, Apache-2.0, approved, clearlydefined maven/mavencentral/org.yaml/snakeyaml/2.0, Apache-2.0 AND (Apache-2.0 OR BSD-3-Clause OR EPL-1.0 OR GPL-2.0-or-later OR LGPL-2.1-or-later), approved, #7275 maven/mavencentral/org.yaml/snakeyaml/2.2, Apache-2.0 AND (Apache-2.0 OR BSD-3-Clause OR EPL-1.0 OR GPL-2.0-or-later OR LGPL-2.1-or-later), approved, #10232 diff --git a/api/authentication/build.gradle.kts b/api/authentication/build.gradle.kts index 1da7676..5a23581 100644 --- a/api/authentication/build.gradle.kts +++ b/api/authentication/build.gradle.kts @@ -1,22 +1,20 @@ /* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * See the NOTICE file(s) distributed with this work for additional - * information regarding copyright ownership. + * 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. * - * 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - * SPDX-License-Identifier: Apache-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ plugins { diff --git a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationExtension.java b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationExtension.java index cbca5dc..326586a 100644 --- a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationExtension.java +++ b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationExtension.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.directory.authentication; diff --git a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationService.java b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationService.java index b49fe59..00b8d04 100644 --- a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationService.java +++ b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationService.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * 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. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package org.eclipse.tractusx.bdrs.api.directory.authentication; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/KeyParserRegistryExtension.java b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/KeyParserRegistryExtension.java index e17215c..b2bc70e 100644 --- a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/KeyParserRegistryExtension.java +++ b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/KeyParserRegistryExtension.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * 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. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package org.eclipse.tractusx.bdrs.api.directory.authentication; import org.eclipse.edc.keys.KeyParserRegistryImpl; diff --git a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/MustHaveMemberhipCredentialRule.java b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/MustHaveMemberhipCredentialRule.java index 4b5028f..a698faf 100644 --- a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/MustHaveMemberhipCredentialRule.java +++ b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/MustHaveMemberhipCredentialRule.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * 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. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package org.eclipse.tractusx.bdrs.api.directory.authentication; import org.eclipse.edc.iam.verifiablecredentials.spi.model.VerifiableCredential; diff --git a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/TrustedIssuerRegistryImpl.java b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/TrustedIssuerRegistryImpl.java index d07c41c..3dbc1e3 100644 --- a/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/TrustedIssuerRegistryImpl.java +++ b/api/authentication/src/main/java/org/eclipse/tractusx/bdrs/api/directory/authentication/TrustedIssuerRegistryImpl.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * 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. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package org.eclipse.tractusx.bdrs.api.directory.authentication; import org.eclipse.edc.iam.verifiablecredentials.spi.model.Issuer; diff --git a/api/authentication/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension b/api/authentication/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension index 4a9bce2..000b796 100644 --- a/api/authentication/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension +++ b/api/authentication/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension @@ -1,22 +1,20 @@ # +# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft # -# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. # -# See the NOTICE file(s) distributed with this work for additional -# information regarding copyright ownership. +# 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. # -# 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 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -# SPDX-License-Identifier: Apache-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # +# SPDX-License-Identifier: Apache-2.0 # org.eclipse.tractusx.bdrs.api.directory.authentication.CredentialBasedAuthenticationExtension org.eclipse.tractusx.bdrs.api.directory.authentication.KeyParserRegistryExtension diff --git a/api/authentication/src/test/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationServiceTest.java b/api/authentication/src/test/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationServiceTest.java index aa2ba75..e342288 100644 --- a/api/authentication/src/test/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationServiceTest.java +++ b/api/authentication/src/test/java/org/eclipse/tractusx/bdrs/api/directory/authentication/CredentialBasedAuthenticationServiceTest.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * 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. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package org.eclipse.tractusx.bdrs.api.directory.authentication; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/api/directory-api/build.gradle.kts b/api/directory-api/build.gradle.kts index 10bb0d8..88033df 100644 --- a/api/directory-api/build.gradle.kts +++ b/api/directory-api/build.gradle.kts @@ -1,22 +1,20 @@ /* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * See the NOTICE file(s) distributed with this work for additional - * information regarding copyright ownership. + * 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. * - * 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - * SPDX-License-Identifier: Apache-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ plugins { diff --git a/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApi.java b/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApi.java index 63d68d9..7cbe80b 100644 --- a/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApi.java +++ b/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApi.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * 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. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package org.eclipse.tractusx.bdrs.api.directory; import io.swagger.v3.oas.annotations.OpenAPIDefinition; diff --git a/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiController.java b/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiController.java index 9ff6d74..ab92ace 100644 --- a/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiController.java +++ b/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiController.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.directory; diff --git a/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiExtension.java b/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiExtension.java index b5be43f..03afd30 100644 --- a/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiExtension.java +++ b/api/directory-api/src/main/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiExtension.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.directory; diff --git a/api/directory-api/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension b/api/directory-api/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension index 821696a..f9a5aa0 100644 --- a/api/directory-api/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension +++ b/api/directory-api/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension @@ -1,21 +1,19 @@ # +# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft # -# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. # -# See the NOTICE file(s) distributed with this work for additional -# information regarding copyright ownership. +# 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. # -# 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 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -# SPDX-License-Identifier: Apache-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # +# SPDX-License-Identifier: Apache-2.0 # org.eclipse.tractusx.bdrs.api.directory.DirectoryApiExtension diff --git a/api/directory-api/src/test/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiControllerTest.java b/api/directory-api/src/test/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiControllerTest.java index 0a6c795..a7d0c8b 100644 --- a/api/directory-api/src/test/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiControllerTest.java +++ b/api/directory-api/src/test/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiControllerTest.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.directory; diff --git a/api/directory-api/src/test/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiExtensionTest.java b/api/directory-api/src/test/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiExtensionTest.java index 89ca951..8f82f41 100644 --- a/api/directory-api/src/test/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiExtensionTest.java +++ b/api/directory-api/src/test/java/org/eclipse/tractusx/bdrs/api/directory/DirectoryApiExtensionTest.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.directory; diff --git a/api/management-api/build.gradle.kts b/api/management-api/build.gradle.kts index 61ad50c..217743b 100644 --- a/api/management-api/build.gradle.kts +++ b/api/management-api/build.gradle.kts @@ -1,22 +1,20 @@ /* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * See the NOTICE file(s) distributed with this work for additional - * information regarding copyright ownership. + * 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. * - * 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - * SPDX-License-Identifier: Apache-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ plugins { diff --git a/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/BpnMapping.java b/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/BpnMapping.java index 0a4d508..626d153 100644 --- a/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/BpnMapping.java +++ b/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/BpnMapping.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. + * + * 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. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * SPDX-License-Identifier: Apache-2.0 + */ + package org.eclipse.tractusx.bdrs.api.management; import org.jetbrains.annotations.NotNull; diff --git a/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApi.java b/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApi.java index 3435c46..372fa77 100644 --- a/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApi.java +++ b/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApi.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.management; diff --git a/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiController.java b/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiController.java index 2f63618..11f5dda 100644 --- a/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiController.java +++ b/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiController.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.management; diff --git a/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiExtension.java b/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiExtension.java index a1244c9..81cd5b3 100644 --- a/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiExtension.java +++ b/api/management-api/src/main/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiExtension.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.management; diff --git a/api/management-api/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension b/api/management-api/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension index bbeb15d..7ddf87d 100644 --- a/api/management-api/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension +++ b/api/management-api/src/main/resources/META-INF/services/org.eclipse.edc.spi.system.ServiceExtension @@ -1,21 +1,19 @@ # +# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft # -# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. # -# See the NOTICE file(s) distributed with this work for additional -# information regarding copyright ownership. +# 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. # -# 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 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -# SPDX-License-Identifier: Apache-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # +# SPDX-License-Identifier: Apache-2.0 # org.eclipse.tractusx.bdrs.api.management.ManagementApiExtension diff --git a/api/management-api/src/test/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiControllerTest.java b/api/management-api/src/test/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiControllerTest.java index 7be0428..3a69308 100644 --- a/api/management-api/src/test/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiControllerTest.java +++ b/api/management-api/src/test/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiControllerTest.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.management; diff --git a/api/management-api/src/test/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiExtensionTest.java b/api/management-api/src/test/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiExtensionTest.java index 207ea56..21018bd 100644 --- a/api/management-api/src/test/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiExtensionTest.java +++ b/api/management-api/src/test/java/org/eclipse/tractusx/bdrs/api/management/ManagementApiExtensionTest.java @@ -1,15 +1,20 @@ /* - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * 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 + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * SPDX-License-Identifier: Apache-2.0 + * 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. * - * Contributors: - * Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ package org.eclipse.tractusx.bdrs.api.management; diff --git a/build.gradle.kts b/build.gradle.kts index 4026867..65f2922 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,22 +1,20 @@ /* + * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft * - * Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft + * See the NOTICE file(s) distributed with this work for additional + * information regarding copyright ownership. * - * See the NOTICE file(s) distributed with this work for additional - * information regarding copyright ownership. + * 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. * - * 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 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - * SPDX-License-Identifier: Apache-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * + * SPDX-License-Identifier: Apache-2.0 */ import com.bmuschko.gradle.docker.tasks.image.DockerBuildImage diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 544982e..0f5e6d4 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -1,23 +1,21 @@