Skip to content
Snippets Groups Projects
Commit b1bf7a86 authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'OZG-5156-Anbindung-Versammlungsanzeige' (#129) from...

Merge pull request 'OZG-5156-Anbindung-Versammlungsanzeige' (#129) from OZG-5156-Anbindung-Versammlungsanzeige into master

Reviewed-on: https://git.ozg-sh.de/ozgcloud-app/eingang-manager/pulls/129


Reviewed-by: default avatarOZGCloud <ozgcloud@mgm-tp.com>
parents 185f8300 fa7f8542
No related branches found
No related tags found
No related merge requests found
package de.ozgcloud.eingang.fim;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@EnableAutoConfiguration
@ComponentScan("de.ozgcloud.eingang.fim")
public class FimTestConfig {
}
package de.ozgcloud.eingang.fim;
import org.springframework.stereotype.Service;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import java.util.Optional;
@Service
public class TestNonStandardAdapter extends FimSchemeAdapter {
public FimSchemeIdentifier forIdentifier() {
return FimSchemeIdentifier.fromString("test2");
}
public Optional<String> getNameForElement(final Element element) {
final NodeList nameTags = element.getElementsByTagName("non-standard-name");
if (nameTags.getLength() != 1) {
return Optional.empty();
}
return Optional.ofNullable(nameTags.item(0).getTextContent());
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!--XML-Beispieldatei von XMLSpy generiert v2024 (x64) (http://www.altova.com)-->
<xfd:fim.S17000652.17000652001004 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xfd="urn:xoev-de:xfall:standard:fim-s17000652_1.4" xsi:schemaLocation="urn:xoev-de:xfall:standard:fim-s17000652_1.4 S17000652V1.4_xfall.xsd">
<xfd:G17003529>
<xfd:G05001479>
<xfd:G05001480>
<xfd:F05002750>d447e43a-5723-4821-a170-cb44d2dbf143</xfd:F05002750>
<xfd:F05002751>2022-08-15T09:30:47</xfd:F05002751>
<xfd:F05002752>fim.S17000652.17000652001004</xfd:F05002752>
<xfd:F05002753>urn:fim:Versammlungsanzeige:1.4</xfd:F05002753>
</xfd:G05001480>
<xfd:G05001481>
<xfd:F05002754>Celle</xfd:F05002754>
<xfd:F05002755>vbe:010550120100</xfd:F05002755>
<xfd:F05002756>Versammlungsbehörde</xfd:F05002756>
</xfd:G05001481>
<xfd:G05001482>
<xfd:F05002754>OSI-Onlinedienst Niedersachsen Versammlungsanzeige</xfd:F05002754>
<xfd:F05002755>vbe:010550120100</xfd:F05002755>
<xfd:F05002756>Engagement- und Hobbyportal</xfd:F05002756>
</xfd:G05001482>
</xfd:G05001479>
<xfd:F17005454>true</xfd:F17005454>
<xfd:F17005455>true</xfd:F17005455>
<xfd:F17005533>String</xfd:F17005533>
</xfd:G17003529>
<xfd:F17009191>true</xfd:F17009191>
<xfd:F17003371>String</xfd:F17003371>
</xfd:fim.S17000652.17000652001004>
fim:
schemeLocations:
- src/main/resources/fim-s17000652_1.4/S17000652V1.4_xfall.xsd
- src/test/resources/test2/test2.xsd
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<xs:fim>
</xs:fim>
<?xml version="1.0" encoding="UTF-8"?>
<xs:fim.S1234 xmlns:xfd="test2" xsi:schemaLocation="test2">
<xs:fim.S1235>Testvalue</xs:fim.S1235>
<xs:fim.S1236>Testvalue 2</xs:fim.S1236>
</xs:fim.S1234>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xfd="test2" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="test2">
<xs:element name="fim.S1234">
<xs:annotation><xs:documentation><non-standard-name>Test-Fim-Data</non-standard-name></xs:documentation></xs:annotation>
</xs:element>
<xs:element name="fim.S1235">
<xs:annotation><xs:documentation><non-standard-name>Testkey</non-standard-name></xs:documentation></xs:annotation>
</xs:element>
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!--XML-Beispieldatei von XMLSpy generiert v2024 (x64) (http://www.altova.com)-->
<xfd:fim.S17000652.17000652001004 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xfd="empty" xsi:schemaLocation="empty">
<xfd:G17003529>
<xfd:G05001479>
<xfd:G05001480>
<xfd:F05002750>d447e43a-5723-4821-a170-cb44d2dbf143</xfd:F05002750>
<xfd:F05002751>2022-08-15T09:30:47</xfd:F05002751>
<xfd:F05002752>fim.S17000652.17000652001004</xfd:F05002752>
<xfd:F05002753>urn:fim:Versammlungsanzeige:1.4</xfd:F05002753>
</xfd:G05001480>
<xfd:G05001481>
<xfd:F05002754>Celle</xfd:F05002754>
<xfd:F05002755>vbe:010550120100</xfd:F05002755>
<xfd:F05002756>Versammlungsbehörde</xfd:F05002756>
</xfd:G05001481>
<xfd:G05001482>
<xfd:F05002754>OSI-Onlinedienst Niedersachsen Versammlungsanzeige</xfd:F05002754>
<xfd:F05002755>vbe:010550120100</xfd:F05002755>
<xfd:F05002756>Engagement- und Hobbyportal</xfd:F05002756>
</xfd:G05001482>
</xfd:G05001479>
<xfd:F17005454>true</xfd:F17005454>
<xfd:F17005455>true</xfd:F17005455>
<xfd:F17005533>String</xfd:F17005533>
</xfd:G17003529>
<xfd:F17009191>true</xfd:F17009191>
<xfd:F17003371>String</xfd:F17003371>
</xfd:fim.S17000652.17000652001004>
a<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
<a:Action s:mustUnderstand="1">http://www.osci.eu/ws/2008/05/transport/urn/messageTypes/MsgBoxFetchRequest</a:Action>
<h:MsgBoxResponse MsgBoxRequestID="urn:de:xta:messageid:dataport_xta_210:3d280bfa-d790-4865-a6cf-f6656d7be13f" xmlns:h="http://www.osci.eu/ws/2008/05/transport" xmlns="http://www.osci.eu/ws/2008/05/transport" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ItemsPending>0</ItemsPending>
</h:MsgBoxResponse>
<h:MessageMetaData xmlns:h="http://www.osci.eu/ws/2014/10/transport" xmlns="http://www.osci.eu/ws/2014/10/transport">
<DeliveryAttributes>
<InitialSend>2024-03-21T08:56:35.214+01:00</InitialSend>
<Delivery>2024-03-21T08:56:38.417</Delivery>
</DeliveryAttributes>
<Originators>
<Author>
<Identifier type="xoev" name="Dataport" category="Engagement- und Hobbyportal">ehp:010100100000</Identifier>
</Author>
</Originators>
<Destinations>
<Reader>
<Identifier type="xoev" name="L100012.OE.279550874" category="Versammlungsbehörde">vbe:010550120100</Identifier>
</Reader>
</Destinations>
<MsgIdentification>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:de:xta:messageid:dataport_xta_210:3d280bfa-d790-4865-a6cf-f6656d7be13f</MessageID>
</MsgIdentification>
<Qualifier>
<Service>urn:fim:Versammlungsanzeige:1.4</Service>
<BusinessScenario>
<Defined listURI="urn:de:dataport:codeliste:business.scenario" listVersionID="1">
<code xmlns="">FIM_DATA</code>
</Defined>
</BusinessScenario>
<MessageType listURI="urn:de:payloadSchema:elementName" listVersionID="1.0" payloadSchema="urn:xoev-de:xfall:standard:fim-s17000652_1.4">
<code xmlns="">fim.S17000652.17000652001004</code>
<name xmlns="">fim.S17000652.17000652001004</name>
</MessageType>
</Qualifier>
<MsgSize>1738</MsgSize>
</h:MessageMetaData>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GenericContentContainer xmlns="http://xoev.de/transport/xta/211">
<ContentContainer>
<Message contentType="application/xml" filename="Antrag.xml" size="1738">
<xop:Include href="cid:http://tempuri.org/1/638485107771249372" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>
</Message>
</ContentContainer>
</GenericContentContainer>
</s:Body>
</s:Envelope>
\ No newline at end of file
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
<module>formcycle-adapter</module> <module>formcycle-adapter</module>
<module>xta-adapter</module> <module>xta-adapter</module>
<module>enterprise-adapter</module> <module>enterprise-adapter</module>
<module>fim-adapter</module>
</modules> </modules>
<properties> <properties>
...@@ -84,6 +85,11 @@ ...@@ -84,6 +85,11 @@
<artifactId>semantik-adapter</artifactId> <artifactId>semantik-adapter</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>de.ozgcloud.eingang</groupId>
<artifactId>fim-adapter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency> <dependency>
<groupId>de.ozgcloud.vorgang</groupId> <groupId>de.ozgcloud.vorgang</groupId>
<artifactId>vorgang-manager-interface</artifactId> <artifactId>vorgang-manager-interface</artifactId>
......
...@@ -42,6 +42,10 @@ ...@@ -42,6 +42,10 @@
<groupId>de.ozgcloud.eingang</groupId> <groupId>de.ozgcloud.eingang</groupId>
<artifactId>semantik-adapter</artifactId> <artifactId>semantik-adapter</artifactId>
</dependency> </dependency>
<dependency>
<groupId>de.ozgcloud.eingang</groupId>
<artifactId>fim-adapter</artifactId>
</dependency>
<!--mapstruct--> <!--mapstruct-->
<dependency> <dependency>
<groupId>org.mapstruct</groupId> <groupId>org.mapstruct</groupId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment