Skip to content

Commit

Permalink
Oppdaterte skjema for PDL og SAF
Browse files Browse the repository at this point in the history
  • Loading branch information
jolarsen committed Jun 15, 2024
1 parent b7b5b0e commit 503e987
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
3 changes: 2 additions & 1 deletion integrasjon/person-klient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
<goal>generate</goal>
</goals>
<configuration>
<graphqlSchemaPaths>${project.basedir}/src/main/resources/pdl/pdl-api-sdl.graphqls</graphqlSchemaPaths>
<!-- source repo:pdl:apps/api/src/main/resources/schemas/pdl.graphqls -->
<graphqlSchemaPaths>${project.basedir}/src/main/resources/pdl/pdl.graphqls</graphqlSchemaPaths>
<outputDir>${project.build.directory}/generated-sources/client-pdl</outputDir>
<modelPackageName>no.nav.pdl</modelPackageName>
<customTypesMapping>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SOURCE repo:pdl:apps/api/src/main/resources/schemas/pdl.graphqls
# ISO-8601 representasjon for en kalenderdato. YYYY-MM-DD. Eksempel: 2018-01-01.
scalar Date

Expand Down Expand Up @@ -137,7 +138,7 @@ type Person {
doedfoedtBarn: [DoedfoedtBarn!]!
doedsfall: [Doedsfall!]!
falskIdentitet: FalskIdentitet
foedsel: [Foedsel!]!
foedsel: [Foedsel!]! @deprecated(reason: "Erstattet av foedselsdato & foedested")
foedselsdato: [Foedselsdato!]!
foedested: [Foedested!]!
folkeregisteridentifikator(historikk: Boolean = false): [Folkeregisteridentifikator!]!
Expand Down
3 changes: 2 additions & 1 deletion integrasjon/saf-klient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
<goal>generate</goal>
</goals>
<configuration>
<graphqlSchemaPaths>${project.basedir}/src/main/resources/saf/schema.graphql</graphqlSchemaPaths>
<!-- source repo:saf:app/src/main/resources/schemas/saf.graphqls -->
<graphqlSchemaPaths>${project.basedir}/src/main/resources/saf/saf.graphqls</graphqlSchemaPaths>
<outputDir>${project.build.directory}/generated-sources/client-saf</outputDir>
<modelPackageName>no.nav.saf</modelPackageName>
<customTypesMapping>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SOURCE repo:saf:app/src/main/resources/schemas/saf.graphqls
# ISO-8601 representasjon for en kalenderdato. YYYY-MM-DD. Eksempel: 2018-01-01.
scalar Date

Expand Down Expand Up @@ -297,6 +298,12 @@ type Journalpost {
# * Returneres kun for utgående journalposter
utsendingsinfo: Utsendingsinfo

# Regel for innsyn for denne journalposten. Verdi er "BRUK_STANDARDREGLER" om innsyn ikke er overstyrt.
innsynsregel: String!

# Menneskevennlig beskrivelse av aktuell innsynsregel.
innsynsregelBeskrivelse: String!

# Liste over fagspesifikke metadata som er tilknyttet journalpost.
tilleggsopplysninger: [Tilleggsopplysning]

Expand Down Expand Up @@ -731,7 +738,7 @@ enum Kanal {
# Forsendelsen inneholder en komplett chatdialog (inngående og utgående meldinger) mellom en bruker og en veileder i NAV.
NAV_NO_CHAT

# Brevet er sendt til virksomhet som taushetsbelagt digital post.
# Brevet er sendt til virksomhet som Taushetsbelagt Post via Altinn.
# * Brukes for utgående journalposter.
DPVT

Expand Down Expand Up @@ -888,7 +895,7 @@ enum Tema {
# Serviceklager
SER

# Regnskap/utbetaling
# Regnskap/utbetaling/årsoppgave
STO

# Supplerende stønad
Expand Down

0 comments on commit 503e987

Please sign in to comment.