Skip to content

Commit

Permalink
⚙️ Auto-génération des classes et des specs
Browse files Browse the repository at this point in the history
  • Loading branch information
bou3108 authored and romainfd committed Mar 22, 2024
1 parent d9b3c65 commit 086205f
Show file tree
Hide file tree
Showing 36 changed files with 22 additions and 22 deletions.
Binary file modified csv_parser/out/CustomContent/CustomContent.schema.docx
Binary file not shown.
Binary file modified csv_parser/out/CustomContent/CustomContent.uml_diagram.pdf
Binary file not shown.
Binary file modified csv_parser/out/EMSI/EMSI.schema.docx
Binary file not shown.
Binary file modified csv_parser/out/EMSI/EMSI.uml_diagram.pdf
Binary file not shown.
Binary file modified csv_parser/out/GEO-POS/GEO-POS.schema.docx
Binary file not shown.
Binary file modified csv_parser/out/GEO-POS/GEO-POS.uml_diagram.pdf
Binary file not shown.
Binary file modified csv_parser/out/GEO-REQ/GEO-REQ.schema.docx
Binary file not shown.
Binary file modified csv_parser/out/GEO-REQ/GEO-REQ.uml_diagram.pdf
Binary file not shown.
Binary file modified csv_parser/out/GEO-RES/GEO-RES.schema.docx
Binary file not shown.
Binary file modified csv_parser/out/GEO-RES/GEO-RES.uml_diagram.pdf
Binary file not shown.
Binary file modified csv_parser/out/RC-EDA/RC-EDA.schema.docx
Binary file not shown.
Binary file modified csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion csv_parser/out/RC-REF/RC-REF.example.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"distributionID": "None",
"isRefused": "None",
"refused": "None",
"infoDistributionID": "None"
}
2 changes: 1 addition & 1 deletion csv_parser/out/RC-REF/RC-REF.input.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
,ID,Donnée (Niveau 1),Donnée (Niveau 2),Donnée (Niveau 3),Donnée (Niveau 4),Donnée (Niveau 5),Donnée (Niveau 6),Description,Exemples,Balise NexSIS,Nouvelle balise,Nantes - balise,Nantes - description,GT399,GT399 description,Priorisation,Cardinalité,Objet,Format (ou type),Nomenclature/ énumération,Détails de format,15-18,15-15
0,1,Identifiant du message référencé,,,,,,Identifiant unique du message référencé,,,distributionID,,,,,,1..1,,string,,,X,X
1,2,Indicateur de refus de message,,,,,,Indique si le message acquitté a été refusé,,,isRefused,,,,,,0..1,,boolean,,,X,X
1,2,Indicateur de refus de message,,,,,,Indique si le message acquitté a été refusé,,,refused,,,,,,0..1,,boolean,,,X,X
2,3,Identifiant du message d'erreur lié,,,,,,Identifiant unique du message d'erreur lié,,,infoDistributionID,,,,,,0..1,,string,,,X,X
Binary file modified csv_parser/out/RC-REF/RC-REF.schema.docx
Binary file not shown.
2 changes: 1 addition & 1 deletion csv_parser/out/RC-REF/RC-REF.uml_diagram
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ strict digraph {
<TR>
<TD ><B>reference</B></TD>
</TR>
<TR><TD BORDER="0"><I>objet reference</I></TD></TR><TR><TD BORDER="0" >distributionID <I>string</I> : [1..1] </TD></TR><TR><TD BORDER="0" >isRefused <I>boolean</I> : [0..1] </TD></TR><TR><TD BORDER="0" >infoDistributionID <I>string</I> : [0..1] </TD></TR>
<TR><TD BORDER="0"><I>objet reference</I></TD></TR><TR><TD BORDER="0" >distributionID <I>string</I> : [1..1] </TD></TR><TR><TD BORDER="0" >refused <I>boolean</I> : [0..1] </TD></TR><TR><TD BORDER="0" >infoDistributionID <I>string</I> : [0..1] </TD></TR>
</TABLE>>]
}
Binary file modified csv_parser/out/RC-REF/RC-REF.uml_diagram.pdf
Binary file not shown.
Binary file modified csv_parser/out/RS-EDA/RS-EDA.schema.docx
Binary file not shown.
Binary file modified csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf
Binary file not shown.
Binary file modified csv_parser/out/RS-ERROR/RS-ERROR.schema.docx
Binary file not shown.
Binary file modified csv_parser/out/RS-ERROR/RS-ERROR.uml_diagram.pdf
Binary file not shown.
Binary file modified csv_parser/out/RS-INFO/RS-INFO.schema.docx
Binary file not shown.
Binary file modified csv_parser/out/RS-INFO/RS-INFO.uml_diagram.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions csv_parser/out/hubsante.asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4397,12 +4397,12 @@ components:
description: "Identifiant unique du message r\xE9f\xE9renc\xE9"
examples:
- None
isRefused:
refused:
type: boolean
title: Indicateur de refus de message
x-health-only: false
x-cols: 6
example: example.json#/isRefused
example: example.json#/refused
description: "Indique si le message acquitt\xE9 a \xE9t\xE9 refus\xE9"
examples:
- None
Expand All @@ -4418,7 +4418,7 @@ components:
additionalProperties: false
examples:
- distributionID: None
isRefused: None
refused: None
infoDistributionID: None
casualties:
type: object
Expand Down
6 changes: 3 additions & 3 deletions generator/input/RC-REF.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ components:
description: "Identifiant unique du message r\xE9f\xE9renc\xE9"
examples:
- None
isRefused:
refused:
type: boolean
title: Indicateur de refus de message
x-health-only: false
x-cols: 6
example: example.json#/isRefused
example: example.json#/refused
description: "Indique si le message acquitt\xE9 a \xE9t\xE9 refus\xE9"
examples:
- None
Expand All @@ -47,5 +47,5 @@ components:
additionalProperties: false
examples:
- distributionID: None
isRefused: None
refused: None
infoDistributionID: None
2 changes: 1 addition & 1 deletion src/main/resources/json-schema/CustomContent.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "CustomContent.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "customContent",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json-schema/EMSI.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "EMSI.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "emsi",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json-schema/GEO-POS.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "GEO-POS.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "geoPositionUpdate",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json-schema/GEO-REQ.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "GEO-REQ.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "geoResourceRequest",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json-schema/GEO-RES.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "GEO-RES.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "geoResourceDetails",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json-schema/RC-EDA.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "RC-EDA.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "createCase",
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/json-schema/RC-REF.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "RC-REF.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "reference",
Expand All @@ -18,12 +18,12 @@
"example": "example.json#/distributionID",
"description": "Identifiant unique du message r\u00e9f\u00e9renc\u00e9"
},
"isRefused": {
"refused": {
"type": "boolean",
"title": "Indicateur de refus de message",
"x-health-only": false,
"x-cols": 6,
"example": "example.json#/isRefused",
"example": "example.json#/refused",
"description": "Indique si le message acquitt\u00e9 a \u00e9t\u00e9 refus\u00e9"
},
"infoDistributionID": {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json-schema/RS-EDA.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "RS-EDA.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "createCaseHealth",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json-schema/RS-ERROR.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "RS-ERROR.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "error",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/json-schema/RS-INFO.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "classpath:/json-schema/schema#",
"x-id": "RS-INFO.schema.json#",
"version": "24.03.20",
"version": "24.03.22",
"example": "example.json#",
"type": "object",
"title": "info",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/xsd/RC-REF.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<documentation>Identifiant unique du message référencé</documentation>
</annotation>
</element>
<element minOccurs="0" name="isRefused" type="boolean">
<element minOccurs="0" name="refused" type="boolean">
<annotation>
<documentation>Indique si le message acquitté a été refusé</documentation>
</annotation>
Expand Down

0 comments on commit 086205f

Please sign in to comment.