Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
EY-3389 Lagt til tjenestespesifikasjon for OS simulering
Browse files Browse the repository at this point in the history
  • Loading branch information
ingleivj committed Apr 9, 2024
1 parent 99612d7 commit 25983c2
Show file tree
Hide file tree
Showing 11 changed files with 1,355 additions and 0 deletions.
75 changes: 75 additions & 0 deletions nav-system-os-simuler-fp-service-tjenestespesifikasjon/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<parent>
<groupId>no.nav.etterlatte.tjenestespesifikasjoner</groupId>
<artifactId>tjenestespesifikasjoner</artifactId>
<version>0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>nav-system-os-simuler-fp-service-tjenestespesifikasjon</artifactId>
<packaging>jar</packaging>
<version>0-SNAPSHOT</version>

<dependencies>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
</dependency>
</dependencies>

<properties>
<wsdl.directory>src/main/wsdl</wsdl.directory>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>wsdl-to-java</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<wsdlFiles>
<wsdlFile>no/nav/system/os/eksponering/simulerfpservicewsbinding.wsdl</wsdlFile>
</wsdlFiles>
<wsdlDirectory>${wsdl.directory}</wsdlDirectory>
<sourceDestDir>target/generated-sources</sourceDestDir>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>include-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>${wsdl.directory}</directory>
<targetPath>wsdl</targetPath>
</resource>
</resources>
</build>

<scm>
<developerConnection>scm:git:git@github.com:navikt/pensjon-etterlatte-tjenestespesifikasjoner.git</developerConnection>
<connection>scm:git:git@github.com:navikt/pensjon-etterlatte-tjenestespesifikasjoner.git</connection>
<url>https://github.com/navikt/pensjon-etterlatte-tjenestespesifikasjoner</url>
<tag>HEAD</tag>
</scm>
<name>${project.artifactId}</name>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="simulerFpServiceWSBinding"
targetNamespace="http://nav.no/system/os/eksponering/simulerFpServiceWSBinding"
xmlns:simulerFpService="http://nav.no/system/os/tjenester/simulerFpService/simulerFpServiceGrensesnitt"
xmlns:tns="http://nav.no/system/os/eksponering/simulerFpServiceWSBinding"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">

<wsdl:import namespace="http://nav.no/system/os/tjenester/simulerFpService/simulerFpServiceGrensesnitt" location="../tjenester/simulerFpService/simulerfpservicegrensesnitt.wsdl">
</wsdl:import>

<wsdl:binding name="simulerFpServiceBinding" type="simulerFpService:simulerFpService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsaw:UsingAddressing/>
<wsdl:operation name="sendInnOppdrag">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="feilUnderBehandling">
<soap:fault name="feilUnderBehandling" use="literal"/>
</wsdl:fault>
</wsdl:operation>

<wsdl:operation name="simulerBeregning">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="feilUnderBehandling">
<soap:fault name="feilUnderBehandling" use="literal"/>
</wsdl:fault>
</wsdl:operation>

</wsdl:binding>

<wsdl:service name="simulerFpService">
<wsdl:port name="simulerFpServicePort" binding="tns:simulerFpServiceBinding">
<soap:address location="http://localhost:9080/system/os/eksponering/simulerFpServiceWSBinding"/>
</wsdl:port>
</wsdl:service>

</wsdl:definitions>
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://nav.no/system/os/entiteter/beregningSkjema"
version="1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:typer="http://nav.no/system/os/entiteter/typer/simpleTypes"
xmlns:beregningSkjema="http://nav.no/system/os/entiteter/beregningSkjema"
>

<xs:import namespace="http://nav.no/system/os/entiteter/typer/simpleTypes" schemaLocation="typer/simpleTypes.xsd"/>

<xs:annotation>
<xs:documentation>Beregning entiteter</xs:documentation>
<xs:documentation>For hver entitet er det lagt til en referanse ID.</xs:documentation>
<xs:documentation>Disse IDene korresponderer med entitetene som er implementert i baksystemet og kan forenkle kommunikasjon.</xs:documentation>
</xs:annotation>

<xs:complexType name="beregning">
<xs:annotation>
<xs:documentation>Entitet Beregning</xs:documentation>
<xs:documentation>Referanse ID 311</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="gjelderId" type="typer:fnrOrgnr" />
<xs:element name="gjelderNavn" type="typer:navn" />
<xs:element name="datoBeregnet" type="typer:dato">
<xs:annotation>
<xs:documentation>Ved simuleringsberegning gjelder dette datoen beregning vil kjøres på</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="kodeFaggruppe" type="typer:kodeFaggruppe" />
<xs:element name="belop" type="typer:belop" />

