Skip to content

Commit

Permalink
adding respec
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragos0000 committed Feb 26, 2024
1 parent e3a7827 commit c43f0c7
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/transform_with_model2owl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: get model2owl
run: |
git clone --branch 2.2.0 https://github.com/OP-TED/model2owl.git
git clone --branch feature/SM15-67 https://github.com/OP-TED/model2owl.git
pwd
- name: get-saxon
Expand All @@ -46,19 +46,25 @@ jobs:
OUTPUT_CONVENTION_REPORT_PATH=$(echo "implementation/$implementation/conventions_report/")
OUTPUT_GLOSSARY_FILE_NAME=$(echo "${implementation}_glossary.html")
OUTPUT_RESPEC_REPORT_PATH=$(echo "implementation/$implementation/respec_report/")
ls -la implementation/$implementation/xmi_conceptual_model/
echo "CM_FILE_PATH is $CM_FILE_PATH"
echo "OUTPUT_REPORT_PATH is $OUTPUT_CONVENTION_REPORT_PATH"
echo "OUTPUT_GLOSSARY_FILE_NAME is $OUTPUT_GLOSSARY_FILE_NAME"
mkdir -p $OUTPUT_CONVENTION_REPORT_PATH
mkdir -p $OUTPUT_RESPEC_REPORT_PATH
rm -f $OUTPUT_CONVENTION_REPORT_PATH*.html || true
rm -f $OUTPUT_RESPEC_REPORT_PATH*.html || true
ls -la
cd model2owl
ls -la
make generate-convention-report XMI_INPUT_FILE_PATH=../$CM_FILE_PATH OUTPUT_CONVENTION_REPORT_PATH=../$OUTPUT_CONVENTION_REPORT_PATH
make generate-glossary XMI_INPUT_FILE_PATH=../$CM_FILE_PATH OUTPUT_GLOSSARY_PATH=../$OUTPUT_GLOSSARY_PATH
make respec-json XMI_INPUT_FILE_PATH=../$CM_FILE_PATH OUTPUT_FOLDER_PATH=.
make generate-respec RESPEC_INPUT_JSON_PATH=${implementation}_CM_respec.json RESPEC_OUTPUT_FILE_PATH=../$OUTPUT_RESPEC_REPORT_PATH${implementation}_respec.html
sed -i "s/..\/implementation\/${implementation}\/model2owl-config/test\/ePO-default-config/g" config-proxy.xsl
cd ..
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,13 @@
<xsl:variable name="createdDate" select="'2021-06-01'"/>
<!-- dct:publisher-->
<xsl:variable name="publisher" select="'http://publications.europa.eu/resource/authority/corporate-body/PUBL'"/>
<!-- _______________________________________________________________________ -->
<!-- RESPEC SECTION -->
<!-- _______________________________________________________________________ -->

<xsl:variable name="githubURL" select="'https://github.com/meaningfy-ws/eurovoc-pipelines'"/>
<xsl:variable name="respecDescription" select="'The purpose of a currency Application Profile is to provide a structured knowledge model for concepts associated with currencies and their subunits.'"/>
<xsl:variable name="feedbackURL" select="fn:concat($githubURL, '/issues')"/>
<xsl:variable name="authors" select="('Author One', 'Author Two')"/>
<xsl:variable name="editors" select="('Editor One', 'Editor Two')"/>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,13 @@
<xsl:variable name="createdDate" select="'2021-06-01'"/>
<!-- dct:publisher-->
<xsl:variable name="publisher" select="'http://publications.europa.eu/resource/authority/corporate-body/PUBL'"/>
<!-- _______________________________________________________________________ -->
<!-- RESPEC SECTION -->
<!-- _______________________________________________________________________ -->

