-
Notifications
You must be signed in to change notification settings - Fork 57
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
Feature/656 device model initialization in cpp #681
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
dd4b760
Add files and start working on init device model in c++ instead of py…
maaikez aedf06f
Add function to add components and its properties etc to the database.
maaikez b08d964
Make more structs from json data.
maaikez 0f03258
Implement all to_json funcitons. Start with the 'insert config' funct…
maaikez 4d9c8b9
Implement 'insert variable' and default values.
maaikez a0a9753
Some changes to cmakelists to add the schemas to the correct location…
maaikez bf75238
SQL: Add 'NOT NULL' constraints to foreign keys and 'ON DELETE' const…
maaikez 743b803
Change some structs for already existing structs. Add functions to ch…
maaikez 66932c3
For Connector and / or EVSE Component: change characteristics and att…
maaikez 5348678
Create test for init device model db class. Add flag to database open…
maaikez 09207cf
Add doxygen documentation. Solme reshuffling of functions. Uncomment …
maaikez 472b247
Add value source to Variable Attribute in database. Change interfaces…
maaikez 7403144
Merge branch 'main' into feature/656-device-model-initialization-in-cpp
maaikez d9b5b0e
Fix build and warnings from buildserver
maaikez 29b33a0
Add exception and throw that specific exception from class. Change so…
maaikez dbe1291
Fix unit tests and paths. Update unit test device model database.
maaikez b2354f5
Get device model from database and check integrity of config file. Ad…
maaikez a7e1fd5
Clangformat. Fix failing smart charging unittest.
maaikez 99f6e14
Add some documentation.
maaikez e5a500c
Make cmake for device model migrations work. Do another todo (add war…
maaikez 484aa3f
Remove unnecessary todo's
maaikez 7645b2e
Restrict removeing monitor config type if there is a variable monitor…
maaikez 8b52ae4
Add some documentation to the unittests.
maaikez e17c704
Removed some todo's and outcommented code. Removed python script that…
maaikez 1fcf825
Split function so it is hopefully more readable.
maaikez 2db7648
Review comments: readable error when database is old and does not sup…
maaikez 654a121
Review comments
maaikez d968c11
Remove values from config that should not be set. Do not warn if a de…
maaikez 6fd006d
Change check_config_integrity so it returns a vector of strings with …
maaikez 048bcf5
Add default value for AvailabilityState so it will not throw an error…
maaikez a85d9cd
Review comments
maaikez 1fc6fed
Fix some warnings. Remove constructor from device model storage sqlit…
maaikez a67abf4
Merge main into feature branch
maaikez 2f424dc
Fix update config where there is no default source set.
maaikez 85e90cb
Move check for old database to a place before the migrations, as it d…
maaikez 7697e88
Update config/v201/CMakeLists.txt
Pietfried 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 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 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 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 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 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.
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.
Just wondering why these variables were removed?
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.
They have been removed because they are not configuration but telemetry variables, so there is no reason to have them in the config.