-
Notifications
You must be signed in to change notification settings - Fork 5
Backend to engine #136
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
Merged
Merged
Backend to engine #136
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
c64d052
WIP: ECDAR reference added, dependency section updated, and spelling …
Nielswps d20a900
WIP: Backend replaced with Engine to be consistent with naming
Nielswps 0521d58
WIP: Engine Configuration enriched
Nielswps 5541728
Contributing section added and code snippets updated to be executable…
Nielswps 61b8963
Rename branched out from readme_update
Nielswps fc990cd
File used on other branch
Nielswps 2a70993
WIP: ECDAR reference added, dependency section updated, and spelling …
Nielswps dc5c07d
WIP: Backend replaced with Engine to be consistent with naming
Nielswps 62eb03d
Contributing section added and code snippets updated to be executable…
Nielswps ab6422f
File used on other branch
Nielswps 764e7e1
Rebased with main
Nielswps afccbc2
WIP: Backend replaced with Engine to be consistent with naming
Nielswps 848d83e
WIP: Engine Configuration enriched
Nielswps fbd3b17
File used on other branch
Nielswps 36c2070
Merge branch 'backend_to_engine' of github.com:Nielswps/Ecdar-GUI int…
Nielswps 8143573
Line about the deprecated mutation package added
Nielswps 2aef3a3
Merged with main
Nielswps e78ad50
Update src/main/java/ecdar/abstractions/Query.java
Nielswps d85703e
WIP: Review changes (part 1/2)
Nielswps a2df214
Update src/main/java/ecdar/backend/BackendHelper.java
Nielswps c5b4c42
Merge branch 'backend_to_engine' of github.com:Nielswps/Ecdar-GUI int…
Nielswps f047d48
WIP: Review changes (part 2/2)
Nielswps c3301cb
startedEngineConnections filtering added to only account for ports of…
Nielswps 56287c2
Found some more strings and vars to update
Nielswps 1358d72
Review suggestions implemented
Nielswps File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,6 @@ | |
| "isPeriodic": false, | ||
| "ignoredInputs": {}, | ||
| "ignoredOutputs": {}, | ||
| "backend": "Reveaal" | ||
| "engine": "Reveaal" | ||
| } | ||
| ] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I am not entirely sure but is
engineLocationa path to a executable?Maybe we should do some validation on this argument eg. checking if the location points to an executable file.
Also, I think that the engine location maybe should be stored as a File and then
getEngineLocationcould return the absolute path to the file.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
engineLocationcan refer to both an executable and a remote IP address. The validation you suggest is done when the engine is constructed through the GUI (as this allows for error messages to be displayed at an appropriate time and node)We basically assume that the location is valid at the time we get here, as it is stored as a string within the local preferences. Maybe adding some validation here could be a good idea if we start adding engines through other workflows, but the current setup makes it extraneous.