-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(n2n): add network registration (#255)
adjust POST: api/administration/identityprovider/owncompany/identityproviders * add onboardingServiceProviderId to companyApplication * feat(n2n): add partner registration * add registration database changes * add user synchronization process * add seeding for n2n * tests: add tests for n2n * feat(n2n): add retrigger endpoint * chore: update DEPENDENCIES file * feat(n2n): send mail for n2n registration * feat(n2n): adjust mail template * chore: use CreateOwnCompanyIdpUsersAsync * feat(n2n): add additional data to networkRegistration * fix(n2n): set correct idp link data * chore(networkregistration): optimize input validation * feat(n2n): adjust registration request * tests: add unit tests for n2n executor Refs: CPLP-2637, CPLP-3151, CPLP-3145, CPLP-3146, CPLP-3149, CPLP-3150, CPLP-3200 --------- Co-authored-by: Norbert Truchsess <norbert.truchsess@t-online.de> Reviewed-by: Norbert Truchsess <norbert.truchsess@t-online.de>
- Loading branch information
Showing
109 changed files
with
12,232 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/administration/Administration.Service/BusinessLogic/INetworkBusinessLogic.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/******************************************************************************** | ||
* Copyright (c) 2021, 2023 BMW Group AG | ||
* 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.Administration.Service.Models; | ||
using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums; | ||
|
||
namespace Org.Eclipse.TractusX.Portal.Backend.Administration.Service.BusinessLogic; | ||
|
||
public interface INetworkBusinessLogic | ||
{ | ||
Task HandlePartnerRegistration(PartnerRegistrationData data); | ||
|
||
Task RetriggerSynchronizeUser(Guid externalId, ProcessStepTypeId processStepTypeId); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.