-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publiserer ForelderBarnRelasjon hendelser ved fødselshendelser.
- Loading branch information
Showing
4 changed files
with
104 additions
and
11 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
...r/src/main/java/no/nav/foreldrepenger/vtp/kontrakter/ForelderBarnRelasjonHendelseDto.java
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,14 @@ | ||
package no.nav.foreldrepenger.vtp.kontrakter; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
@Schema(name = "FamilierelasjonHendelseDto") | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public record ForelderBarnRelasjonHendelseDto(@Schema String endringstype, | ||
@Schema String fnr, | ||
@Schema String relatertPersonsFnr, | ||
@Schema String relatertPersonsRolle, | ||
@Schema String minRolleForPerson) implements PersonhendelseDto { | ||
|
||
} |
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
11 changes: 11 additions & 0 deletions
11
server/src/main/resources/avro/leesah/forelderbarnrelasjon/ForelderBarnRelasjon.avdl
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,11 @@ | ||
/*https://github.com/navikt/pdl/blob/master/libs/contract-pdl-avro/src/main/avro/no/nav/person/pdl/leesah/forelderbarnrelasjon/ForelderBarnRelasjon.avdl*/ | ||
|
||
@namespace("no.nav.person.pdl.leesah.forelderbarnrelasjon") | ||
protocol ForelderBarnRelasjonV1 { | ||
|
||
record ForelderBarnRelasjon { | ||
union { null, string } relatertPersonsIdent = null; | ||
string relatertPersonsRolle; | ||
union { null, string } minRolleForPerson = null; | ||
} | ||
} |