Comments (4)
There some minor problems with this pull request.
- the description field should be added to the behavior class and removed in inheriting classes.
- Behavior.impairedBehaviors should use the impairs relationship instead of impairedBy IRI.
Refactoring of code using the old model:
- in FailureModesTableRepositoryService.computeTableRows line 144, there is a question regarding mitigation. The mitigation is a behavior which impairs the failure mode. For now select those behaviors that impair the failure mode and are of the mitigation type.
- FaultTreeRepositoryService.transferBehaviorToFaultEvent - the required behaviors of the input behavior are assigned to the newly created failureMode. This is not correct if the behavior is a function. In this case the function's requirements should not be added as requirements to the newly created failure mode.
- FunctionRepositoryService.deleteFunction(URI functionUri, URI dependentBehaviorUri) - refactor/rename this method and the second parameter to FunctionRepositoryService.deleteRequiredBehavior(URI functionUri, URI requiredFunction).
Some code is not code is not compilable due chnages in the model. Resolve compilation errors in:
- FaultEventRepositoryServiceTest.addFailureMode_shouldSetData_shouldUpdateEvent
- FaultEventRepositoryServiceTest.deleteFailureMode_shouldRemoveFromEventFromFailureModeEffects
from fta-fmea.
"Behavior.impairedBehaviors should use the impairs relationship instead of impairedBy IRI."
I coded that from the other direction -> that means for example: Function is impaired by FailureMode and not FailureMode impairs Function. But i can rewrite it, theres no problem with that.
from fta-fmea.
Regarding the Behavior.impairedBehaviors IRI
The issue was that the label of the field was inconsistent with the mapped IRI. Now the naming convention is ok. For reference, the correct association with field names and IRIs is:
- "impairedBehaviors" with IRI "impairs" and
- "impairingBehavoirs" with "impairedBy".
from fta-fmea.
I found some additional issues with this pull request.
Fix Naming Convention
- accessor methods of Beavior.manifestations field - refactor/rename the accessor methods from add/removeManifestationBehavior to either add/removeManifestation to consistent with the getter and setter methods of the field.
Fix the Event-Behavior Relationship
- add behavior field to the Event class. This is necessary because both sides of the relationships are used in the code.
- revize usage of both sides of the event-behavior relationship. Make sure that setting the relationship is done on the side of the Event as it has one reference to a behavior.
- Implement the setter method of the behavior in the Event class to update the other side of the relationship, i.e. the Behavior.manifestations field.
from fta-fmea.
Related Issues (11)
- Implement functional dependencies
- Make two deployments HOT 7
- Change representation of FailureMode.failureModeType values
- Generate Fault Tree Model based on the functional dependencies (FD) network HOT 1
- Use Springboot in the Dockerfile
- Fix annotation source property in AbstractEntity
- Expand FMEA Mitigation edit form
- Issues when trying to run project locally
- Upgrade JOPA to latest version
- Extend the JOPA model: Add situations and other necessary classes and relations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fta-fmea.