Skip to content

Commit

Permalink
Merge pull request #29 from pds-data-dictionaries/With-<software_avai…
Browse files Browse the repository at this point in the history
…lablility>-attribute

Add new `<software_availability>` attribute
  • Loading branch information
jordanpadams committed Nov 8, 2023
2 parents a2530a0 + e583d55 commit 24c42c5
Show file tree
Hide file tree
Showing 25 changed files with 4,982 additions and 4 deletions.
38 changes: 38 additions & 0 deletions logs/v1.17.0.0_execution_logs/lddtool_run_log_20231101154109.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

>> INFO LDDTOOL Version: 14.3.0
>> INFO IM Version Id: 1.17.0.0
>> INFO IM Namespace Id: pds
>> INFO IM Label Version Id: 1.23
>> INFO Date: Wed Nov 01 15:41:09 UTC 2023
>> INFO PARENT_DIR: /tmp/lddtool-14.3.0
>> INFO SCRIPT_DIR: /tmp/lddtool-14.3.0/bin
>> INFO LIB_DIR: /tmp/lddtool-14.3.0/lib

>>> INFO Init: - Config.Properties Namespace Id Found:proc
>>> INFO Init: - Config.Properties Namespace Id Using:proc
>>> INFO Init: - LDD Dictionary_Type is Discipline
>>> WARNING Attribute: <software_availability> - An attribute with the enumeration_flag = true must have at least one permissible value.

-- LDDTool Execution Summary --
1 warning(s)
0 error(s)
0 fatal error(s)

Input:

- IM Version: 1H00
- PDS4 Flag: true
- LDD Flag: true
- IM Version: true
- Export JSON Flag: true

- Ingest LDD(s): /home/runner/work/ldd-proc/ldd-proc/src/PDS4_PROC_IngestLDD.xml

Output:

- ./PDS4_PROC_1H00_1300.xsd
- ./PDS4_PROC_1H00_1300.sch
- ./PDS4_PROC_1H00_1300.xml
- ./export/JSON/PDS4_PDS_1H00.JSON

>> INFO Exit(0)
92 changes: 92 additions & 0 deletions logs/v1.17.0.0_execution_logs/validate_report_20231101154117.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@

PDS Validate Tool Report

Configuration:
Version 3.3.0
Date 2023-11-01T15:41:20Z

Parameters:
Targets [file:/home/runner/work/ldd-proc/ldd-proc/build/development/c18d184add8a6ea1f1af5feb5662bde7d89c1814/1.17.0.0/PDS4_PROC_1H00_1300.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_PubAvail.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_input.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_no-match.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_no-match2.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_OpenSource.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_output2.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_log.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_Proprietary.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_output.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lidvid_ref.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_not_avail.xml]
Rule Type pds4.label
User Specified Schemas [file:/home/runner/work/ldd-proc/ldd-proc/build/development/c18d184add8a6ea1f1af5feb5662bde7d89c1814/1.17.0.0/PDS4_PROC_1H00_1300.xsd, file:/tmp/PDS4_PDS_1H00.xsd]
User Specified Schematrons [file:/home/runner/work/ldd-proc/ldd-proc/build/development/c18d184add8a6ea1f1af5feb5662bde7d89c1814/1.17.0.0/PDS4_PROC_1H00_1300.sch, file:/tmp/PDS4_PDS_1H00.sch]
Severity Level WARNING
Recurse Directories true
File Filters Used [*.xml, *.XML]
Data Content Validation off
Product Level Validation on
Max Errors 100000
Registered Contexts File /tmp/validate-3.3.0/resources/registered_context_products.json



Product Level Validation Results

PASS: file:/home/runner/work/ldd-proc/ldd-proc/build/development/c18d184add8a6ea1f1af5feb5662bde7d89c1814/1.17.0.0/PDS4_PROC_1H00_1300.xml
1 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_PubAvail.xml
2 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref.xml
3 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_input.xml
4 product validation(s) completed

FAIL: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_no-match.xml
ERROR [error.label.schema] line 12, 67: cvc-id.1: There is no ID/IDREF binding for IDREF 'ID_0011'.
ERROR [error.label.local_identifier_not_found] line 78: Referenced Local Identifier 'ID_0011' does not exist in any of the local_identifier attributes in the label.
5 product validation(s) completed

