-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
178 link from system modeller UI to domain model docs #211
178 link from system modeller UI to domain model docs #211
Conversation
…or a domain model entity
…cific ControlStrategy needs to first determine its parent type
src/main/java/uk/ac/soton/itinnovation/security/systemmodeller/rest/ModelController.java
Fixed
Show fixed
Hide fixed
src/main/java/uk/ac/soton/itinnovation/security/systemmodeller/rest/ModelController.java
Fixed
Show fixed
Hide fixed
src/main/java/uk/ac/soton/itinnovation/security/systemmodeller/rest/ModelController.java
Fixed
Show fixed
Hide fixed
…T for CI pipeline
https://github.com/SPYDERISK/system-modeller into 178-link-from-system-modeller-ui-to-domain-model-docs
I had a thought, as I was testing. If the user is browsing a system model that has been imported, and uses a different system model, I presume the doc link should be wrt that version, rather than simply the installed domain model version. @mike1813 - do you agree? |
After today's discussion, @mike1813 generally agreed. This at least ensures that the GUI links through the to the correct domain concept (doc page), wrt the "validated" system model. However, we still have an invalid system model (i.e. validated with a different version than what is currently installed, so @mike1813 suggested perhaps an additional warning to the user, prior to being redirected to the doc page. |
…del-docs # Conflicts: # src/main/java/uk/ac/soton/itinnovation/security/systemmodeller/semantics/ModelObjectsHelper.java
…Also removed redundant version
…n domain model versions
@mike1813 - I've implemented a pop-up warning, as discussed (see below). Do you think the wording is clear? |
We agreed that @panositi would do some functional testing of this branch, and that @danshearer would have a look through the code changes. Any questions, let me know.. |
@mike1813 suggested a small improvement to the wording in the pop-up. Now looks like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality tested and appears to work correctly.
@kenmeacham sorry for being slow. The code changes look ok to me. A detail: Sonar is complaining about commented-out log lines. That's usually better done by using a log level instead. |
@kenmeacham I accidentally closed this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks fine to me -- but I am not familiar with every part of the Spyderisk codebase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good as per group chat this morning
…del-docs # Conflicts: # src/main/java/uk/ac/soton/itinnovation/security/systemmodeller/semantics/ModelObjectsHelper.java
|
No description provided.