Skip to content

Commit

Permalink
Merge d6473f9 into 1fa21bf
Browse files Browse the repository at this point in the history
  • Loading branch information
beknazaresenbek authored Nov 14, 2023
2 parents 1fa21bf + d6473f9 commit e5fa268
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/satellite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ components:
properties:
party_id:
type: string
party_did:
type: string
party_name:
type: string
adherence:
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/fiware/iam/tir/rest/IShareMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import org.fiware.iam.satellite.model.CertificateVO;
import org.fiware.iam.satellite.model.PartyVO;
import org.fiware.iam.tir.auth.CertificateMapper;
import org.fiware.iam.tir.auth.JWTService;
import org.fiware.iam.tir.configuration.Party;

import javax.inject.Singleton;
Expand All @@ -28,6 +27,7 @@ public class IShareMapper {
public PartyVO partyToPartyVO(Party party) {
return new PartyVO()
.partyId(party.id())
.partyDid(party.did())
.partyName(party.name())
.adherence(new AdherenceVO().status(party.status()))
.certificates(toCertificateVO(getClientCertificate(party)));
Expand Down

0 comments on commit e5fa268

Please sign in to comment.