FAIL: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_no-match2.xml
ERROR [error.label.schema] line 12, 87: cvc-id.1: There is no ID/IDREF binding for IDREF 'ID_0011'.
ERROR [error.label.local_identifier_not_found] line 92: Referenced Local Identifier 'ID_0011' does not exist in any of the local_identifier attributes in the label.
6 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_OpenSource.xml
7 product validation(s) completed

FAIL: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_output2.xml
ERROR [error.label.schematron] line 137, 58: The attribute proc:Parameter/proc:parameter_type must be equal to one of the following values 'Input', 'Log', 'Output'.
8 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_log.xml
9 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_Proprietary.xml
10 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_output.xml
11 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lidvid_ref.xml
12 product validation(s) completed

FAIL: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_not_avail.xml
ERROR [error.label.schematron] line 114, 53: PROC:error: The attribute proc:Software/proc:software_availability must be equal to one of the following values 'Unreleased', 'Proprietary', 'Open Source', 'Publically Available'.
13 product validation(s) completed

Summary:

6 error(s)
0 warning(s)

Product Validation Summary:
9 product(s) passed
4 product(s) failed
0 product(s) skipped

Referential Integrity Check Summary:
0 check(s) passed
0 check(s) failed
0 check(s) skipped

Message Types:
2 error.label.schematron
2 error.label.local_identifier_not_found
2 error.label.schema

End of Report
Completed execution in 11328 ms

38 changes: 38 additions & 0 deletions logs/v1.18.0.0_execution_logs/lddtool_run_log_20231101154104.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

>> INFO LDDTOOL Version: 14.3.0
>> INFO IM Version Id: 1.18.0.0
>> INFO IM Namespace Id: pds
>> INFO IM Label Version Id: 1.24
>> INFO Date: Wed Nov 01 15:41:04 UTC 2023
>> INFO PARENT_DIR: /tmp/lddtool-14.3.0
>> INFO SCRIPT_DIR: /tmp/lddtool-14.3.0/bin
>> INFO LIB_DIR: /tmp/lddtool-14.3.0/lib

>>> INFO Init: - Config.Properties Namespace Id Found:proc
>>> INFO Init: - Config.Properties Namespace Id Using:proc
>>> INFO Init: - LDD Dictionary_Type is Discipline
>>> WARNING Attribute: <software_availability> - An attribute with the enumeration_flag = true must have at least one permissible value.

-- LDDTool Execution Summary --
1 warning(s)
0 error(s)
0 fatal error(s)

Input:

- IM Version: 1I00
- PDS4 Flag: true
- LDD Flag: true
- IM Version: true
- Export JSON Flag: true

- Ingest LDD(s): /home/runner/work/ldd-proc/ldd-proc/src/PDS4_PROC_IngestLDD.xml

Output:

- ./PDS4_PROC_1I00_1300.xsd
- ./PDS4_PROC_1I00_1300.sch
- ./PDS4_PROC_1I00_1300.xml
- ./export/JSON/PDS4_PDS_1I00.JSON

>> INFO Exit(0)
92 changes: 92 additions & 0 deletions logs/v1.18.0.0_execution_logs/validate_report_20231101154111.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@

PDS Validate Tool Report

Configuration:
Version 3.3.0
Date 2023-11-01T15:41:13Z

Parameters:
Targets [file:/home/runner/work/ldd-proc/ldd-proc/build/development/c18d184add8a6ea1f1af5feb5662bde7d89c1814/1.18.0.0/PDS4_PROC_1I00_1300.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_PubAvail.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_input.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_no-match.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_no-match2.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_OpenSource.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_output2.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_log.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_Proprietary.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_output.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lidvid_ref.xml, file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_not_avail.xml]
Rule Type pds4.label
User Specified Schemas [file:/home/runner/work/ldd-proc/ldd-proc/build/development/c18d184add8a6ea1f1af5feb5662bde7d89c1814/1.18.0.0/PDS4_PROC_1I00_1300.xsd, file:/tmp/PDS4_PDS_1I00.xsd]
User Specified Schematrons [file:/home/runner/work/ldd-proc/ldd-proc/build/development/c18d184add8a6ea1f1af5feb5662bde7d89c1814/1.18.0.0/PDS4_PROC_1I00_1300.sch, file:/tmp/PDS4_PDS_1I00.sch]
Severity Level WARNING
Recurse Directories true
File Filters Used [*.xml, *.XML]
Data Content Validation off
Product Level Validation on
Max Errors 100000
Registered Contexts File /tmp/validate-3.3.0/resources/registered_context_products.json



