From 433862cbe2414a9124c9bf9c720536b657aaebd0 Mon Sep 17 00:00:00 2001 From: pauls4GE Date: Tue, 2 Apr 2024 11:23:39 -0400 Subject: [PATCH] first push of all opgsn stuff --- .../autoGsn/AutoGSNDrillGoalView_copy.fxml | 232 ++++ .../autoGsn/AutoGsnUnifiedDrillGoalView.fxml | 109 +- .../research/rack/AutoGsnButtonHandler.java | 5 +- .../rack/BuildIngestionNodegroupsHandler.java | 3 + .../com/ge/research/rack/ClearAllHandler.java | 6 +- .../rack/IngestInstanceDataHandler.java | 273 +++-- .../research/rack/IngestTemplatesHandler.java | 3 + .../research/rack/JavaFXAppLaunchManager.java | 27 +- .../rack/LoadAssuranceCaseHandler.java | 1 + .../rack/ManifestSelectedPropertyTester.java | 2 +- .../QueryNodegroupsSelectViewHandler.java | 2 +- .../ge/research/rack/RunWorkflowHandler.java | 725 ------------ .../rack/UploadIngestionPackageHandler.java | 32 +- .../rack/UploadNodegroupsHandler.java | 11 +- .../com/ge/research/rack/arp4754/TestApp.java | 62 + .../arp4754/constants/ARP4754Queries.java | 74 ++ .../rack/arp4754/logic/ComplianceDAP.java | 108 ++ .../arp4754/logic/ComplianceProcess1.java | 161 +++ .../arp4754/logic/ComplianceProcess2.java | 358 ++++++ .../arp4754/logic/ComplianceProcess3.java | 51 + .../arp4754/logic/ComplianceProcess4.java | 179 +++ .../arp4754/logic/ComplianceProcess5.java | 51 + .../arp4754/logic/ComplianceProcess6.java | 51 + .../arp4754/logic/ComplianceProcess7.java | 51 + .../arp4754/logic/ComplianceProcess8.java | 51 + .../rack/arp4754/logic/ConfigReader.java | 208 ++++ .../rack/arp4754/logic/DataProcessor.java | 945 +++++++++++++++ .../structures/Category.java} | 53 +- .../arp4754/structures/Configuration.java | 221 ++++ .../rack/arp4754/structures/DAPlan.java | 881 ++++++++++++++ .../rack/arp4754/structures/Evidence.java | 326 ++++++ .../rack/arp4754/structures/GraphData.java | 82 ++ .../rack/arp4754/utils/ComplianceUtils.java | 114 ++ .../rack/arp4754/utils/DAPlanUtils.java | 201 ++++ .../arp4754/utils/DataProcessorUtils.java | 161 +++ .../rack/arp4754/utils/EvidenceUtils.java | 74 ++ .../rack/arp4754/utils/ViewUtils.java | 162 +++ .../arp4754/viewHandlers/MainViewHandler.java | 490 ++++++++ .../viewHandlers/ObjectiveViewHandler.java | 1038 +++++++++++++++++ .../viewHandlers/ProcessViewHandler.java | 323 +++++ .../viewManagers/Arp4754ViewsManager.java | 183 +++ .../autoGsn/helpers/GsnNode2DotPrinter.java | 11 +- .../helpers/GsnNode2VaderbiltGsnPrinter.java | 92 ++ .../rack/autoGsn/logic/DataProcessor.java | 21 +- .../autoGsn/logic/GsnPathInferenceEngine.java | 4 +- .../rack/autoGsn/structures/GsnNode.java | 10 + .../autoGsn/structures/MultiClassPackets.java | 10 +- .../rack/autoGsn/utils/AutoGsnGuiUtils.java | 4 +- .../rack/autoGsn/utils/CustomFileUtils.java | 18 + .../rack/autoGsn/utils/CustomStringUtils.java | 17 +- .../autoGsn/utils/OntologyJsonObjUtils.java | 15 +- .../autoGsn/utils/QueryGenerationUtils.java | 6 +- .../rack/autoGsn/utils/QueryResultUtils.java | 2 +- .../AutoGsnUnifiedDrillGoalViewHandler.java | 28 +- .../AutoGsnUnifiedMainViewHandler.java | 17 +- .../viewHandlers/GsnTreeViewHandler.java | 67 +- .../rack/{report => do178c}/Test_App.java | 20 +- .../constants/DO178CQueries.java} | 10 +- .../oem}/ComplianceTable1.java | 6 +- .../oem}/ComplianceTable2.java | 6 +- .../oem}/ComplianceTable3.java | 6 +- .../oem}/ComplianceTable4.java | 6 +- .../rack/do178c/oem/ComplianceTable5.java | 126 ++ .../oem}/ComplianceTable7.java | 10 +- .../oem/DataProcessor.java} | 312 ++++- .../structures/Analysis.java | 19 +- .../structures/DataItem.java | 2 +- .../structures/Engineer.java | 21 +- .../{report => do178c}/structures/Hazard.java | 21 +- .../structures/PsacNode.java | 34 +- .../structures/ReportNode.java | 2 +- .../structures/Requirement.java | 18 +- .../{report => do178c}/structures/Review.java | 18 +- .../structures/ReviewLog.java | 21 +- .../structures/SparqlConnectionInfo.java | 2 +- .../rack/do178c/structures/SwComponent.java | 142 +++ .../{report => do178c}/structures/Test.java | 18 +- .../{report => do178c}/utils/LogicUtils.java | 62 +- .../utils/PsacNodeUtils.java | 4 +- .../utils/RackQueryUtils.java | 98 +- .../utils/ReportNodeUtils.java | 10 +- .../rack/do178c/utils/ReportViewUtils.java | 248 ++++ .../ReportMainViewHandlerNew.java | 76 +- .../ReportObjectiveViewHandlerNew.java | 619 ++++++++-- .../ReportTableViewHandlerNew.java | 77 +- .../viewManagers/ReportViewsManager.java | 19 +- .../com/ge/research/rack/opgsn/TestApp.java | 77 ++ .../rack/opgsn/constants/PrefixedQueries.java | 65 ++ .../rack/opgsn/logic/DataProcessor.java | 589 ++++++++++ .../rack/opgsn/logic/OPTreeToGSN.java | 455 ++++++++ .../rack/opgsn/structures/OPTree.java | 228 ++++ .../rack/opgsn/utils/OPTreeUtils.java | 92 ++ .../viewHandlers/OPGSNNavigatorHandler.java | 688 +++++++++++ .../opgsn/viewManagers/OPGSNViewManager.java | 192 +++ .../rack/report/utils/ReportViewUtils.java | 292 ----- .../research/rack/utils/ErrorMessageUtil.java | 206 ---- .../rack/utils/IngestionTemplateUtil.java | 2 +- .../ge/research/rack/utils/NodegroupUtil.java | 12 +- .../ge/research/rack/utils/OntologyUtil.java | 6 +- .../com/ge/research/rack/utils/OwlUtil.java | 182 +-- .../ge/research/rack/utils/ProjectUtils.java | 18 +- .../ge/research/rack/utils/RackConsole.java | 7 +- .../RackManifestIngestionBuilderUtil.java | 2 +- .../rack/views/AssuranceCaseTree.java | 8 +- .../rack/views/IngestionNodegroups.java | 51 +- .../rack/views/NodegroupColumnView.java | 182 +-- .../rack/views/NodegroupTemplateView.java | 165 +-- .../research/rack/views/NodegroupsView.java | 167 +-- .../research/rack/views/OntologyTreeView.java | 9 +- .../research/rack/views/OtherNodegroups.java | 51 +- .../research/rack/views/QueryResultsView.java | 1 + .../rack/views/RackPreferencePage.java | 44 +- .../com/ge/research/rack/views/RibView.java | 2 +- .../rack/views/SelectDataGraphsDialog.java | 17 +- .../ge/research/rack/views/SessionView.java | 565 --------- 115 files changed, 11942 insertions(+), 2878 deletions(-) create mode 100644 tools/rack/rack.plugin/resources/fxml/autoGsn/AutoGSNDrillGoalView_copy.fxml delete mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/RunWorkflowHandler.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/TestApp.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/constants/ARP4754Queries.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ComplianceDAP.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ComplianceProcess1.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ComplianceProcess2.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ComplianceProcess3.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ComplianceProcess4.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ComplianceProcess5.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ComplianceProcess6.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ComplianceProcess7.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ComplianceProcess8.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/ConfigReader.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/logic/DataProcessor.java rename tools/rack/rack.plugin/src/com/ge/research/rack/{report/structures/SwComponent.java => arp4754/structures/Category.java} (70%) create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/structures/Configuration.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/structures/DAPlan.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/structures/Evidence.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/structures/GraphData.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/utils/ComplianceUtils.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/utils/DAPlanUtils.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/utils/DataProcessorUtils.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/utils/EvidenceUtils.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/utils/ViewUtils.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/viewHandlers/MainViewHandler.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/viewHandlers/ObjectiveViewHandler.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/viewHandlers/ProcessViewHandler.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/arp4754/viewManagers/Arp4754ViewsManager.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/autoGsn/helpers/GsnNode2VaderbiltGsnPrinter.java rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/Test_App.java (83%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report/constants/PsacQueriesBoeing.java => do178c/constants/DO178CQueries.java} (93%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report/boeingPsac => do178c/oem}/ComplianceTable1.java (96%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report/boeingPsac => do178c/oem}/ComplianceTable2.java (98%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report/boeingPsac => do178c/oem}/ComplianceTable3.java (96%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report/boeingPsac => do178c/oem}/ComplianceTable4.java (97%) create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/do178c/oem/ComplianceTable5.java rename tools/rack/rack.plugin/src/com/ge/research/rack/{report/boeingPsac => do178c/oem}/ComplianceTable7.java (98%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report/boeingPsac/PsacDataProcessorBoeing.java => do178c/oem/DataProcessor.java} (87%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/Analysis.java (91%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/DataItem.java (98%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/Engineer.java (81%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/Hazard.java (82%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/PsacNode.java (94%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/ReportNode.java (99%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/Requirement.java (91%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/Review.java (91%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/ReviewLog.java (86%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/SparqlConnectionInfo.java (98%) create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/do178c/structures/SwComponent.java rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/structures/Test.java (89%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/utils/LogicUtils.java (87%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/utils/PsacNodeUtils.java (98%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/utils/RackQueryUtils.java (88%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/utils/ReportNodeUtils.java (96%) create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/do178c/utils/ReportViewUtils.java rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/viewHandlers/ReportMainViewHandlerNew.java (86%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/viewHandlers/ReportObjectiveViewHandlerNew.java (64%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/viewHandlers/ReportTableViewHandlerNew.java (80%) rename tools/rack/rack.plugin/src/com/ge/research/rack/{report => do178c}/viewManagers/ReportViewsManager.java (93%) create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/opgsn/TestApp.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/opgsn/constants/PrefixedQueries.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/opgsn/logic/DataProcessor.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/opgsn/logic/OPTreeToGSN.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/opgsn/structures/OPTree.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/opgsn/utils/OPTreeUtils.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/opgsn/viewHandlers/OPGSNNavigatorHandler.java create mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/opgsn/viewManagers/OPGSNViewManager.java delete mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/report/utils/ReportViewUtils.java delete mode 100644 tools/rack/rack.plugin/src/com/ge/research/rack/views/SessionView.java diff --git a/tools/rack/rack.plugin/resources/fxml/autoGsn/AutoGSNDrillGoalView_copy.fxml b/tools/rack/rack.plugin/resources/fxml/autoGsn/AutoGSNDrillGoalView_copy.fxml new file mode 100644 index 00000000..98664dad --- /dev/null +++ b/tools/rack/rack.plugin/resources/fxml/autoGsn/AutoGSNDrillGoalView_copy.fxml @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +