Skip to content

Commit

Permalink
[SELC-4886] refactor: update ms-core openapi and remove unused relate…
Browse files Browse the repository at this point in the history
…d methods (#444)
  • Loading branch information
giulia-tremolada authored May 16, 2024
1 parent 0e466c7 commit 83a1a7f
Show file tree
Hide file tree
Showing 19 changed files with 1,294 additions and 8,306 deletions.
946 changes: 186 additions & 760 deletions app/src/main/resources/swagger/api-docs.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
package it.pagopa.selfcare.dashboard.connector.api;

import it.pagopa.selfcare.dashboard.connector.model.auth.AuthInfo;
import it.pagopa.selfcare.dashboard.connector.model.backoffice.BrokerInfo;
import it.pagopa.selfcare.dashboard.connector.model.delegation.Delegation;
import it.pagopa.selfcare.dashboard.connector.model.delegation.DelegationId;
import it.pagopa.selfcare.dashboard.connector.model.delegation.DelegationRequest;
import it.pagopa.selfcare.dashboard.connector.model.delegation.GetDelegationParameters;
import it.pagopa.selfcare.dashboard.connector.model.institution.*;
import it.pagopa.selfcare.dashboard.connector.model.institution.GeographicTaxonomy;
import it.pagopa.selfcare.dashboard.connector.model.institution.GeographicTaxonomyList;
import it.pagopa.selfcare.dashboard.connector.model.institution.Institution;
import it.pagopa.selfcare.dashboard.connector.model.institution.UpdateInstitutionResource;
import it.pagopa.selfcare.dashboard.connector.model.product.PartyProduct;
import it.pagopa.selfcare.dashboard.connector.model.user.CreateUserDto;
import it.pagopa.selfcare.dashboard.connector.model.user.UserInfo;

import java.util.Collection;
import java.util.List;

public interface MsCoreConnector {

List<InstitutionInfo> getUserProducts(String userId);

List<PartyProduct> getInstitutionProducts(String institutionId);

Collection<AuthInfo> getAuthInfo(String institutionId);

Institution getInstitution(String institutionId);

Institution updateInstitutionDescription(String institutionId, UpdateInstitutionResource updatePnPGInstitutionResource);
Expand All @@ -32,19 +27,8 @@ public interface MsCoreConnector {

List<Delegation> getDelegations(GetDelegationParameters delegationParameters);

void updateUser(String userId, String institutionId);

InstitutionInfo getOnBoardedInstitution(String institutionId);

void updateInstitutionGeographicTaxonomy(String institutionId, GeographicTaxonomyList geographicTaxonomies);

List<GeographicTaxonomy> getGeographicTaxonomyList(String institutionId);

UserInfo getUser(String relationshipId);

void createUsers(String institutionId, String productId, String userId, CreateUserDto userDto, String productTitle);

void checkExistingRelationshipRoles(String institutionId, String productId, CreateUserDto userDto, String userId);

Collection<UserInfo> getUsers(String institutionId, UserInfo.UserInfoFilter userInfoFilter);
}
Loading

0 comments on commit 83a1a7f

Please sign in to comment.