Skip to content

Commit

Permalink
feat(#420): XSD update for CB GOOSE and SMV network configuration
Browse files Browse the repository at this point in the history
Signed-off-by: JAFFRE Guillaume <guillaume.jaffre@rte-france.com>
  • Loading branch information
GuillaumeJAFFRE committed Sep 2, 2024
1 parent 72617bc commit 7b4a2ac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion sct-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
</goals>
<configuration>
<sources>
<source>${project.basedir}/src/main/resources/xsd/GSE_SMV_CB_COM.xsd</source>
<source>${project.basedir}/src/main/resources/xsd/GSE_SMV_CB_COM_V2.xsd</source>
</sources>
<xjbSources>
<xjbSource>${project.basedir}/src/main/resources/binding_configuration.xjb</xjbSource>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-FileCopyrightText: 2023 RTE FRANCE -->
<!-- -->
<!-- SPDX-License-Identifier: Apache-2.0 -->

<xs:schema xmlns="http://www.rte-france.com/cbcom"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.rte-france.com/cbcom" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1">
Expand All @@ -12,9 +8,9 @@
<xs:sequence>
<xs:element ref="History"/>
<xs:element ref="Version"/>
<xs:element ref="AppIdRanges"/>
<xs:element ref="MacRanges"/>
<xs:element ref="Vlans"/>
<xs:element ref="MacRanges"/>
<xs:element ref="AppIdRanges"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand All @@ -26,7 +22,6 @@
</xs:sequence>
</xs:complexType>
</xs:element>

<xs:complexType name="tHitem" mixed="true">
<xs:attribute name="Version" type="xs:normalizedString" use="required"/>
<xs:attribute name="When" type="xs:normalizedString" use="required"/>
Expand Down Expand Up @@ -141,9 +136,20 @@
<xs:enumeration value="AUT"/>
<xs:enumeration value="PDIF"/>
<xs:enumeration value="GRP"/>
<xs:enumeration value="GRPR"/>
<xs:enumeration value="ASLD"/>
<xs:enumeration value="GW"/>
<xs:enumeration value="TG"/>
<xs:enumeration value="TOPO"/>
<xs:enumeration value="SWC"/>
<xs:enumeration value="SWT"/>
<xs:enumeration value="SW"/>
<xs:enumeration value="OUT"/>
<xs:enumeration value="CLUS"/>
<xs:enumeration value="VIRT"/>
<xs:enumeration value="ICT"/>
<xs:enumeration value="SYN"/>
<xs:enumeration value="OND"/>
<xs:enumeration value="ADEFINIR"/>
<xs:enumeration value="IEDTEST"/>
</xs:restriction>
Expand Down

0 comments on commit 7b4a2ac

Please sign in to comment.