Product Level Validation Results

PASS: file:/home/runner/work/ldd-proc/ldd-proc/build/development/c18d184add8a6ea1f1af5feb5662bde7d89c1814/1.18.0.0/PDS4_PROC_1I00_1300.xml
1 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_PubAvail.xml
2 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref.xml
3 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_input.xml
4 product validation(s) completed

FAIL: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_no-match.xml
ERROR [error.label.schema] line 12, 67: cvc-id.1: There is no ID/IDREF binding for IDREF 'ID_0011'.
ERROR [error.label.local_identifier_not_found] line 78: Referenced Local Identifier 'ID_0011' does not exist in any of the local_identifier attributes in the label.
5 product validation(s) completed

FAIL: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_no-match2.xml
ERROR [error.label.schema] line 12, 87: cvc-id.1: There is no ID/IDREF binding for IDREF 'ID_0011'.
ERROR [error.label.local_identifier_not_found] line 92: Referenced Local Identifier 'ID_0011' does not exist in any of the local_identifier attributes in the label.
6 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_OpenSource.xml
7 product validation(s) completed

FAIL: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_output2.xml
ERROR [error.label.schematron] line 137, 58: The attribute proc:Parameter/proc:parameter_type must be equal to one of the following values 'Input', 'Log', 'Output'.
8 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_log.xml
9 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_Proprietary.xml
10 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lid_ref_output.xml
11 product validation(s) completed

PASS: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_VALID_lidvid_ref.xml
12 product validation(s) completed

FAIL: file:/home/runner/work/ldd-proc/ldd-proc/test/Product_DelimitedTable_INVALID_lid_ref_not_avail.xml
ERROR [error.label.schematron] line 114, 53: PROC:error: The attribute proc:Software/proc:software_availability must be equal to one of the following values 'Unreleased', 'Proprietary', 'Open Source', 'Publically Available'.
13 product validation(s) completed

Summary:

6 error(s)
0 warning(s)

Product Validation Summary:
9 product(s) passed
4 product(s) failed
0 product(s) skipped

Referential Integrity Check Summary:
0 check(s) passed
0 check(s) failed
0 check(s) skipped

Message Types:
2 error.label.schematron
2 error.label.local_identifier_not_found
2 error.label.schema

End of Report
Completed execution in 8786 ms

38 changes: 38 additions & 0 deletions logs/v1.19.0.0_execution_logs/lddtool_run_log_20231101154057.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

>> INFO LDDTOOL Version: 14.3.0
>> INFO IM Version Id: 1.19.0.0
>> INFO IM Namespace Id: pds
>> INFO IM Label Version Id: 1.25
>> INFO Date: Wed Nov 01 15:40:58 UTC 2023
>> INFO PARENT_DIR: /tmp/lddtool-14.3.0
>> INFO SCRIPT_DIR: /tmp/lddtool-14.3.0/bin
>> INFO LIB_DIR: /tmp/lddtool-14.3.0/lib

>>> INFO Init: - Config.Properties Namespace Id Found:proc
>>> INFO Init: - Config.Properties Namespace Id Using:proc
>>> INFO Init: - LDD Dictionary_Type is Discipline
>>> WARNING Attribute: <software_availability> - An attribute with the enumeration_flag = true must have at least one permissible value.

-- LDDTool Execution Summary --
1 warning(s)
0 error(s)
0 fatal error(s)

Input:

- IM Version: 1J00
- PDS4 Flag: true
- LDD Flag: true
- IM Version: true
- Export JSON Flag: true

- Ingest LDD(s): /home/runner/work/ldd-proc/ldd-proc/src/PDS4_PROC_IngestLDD.xml

Output:

- ./PDS4_PROC_1J00_1300.xsd
- ./PDS4_PROC_1J00_1300.sch
- ./PDS4_PROC_1J00_1300.xml
- ./export/JSON/PDS4_PDS_1J00.JSON

>> INFO Exit(0)
Loading

0 comments on commit 24c42c5

Please sign in to comment.