<xsl:variable name="githubURL" select="'https://github.com/meaningfy-ws/eurovoc-pipelines'"/>
<xsl:variable name="respecDescription" select="'The purpose of a currency Application Profile is to provide a structured knowledge model for concepts associated with currencies and their subunits.'"/>
<xsl:variable name="feedbackURL" select="fn:concat($githubURL, '/issues')"/>
<xsl:variable name="authors" select="('Author One', 'Author Two')"/>
<xsl:variable name="editors" select="('Editor One', 'Editor Two')"/>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,13 @@
<xsl:variable name="createdDate" select="'2021-06-01'"/>
<!-- dct:publisher-->
<xsl:variable name="publisher" select="'http://publications.europa.eu/resource/authority/corporate-body/PUBL'"/>
<!-- _______________________________________________________________________ -->
<!-- RESPEC SECTION -->
<!-- _______________________________________________________________________ -->

<xsl:variable name="githubURL" select="'https://github.com/meaningfy-ws/eurovoc-pipelines'"/>
<xsl:variable name="respecDescription" select="'The purpose of a currency Application Profile is to provide a structured knowledge model for concepts associated with currencies and their subunits.'"/>
<xsl:variable name="feedbackURL" select="fn:concat($githubURL, '/issues')"/>
<xsl:variable name="authors" select="('Author One', 'Author Two')"/>
<xsl:variable name="editors" select="('Editor One', 'Editor Two')"/>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,13 @@
<xsl:variable name="createdDate" select="'2021-06-01'"/>
<!-- dct:publisher-->
<xsl:variable name="publisher" select="'http://publications.europa.eu/resource/authority/corporate-body/PUBL'"/>
<!-- _______________________________________________________________________ -->
<!-- RESPEC SECTION -->
<!-- _______________________________________________________________________ -->

<xsl:variable name="githubURL" select="'https://github.com/meaningfy-ws/eurovoc-pipelines'"/>
<xsl:variable name="respecDescription" select="'The purpose of a currency Application Profile is to provide a structured knowledge model for concepts associated with currencies and their subunits.'"/>
<xsl:variable name="feedbackURL" select="fn:concat($githubURL, '/issues')"/>
<xsl:variable name="authors" select="('Author One', 'Author Two')"/>
<xsl:variable name="editors" select="('Editor One', 'Editor Two')"/>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,13 @@
<xsl:variable name="createdDate" select="'2021-06-01'"/>
<!-- dct:publisher-->
<xsl:variable name="publisher" select="'http://publications.europa.eu/resource/authority/corporate-body/PUBL'"/>
<!-- _______________________________________________________________________ -->
<!-- RESPEC SECTION -->
<!-- _______________________________________________________________________ -->

<xsl:variable name="githubURL" select="'https://github.com/meaningfy-ws/eurovoc-pipelines'"/>
<xsl:variable name="respecDescription" select="'The purpose of a currency Application Profile is to provide a structured knowledge model for concepts associated with currencies and their subunits.'"/>
<xsl:variable name="feedbackURL" select="fn:concat($githubURL, '/issues')"/>
<xsl:variable name="authors" select="('Author One', 'Author Two')"/>
<xsl:variable name="editors" select="('Editor One', 'Editor Two')"/>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="windows-1252"?>
<xmi:XMI xmlns:uml="http://www.omg.org/spec/UML/20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:umldi="http://www.omg.org/spec/UML/20131001/UMLDI" xmlns:dc="http://www.omg.org/spec/UML/20131001/UMLDC">
<xmi:Documentation exporter="Enterprise Architect" exporterVersion="6.5" exporterID="1560"/>
<xmi:Documentation exporter="Enterprise Architect" exporterVersion="6.5" exporterID="1560"/>
<uml:Model xmi:type="uml:Model" name="EA_Model">
<packagedElement xmi:type="uml:Package" xmi:id="EAPK_9E11E05B_A9EF_42e6_821A_03025BCA3DF0" name="site">
<packagedElement xmi:type="uml:Enumeration" xmi:id="EAID_50C36F80_7E25_4917_9C75_88671A27D84D" name="at-voc:address-type"/>
Expand Down

0 comments on commit c43f0c7

Please sign in to comment.