-
Notifications
You must be signed in to change notification settings - Fork 8
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
(WIP) Enabling of Knowledge Layer #50
base: main
Are you sure you want to change the base?
Conversation
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.
Hi @claireqiu, thinking to the future it would be good to get a little more information into the commit messages. "add files" forces someone to look into the commit itself to find the nature of the change.
Something like "json-rdf-connector: add data struct and utils headers" or "add data struct and utils headers to json-rdf-connector" would be more informative.
Update: I notice there is good information in the PR comment.
Great to see this work becoming public and new functionality being added to the Playground itself. When we first discussed the Knowledge Layer Connector in the May 21st call I remember that we debated whether the Information Layer part should be parallel to the Knowledge Layer part or under it. One point of concern was that in parallel it might be interpreted as an abstraction layer and that whilst it can do that, it would have potentially high performance consequences for latency, high frequency data and ability to access advanced DB queries. To be honest I do not recall and it is not recorded in the minutes if we came to a conclusion. I do recall saying that one possible approach would be to keep it as presented here and be careful in documenting the circumstances for its use. Also that we might not limit ourselves to it whilst developing the connector as performance was an attribute we were interested in. So what am I saying? I think we need to be clear on how we are approaching this and the planning should reflect it. |
I understand what you mean. One disadvantage of a structure like this But yes, I agree, we should be clear about how we want to do it.... |
Agreed. I think you would do something like that if you were communicating that at the current state of development it is specified for the demands of the knowledge layer connector. Moving it later as it evolves. However as you go onto say that might confuse people who would like to use it for other purposes. I understand that point. Also of course in terms of having a workaround for the fact that Realm is an Embedded Application Database normally bound into a specific application.
I think for me it is a possible communications issue around explaining the playground and avoidance of people grossly under utilising the tool-set. I think it's great that this PR already contains some documentation. If I'm someone from one of the COVESA BoFs what do I understand about data access in the Playground in reading this? Of course a balance in doc needs to be struck. We are not a supplier and people need to put some effort in. I've not thought about it deeply, but one approach could be a large info box at the top putting the rest of the doc in context. This was developed for X,Y, Z requirements, if your requirements are different then you may consider using other means such as directly accessing a component. Does that make sense? |
443a609
to
2407bf3
Compare
Signed-off-by: chrizmc <[email protected]>
…lmdb-handler including some resdme updates Signed-off-by: Christian Muehlbauer <[email protected]>
Signed-off-by: haonan-qiu <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Christian Muehlbauer <[email protected]>
Signed-off-by: Christian Muehlbauer <[email protected]>
2407bf3
to
0da163a
Compare
Signed-off-by: Christian Muehlbauer <[email protected]>
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.
It is not a requirement for merging but for the actual code modules you might consider adding SPDX information in a header to allow automation of license handling.
Here is an example: https://github.com/slawr/cdsp/blob/iotdb-udf-grafana/docker/iotdb/Dockerfile
Use dotenv package to laod environment variables from a .env file into the process.env Rename files and update code Remove unused file Signed-off-by: Christian Muehlbauer <[email protected]>
We will have a look into SPDX, thank's for the hint. |
Signed-off-by: Christian Muehlbauer <[email protected]>
Add git ignore for the docker generated files Add Read method to IoTDBHandler Rename Data Type Object Apply format and remove invalid comment Optimize code to standarize the response between handlers. Repair documentation for the project configuration Add anonym data Manage Sessions Add Write method add client message data to IoTDB Signed-off-by: Christian Muehlbauer <[email protected]>
Return messages to all clients when write in IoTDB Update IoTDB supported fields and documentation Update read dependencies and send error to clients Add read messaging in RealmDB Resolve Ajv warining about fields with multiple types Add subcribe message handling Remove unused import Repair findings Signed-off-by: Christian Muehlbauer <[email protected]>
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.
Some initial review comments
cdsp/information-layer/README.md
Outdated
@@ -11,21 +11,24 @@ Setting up an information layer in the CDSP involves running a [Database-Router] | |||
|
|||
Please follow installation instructions of the chosen [handler](./handlers/). | |||
|
|||
## [Installation of Database-Router](./router/README.md#Install) | |||
## Installation of Database-Router | |||
See [hier](./router/README.md#Install) how to install the Database-Router. |
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.
'hier' should be 'here'?
cdsp/information-layer/README.md
Outdated
|
||
## Look out for the Websocket Server message in the console | ||
If you are running the RealmDB handler and you change the value of `Vehicle_Cabin_HVAC_AmbientAirTemperature` in ATLAS cloud (let's say `23`), you should immediately see this line in console: | ||
If you the handler is running and you are subscribed to that element, when you change the value of `CurrentLocation_Longitude` in ATLAS cloud (let's say `-157845.68200000003`), you should immediately see this line in console: |
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.
'If you the handler'?
Signed-off-by: Sebastian Schleemilch <[email protected]>
Fix: Remove extra 'dot' from endpoint into update message. Fix unknown function issue Signed-off-by: Sebastian Schleemilch <[email protected]>
- Update Readme documentation - Add write operation to RealmDB - Repair error writing data and send message to clients correctly - Refactory: rename database parameters file - Refactoring: use variable naming convention - Subscribe Databases Signed-off-by: Sebastian Schleemilch <[email protected]>
- Subscribe Databases - Refactoring: use variable naming convention - Refactory: rename database parameters file - Repair error writing data and send message to clients correctly - Add write operation to RealmDB - Update Readme documentation - catch all exceptions - extract similar code to handler.js - remove unused function - commit changes - added comment Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Andre Wendel <[email protected]>
…es to configure database and element types. • [FIXES]: • Realm Handler: Messaging during document edits will now be sent only to subscribed clients. • Console Logging: Previously, it was difficult to differentiate between messages (errors, logs, client messages) in the console. This has been addressed by including a logger that manages message styles and types. Signed-off-by: Andre Wendel <[email protected]>
Signed-off-by: Andre Wendel <[email protected]>
f259088
to
c8ef06d
Compare
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Andre Wendel <[email protected]>
- Update documentation and remove unused code. - Start the websocket client and update docuentation - Working synchronous calls - First running implementation of websocket_client Signed-off-by: Andre Wendel <[email protected]>
- Add README to add new data source in the information layer Signed-off-by: Andre Wendel <[email protected]>
…connection. Signed-off-by: Andre Wendel <[email protected]>
635ceac
to
7f1ae37
Compare
Implement functionality to read, validate, and integrate vehicle data points from a configuration file into the knowledge layer, ensuring only supported signals are processed by the system. Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Christian Muehlbauer <[email protected]>
Add helper documentation to system methods and remove outdated README. Fix read message containing data points. Merge remote-tracking branch 'origin/feature/enabling-of-knowledgelay Signed-off-by: Christian Muehlbauer <[email protected]>
Remove unused code Merge remote-tracking branch 'origin/feature/enabling-of-knowledgelay… Add missing include to data_types header Update readmes Update readme Fix typo with correct RDFox licence file. Signed-off-by: Christian Muehlbauer <[email protected]>
Establish Connection to RDFox REST API Data Store Management Data Loading in Turtle Format SPARQL Query Execution Error Handling Unit and Integration Tests Documentation Updates Signed-off-by: Haonan Qiu <[email protected]>
Signed-off-by: Sebastian Schleemilch <[email protected]>
Signed-off-by: Andre Wendel <[email protected]>
Signed-off-by: Christian Muehlbauer <[email protected]>
This PR is intended to commit the first basic components that enable a knowledge layer in the CDSP