<xs:element ref="beregningSkjema:beregningsPeriode" minOccurs="1" maxOccurs="999" />
</xs:sequence>
</xs:complexType>

<xs:element name="beregningsPeriode">
<xs:annotation>
<xs:documentation>Entitet BeregningsPeriode</xs:documentation>
<xs:documentation>Referanse ID 312</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="periodeFom" type="typer:dato" />
<xs:element name="periodeTom" type="typer:dato" />

<xs:element ref="beregningSkjema:beregningStoppnivaa" minOccurs="1" maxOccurs="999" />
</xs:sequence>
</xs:complexType>
</xs:element>


<xs:element name="beregningStoppnivaa">
<xs:annotation>
<xs:documentation>Entitet BeregningStoppnivaa</xs:documentation>
<xs:documentation>Referanse ID 313</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="kodeFagomraade" type="typer:kodeFagomraade" />
<xs:element name="stoppNivaaId" type="typer:linjeId" />
<xs:element name="behandlendeEnhet" type="typer:enhet" />
<xs:element name="oppdragsId" type="typer:oppdragsId" />
<xs:element name="fagsystemId" type="typer:fagsystemId" />
<xs:element name="kid" type="typer:kid" />
<xs:element name="utbetalesTilId" type="typer:fnrOrgnr" />
<xs:element name="utbetalesTilNavn" type="typer:navn" />
<xs:element name="bilagsType" type="typer:kodeBilagsType" />
<xs:element name="forfall" type="typer:dato" />
<xs:element name="feilkonto" type="xs:boolean" />

<xs:element ref="beregningSkjema:beregningStoppnivaaDetaljer" minOccurs="1" maxOccurs="999" />
</xs:sequence>
</xs:complexType>
</xs:element>

<xs:element name="beregningStoppnivaaDetaljer">
<xs:annotation>
<xs:documentation>Entitet BeregningStoppnivaaDetaljer</xs:documentation>
<xs:documentation>Referanse ID 314</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="faktiskFom" type="typer:dato" />
<xs:element name="faktiskTom" type="typer:dato" />
<xs:element name="kontoStreng">
<xs:annotation>
<xs:documentation>Samensatt konkatenert felt: Hovedkontonr||Underkontonr||Formålskode||Aktivitetskode</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="0" />
<xs:maxLength value="19" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="behandlingskode" type="typer:string1" />
<xs:element name="belop" type="typer:belop" />
<xs:element name="trekkVedtakId" type="typer:trekkVedtakId" />
<xs:element name="stonadId" type="typer:stonadId" />
<xs:element name="korrigering" type="typer:string1" />
<xs:element name="tilbakeforing" type="xs:boolean" />
<xs:element name="linjeId" type="typer:linjeId" />
<xs:element name="sats" type="typer:sats" />
<xs:element name="typeSats" type="typer:typeSats" />
<xs:element name="antallSats" type="typer:antallSats" />
<xs:element name="saksbehId" type="typer:saksbehId" />
<xs:element name="uforeGrad" type="typer:grad" />
<xs:element name="kravhaverId" type="typer:fnrOrgnr" />
<xs:element name="delytelseId" type="typer:delytelseId" />
<xs:element name="bostedsenhet" type="typer:enhet" />
<xs:element name="skykldnerId" type="typer:fnrOrgnr" />
<xs:element name="klassekode" type="typer:kodeKlasse" />
<xs:element name="klasseKodeBeskrivelse" type="typer:kodeKlasseBeskrivelse" />
<xs:element name="typeKlasse" type="typer:typeKlasse" />
<xs:element name="typeKlasseBeskrivelse" type="typer:typeKlasseBeskrivelse" />
<xs:element name="refunderesOrgNr" type="typer:fnrOrgnr" />
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:schema>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://nav.no/system/os/entiteter/infomelding"
version="1.0"
xmlns:infomelding="http://nav.no/system/os/entiteter/infomelding"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>

<xs:annotation>
<xs:documentation>Entitet for infomelding</xs:documentation>
<xs:documentation>Tilsvarende baksystemets FE469-RTV-LOGG databasetabell</xs:documentation>
</xs:annotation>

<xs:complexType name="infomelding">
<xs:annotation>
<xs:documentation>Entitet for infomelding.</xs:documentation>
<xs:documentation>Brukes for å eksponere advarsler/infomelding fra tjenesten.</xs:documentation>
<xs:documentation>Informasjonsmelding hentes fra ID 469MMEL</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="beskrMelding">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="75" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>

Loading

0 comments on commit 25983c2

Please sign in to comment.