From d7fbb9be98dd4274537ac8d27f4cf8dc91de8ef2 Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Tue, 21 May 2024 18:10:13 +0200 Subject: [PATCH] chore: add file header https://github.com/eclipse-tractusx/policy-hub/issues/142 --- .../Entities/IActiveEntity.cs | 19 +++++++++++++++++++ .../Seeder/BatchUpdateSeeder.cs | 19 +++++++++++++++++++ .../HubRepositoriesTests.cs | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/src/database/PolicyHub.Entities/Entities/IActiveEntity.cs b/src/database/PolicyHub.Entities/Entities/IActiveEntity.cs index f95f029..3e6c594 100644 --- a/src/database/PolicyHub.Entities/Entities/IActiveEntity.cs +++ b/src/database/PolicyHub.Entities/Entities/IActiveEntity.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2024 Contributors to the Eclipse Foundation + * + * 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 + ********************************************************************************/ + namespace Org.Eclipse.TractusX.PolicyHub.Entities.Entities; public interface IActiveEntity diff --git a/src/database/PolicyHub.Migrations/Seeder/BatchUpdateSeeder.cs b/src/database/PolicyHub.Migrations/Seeder/BatchUpdateSeeder.cs index c8a74b6..9450b2a 100644 --- a/src/database/PolicyHub.Migrations/Seeder/BatchUpdateSeeder.cs +++ b/src/database/PolicyHub.Migrations/Seeder/BatchUpdateSeeder.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2023 Contributors to the Eclipse Foundation + * + * 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 + ********************************************************************************/ + using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Org.Eclipse.TractusX.PolicyHub.Entities; diff --git a/tests/database/PolicyHub.DbAccess.Tests/HubRepositoriesTests.cs b/tests/database/PolicyHub.DbAccess.Tests/HubRepositoriesTests.cs index 2e01a2c..eac3053 100644 --- a/tests/database/PolicyHub.DbAccess.Tests/HubRepositoriesTests.cs +++ b/tests/database/PolicyHub.DbAccess.Tests/HubRepositoriesTests.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2023 Contributors to the Eclipse Foundation + * + * 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 + ********************************************************************************/ + using Org.Eclipse.TractusX.PolicyHub.DbAccess.Repositories; using Org.Eclipse.TractusX.PolicyHub.DbAccess.Tests.Setup; using Xunit.Extensions.AssemblyFixture;