From 0befe4915f5791f6a18b1a6ec85775d448ad213a Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Tue, 22 Aug 2023 09:57:05 +0200 Subject: [PATCH 1/2] fix(seeding): change name in Docker Hub notice --- docker/notice-iam-seeding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/notice-iam-seeding.md b/docker/notice-iam-seeding.md index cf19ebf822..f0a43e64df 100644 --- a/docker/notice-iam-seeding.md +++ b/docker/notice-iam-seeding.md @@ -4,7 +4,7 @@ DockerHub: [https://hub.docker.com/r/tractusx/portal-iam-seeding](https://hub.do Eclipse Tractus-X product(s) installed within the image: -__Portal Checklist Worker__ +__Portal IAM Seeding job__ - GitHub: https://github.com/eclipse-tractusx/portal-backend - Project home: https://projects.eclipse.org/projects/automotive.tractusx From 55a0a39c2654c8ab0665455545b66fa198b50645 Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Tue, 22 Aug 2023 10:38:44 +0200 Subject: [PATCH 2/2] chore: add file header https://github.com/eclipse-tractusx/portal-backend/issues/220 --- .../Models/SsiCertificateData.cs | 19 +++++++++++++++++++ .../Bpdm.Library/Models/BpdmSharingState.cs | 19 +++++++++++++++++++ .../JsonHelper/SnakeCaseNamingPolicy.cs | 19 +++++++++++++++++++ .../Framework.Token/GetTokenSettings.cs | 19 +++++++++++++++++++ .../Apps.Service/Extensions/AppExtensions.cs | 19 +++++++++++++++++++ .../Models/OfferDeclineRequest.cs | 19 +++++++++++++++++++ .../Models/AppUseCaseData.cs | 19 +++++++++++++++++++ .../Models/OfferDocumentContentData.cs | 19 +++++++++++++++++++ .../Models/OperatorBpnData.cs | 19 +++++++++++++++++++ .../AuditEntities/AuditConnector20230405.cs | 19 +++++++++++++++++++ .../AuditEntities/AuditConnector20230503.cs | 19 +++++++++++++++++++ .../AuditEntities/AuditConnector20230803.cs | 19 +++++++++++++++++++ .../AuditEntities/AuditIdentity20230526.cs | 19 +++++++++++++++++++ .../Entities/Identity.cs | 19 +++++++++++++++++++ .../Entities/OfferSubscriptionProcessData.cs | 19 +++++++++++++++++++ .../VerifiedCredentialExternalType.cs | 19 +++++++++++++++++++ ...dentialExternalTypeUseCaseDetailVersion.cs | 19 +++++++++++++++++++ .../Enums/MediaTypeId.cs | 19 +++++++++++++++++++ .../Enums/VerifiedCredentialExternalTypeId.cs | 19 +++++++++++++++++++ .../Extensions/ProtocolMapperSettings.cs | 19 +++++++++++++++++++ .../Models/CompanyNameIdpAliasData.cs | 19 +++++++++++++++++++ .../Administration.Service.Tests/Usings.cs | 19 +++++++++++++++++++ tests/framework/Framework.Web.Tests/Usings.cs | 19 +++++++++++++++++++ .../ContentTypeMapperExtensionsTests.cs | 19 +++++++++++++++++++ .../InvitationRepositoryTests.cs | 19 +++++++++++++++++++ .../PortalDbContextTests.cs | 19 +++++++++++++++++++ .../FlurlSetup/FlurlSetupExtensions.cs | 19 +++++++++++++++++++ 27 files changed, 513 insertions(+) diff --git a/src/administration/Administration.Service/Models/SsiCertificateData.cs b/src/administration/Administration.Service/Models/SsiCertificateData.cs index 6678259b73..86dd817b51 100644 --- a/src/administration/Administration.Service/Models/SsiCertificateData.cs +++ b/src/administration/Administration.Service/Models/SsiCertificateData.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.PortalEntities.Enums; namespace Org.Eclipse.TractusX.Portal.Backend.Administration.Service.Models; diff --git a/src/externalsystems/Bpdm.Library/Models/BpdmSharingState.cs b/src/externalsystems/Bpdm.Library/Models/BpdmSharingState.cs index 78da8a3c0c..dc6086a8a8 100644 --- a/src/externalsystems/Bpdm.Library/Models/BpdmSharingState.cs +++ b/src/externalsystems/Bpdm.Library/Models/BpdmSharingState.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 + ********************************************************************************/ + namespace Org.Eclipse.TractusX.Portal.Backend.Bpdm.Library.Models; public record BpdmPaginationSharingStateOutput( diff --git a/src/framework/Framework.Seeding/JsonHelper/SnakeCaseNamingPolicy.cs b/src/framework/Framework.Seeding/JsonHelper/SnakeCaseNamingPolicy.cs index 34691bb8db..1793437ac2 100644 --- a/src/framework/Framework.Seeding/JsonHelper/SnakeCaseNamingPolicy.cs +++ b/src/framework/Framework.Seeding/JsonHelper/SnakeCaseNamingPolicy.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 Newtonsoft.Json.Serialization; using System.Text.Json; diff --git a/src/framework/Framework.Token/GetTokenSettings.cs b/src/framework/Framework.Token/GetTokenSettings.cs index 14339a87f7..800c6ad586 100644 --- a/src/framework/Framework.Token/GetTokenSettings.cs +++ b/src/framework/Framework.Token/GetTokenSettings.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 + ********************************************************************************/ + namespace Org.Eclipse.TractusX.Portal.Backend.Framework.Token; public record GetTokenSettings(string HttpClientName, string Username, string Password, string ClientId, string GrantType, string ClientSecret, string Scope); diff --git a/src/marketplace/Apps.Service/Extensions/AppExtensions.cs b/src/marketplace/Apps.Service/Extensions/AppExtensions.cs index 63559249bd..2914deaaff 100644 --- a/src/marketplace/Apps.Service/Extensions/AppExtensions.cs +++ b/src/marketplace/Apps.Service/Extensions/AppExtensions.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.Apps.Service.ViewModels; using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess.Repositories; diff --git a/src/marketplace/Offers.Library/Models/OfferDeclineRequest.cs b/src/marketplace/Offers.Library/Models/OfferDeclineRequest.cs index 01b2bd907f..dd996515c3 100644 --- a/src/marketplace/Offers.Library/Models/OfferDeclineRequest.cs +++ b/src/marketplace/Offers.Library/Models/OfferDeclineRequest.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 System.Text.Json.Serialization; namespace Org.Eclipse.TractusX.Portal.Backend.Offers.Library.Models; diff --git a/src/portalbackend/PortalBackend.DBAccess/Models/AppUseCaseData.cs b/src/portalbackend/PortalBackend.DBAccess/Models/AppUseCaseData.cs index bb19a2134b..a1ff192b28 100644 --- a/src/portalbackend/PortalBackend.DBAccess/Models/AppUseCaseData.cs +++ b/src/portalbackend/PortalBackend.DBAccess/Models/AppUseCaseData.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 + ********************************************************************************/ + namespace Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess.Models; public record AppUseCaseData(Guid Id, string Label); diff --git a/src/portalbackend/PortalBackend.DBAccess/Models/OfferDocumentContentData.cs b/src/portalbackend/PortalBackend.DBAccess/Models/OfferDocumentContentData.cs index 19a2649824..6d66d56b82 100644 --- a/src/portalbackend/PortalBackend.DBAccess/Models/OfferDocumentContentData.cs +++ b/src/portalbackend/PortalBackend.DBAccess/Models/OfferDocumentContentData.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.PortalEntities.Enums; namespace Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess.Models; diff --git a/src/portalbackend/PortalBackend.DBAccess/Models/OperatorBpnData.cs b/src/portalbackend/PortalBackend.DBAccess/Models/OperatorBpnData.cs index 33615fdcdc..3bf2472f12 100644 --- a/src/portalbackend/PortalBackend.DBAccess/Models/OperatorBpnData.cs +++ b/src/portalbackend/PortalBackend.DBAccess/Models/OperatorBpnData.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 + ********************************************************************************/ + namespace Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess.Models; public record OperatorBpnData( diff --git a/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230405.cs b/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230405.cs index e15393e97f..34fd4b5593 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230405.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230405.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.PortalEntities.Auditing; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; using System.ComponentModel.DataAnnotations; diff --git a/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230503.cs b/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230503.cs index f8ace44fd3..95ca008f9f 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230503.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230503.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.PortalEntities.Auditing; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; using System.ComponentModel.DataAnnotations; diff --git a/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230803.cs b/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230803.cs index bee876476e..847532b352 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230803.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditConnector20230803.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.PortalEntities.Auditing; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; using System.ComponentModel.DataAnnotations; diff --git a/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditIdentity20230526.cs b/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditIdentity20230526.cs index 97c26dee12..b8e9f40b94 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditIdentity20230526.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/AuditEntities/AuditIdentity20230526.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.PortalEntities.Auditing; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; using System.ComponentModel.DataAnnotations; diff --git a/src/portalbackend/PortalBackend.PortalEntities/Entities/Identity.cs b/src/portalbackend/PortalBackend.PortalEntities/Entities/Identity.cs index 7e1f4bf1bb..401086a929 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/Entities/Identity.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/Entities/Identity.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.PortalEntities.Auditing; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Base; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; diff --git a/src/portalbackend/PortalBackend.PortalEntities/Entities/OfferSubscriptionProcessData.cs b/src/portalbackend/PortalBackend.PortalEntities/Entities/OfferSubscriptionProcessData.cs index e3d9815a1e..e0ad41e3e7 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/Entities/OfferSubscriptionProcessData.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/Entities/OfferSubscriptionProcessData.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 + ********************************************************************************/ + namespace Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Entities; public class OfferSubscriptionProcessData diff --git a/src/portalbackend/PortalBackend.PortalEntities/Entities/VerifiedCredentialExternalType.cs b/src/portalbackend/PortalBackend.PortalEntities/Entities/VerifiedCredentialExternalType.cs index 7d0834b63c..869db351a1 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/Entities/VerifiedCredentialExternalType.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/Entities/VerifiedCredentialExternalType.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.PortalEntities.Enums; namespace Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Entities; diff --git a/src/portalbackend/PortalBackend.PortalEntities/Entities/VerifiedCredentialExternalTypeUseCaseDetailVersion.cs b/src/portalbackend/PortalBackend.PortalEntities/Entities/VerifiedCredentialExternalTypeUseCaseDetailVersion.cs index 81169739fe..9ad1bbf7d3 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/Entities/VerifiedCredentialExternalTypeUseCaseDetailVersion.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/Entities/VerifiedCredentialExternalTypeUseCaseDetailVersion.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.PortalEntities.Base; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; diff --git a/src/portalbackend/PortalBackend.PortalEntities/Enums/MediaTypeId.cs b/src/portalbackend/PortalBackend.PortalEntities/Enums/MediaTypeId.cs index 0e2b584d30..c8db665208 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/Enums/MediaTypeId.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/Enums/MediaTypeId.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 + ********************************************************************************/ + namespace Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; public enum MediaTypeId diff --git a/src/portalbackend/PortalBackend.PortalEntities/Enums/VerifiedCredentialExternalTypeId.cs b/src/portalbackend/PortalBackend.PortalEntities/Enums/VerifiedCredentialExternalTypeId.cs index 10b4cc76b8..e4070950c3 100644 --- a/src/portalbackend/PortalBackend.PortalEntities/Enums/VerifiedCredentialExternalTypeId.cs +++ b/src/portalbackend/PortalBackend.PortalEntities/Enums/VerifiedCredentialExternalTypeId.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 System.Runtime.Serialization; namespace Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; diff --git a/src/provisioning/Provisioning.Library/Extensions/ProtocolMapperSettings.cs b/src/provisioning/Provisioning.Library/Extensions/ProtocolMapperSettings.cs index 8ad296c3e2..2c71fd848c 100644 --- a/src/provisioning/Provisioning.Library/Extensions/ProtocolMapperSettings.cs +++ b/src/provisioning/Provisioning.Library/Extensions/ProtocolMapperSettings.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.Framework.ErrorHandling; using Org.Eclipse.TractusX.Portal.Backend.Keycloak.Library.Models.ProtocolMappers; diff --git a/src/provisioning/Provisioning.Library/Models/CompanyNameIdpAliasData.cs b/src/provisioning/Provisioning.Library/Models/CompanyNameIdpAliasData.cs index 5849839980..7db4c78cc6 100644 --- a/src/provisioning/Provisioning.Library/Models/CompanyNameIdpAliasData.cs +++ b/src/provisioning/Provisioning.Library/Models/CompanyNameIdpAliasData.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 + ********************************************************************************/ + namespace Org.Eclipse.TractusX.Portal.Backend.Provisioning.Library.Models; public record CompanyNameIdpAliasData(Guid CompanyId, string CompanyName, string? BusinessPartnerNumber, string IdpAlias, bool IsSharedIdp); diff --git a/tests/administration/Administration.Service.Tests/Usings.cs b/tests/administration/Administration.Service.Tests/Usings.cs index a02813547a..65016aec51 100644 --- a/tests/administration/Administration.Service.Tests/Usings.cs +++ b/tests/administration/Administration.Service.Tests/Usings.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 + ********************************************************************************/ + global using AutoFixture; global using AutoFixture.AutoFakeItEasy; global using FakeItEasy; diff --git a/tests/framework/Framework.Web.Tests/Usings.cs b/tests/framework/Framework.Web.Tests/Usings.cs index a02813547a..65016aec51 100644 --- a/tests/framework/Framework.Web.Tests/Usings.cs +++ b/tests/framework/Framework.Web.Tests/Usings.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 + ********************************************************************************/ + global using AutoFixture; global using AutoFixture.AutoFakeItEasy; global using FakeItEasy; diff --git a/tests/portalbackend/PortalBackend.DBAccess.Tests/ContentTypeMapperExtensionsTests.cs b/tests/portalbackend/PortalBackend.DBAccess.Tests/ContentTypeMapperExtensionsTests.cs index d6feb6956e..782156e12f 100644 --- a/tests/portalbackend/PortalBackend.DBAccess.Tests/ContentTypeMapperExtensionsTests.cs +++ b/tests/portalbackend/PortalBackend.DBAccess.Tests/ContentTypeMapperExtensionsTests.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.Framework.ErrorHandling; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess.Extensions; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; diff --git a/tests/portalbackend/PortalBackend.DBAccess.Tests/InvitationRepositoryTests.cs b/tests/portalbackend/PortalBackend.DBAccess.Tests/InvitationRepositoryTests.cs index a060ad8650..42faca6e45 100644 --- a/tests/portalbackend/PortalBackend.DBAccess.Tests/InvitationRepositoryTests.cs +++ b/tests/portalbackend/PortalBackend.DBAccess.Tests/InvitationRepositoryTests.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.Portal.Backend.PortalBackend.DBAccess.Repositories; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess.Tests.Setup; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; diff --git a/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalDbContextTests.cs b/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalDbContextTests.cs index b9133d69f0..6193051d14 100644 --- a/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalDbContextTests.cs +++ b/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalDbContextTests.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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.EntityFrameworkCore; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess.Tests.Setup; using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities; diff --git a/tests/provisioning/Provisioning.Library.Tests/FlurlSetup/FlurlSetupExtensions.cs b/tests/provisioning/Provisioning.Library.Tests/FlurlSetup/FlurlSetupExtensions.cs index a3c1244777..f38b866588 100644 --- a/tests/provisioning/Provisioning.Library.Tests/FlurlSetup/FlurlSetupExtensions.cs +++ b/tests/provisioning/Provisioning.Library.Tests/FlurlSetup/FlurlSetupExtensions.cs @@ -1,3 +1,22 @@ +/******************************************************************************** + * Copyright (c) 2021, 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 Flurl.Http.Testing; using Org.Eclipse.TractusX.Portal.Backend.Keycloak.Library.Models.Clients; using Org.Eclipse.TractusX.Portal.Backend.Keycloak.Library.Models.OpenIDConfiguration;