Skip to content
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

Start populating docker-compose for the 201 demo #19

Merged
merged 12 commits into from
Mar 7, 2024

Conversation

shankari
Copy link
Collaborator

@shankari shankari commented Mar 6, 2024

This is currently largely a copy of the 16J docker compose except it is running the 201 SIL instead of the 1.6J SIL. The ocppCsmsUrl is set incorrectly, so it will not be able to connect to anything but seems to start up fine otherwise.

@shankari
Copy link
Collaborator Author

shankari commented Mar 6, 2024

@jhoshiko for visibility

shankari and others added 8 commits March 6, 2024 22:06
This is currently largely a copy of the 16J docker compose except it is running
the 201 SIL instead of the 1.6J SIL. The `ocppCsmsUrl` is set incorrectly, so
it will not be able to connect to anything but seems to start up fine otherwise.

Signed-off-by: Shankari <[email protected]>
Copied directly from libocpp with no changes.

Signed-off-by: Shankari <[email protected]>
Instead of localhost
Since we don't have all the services in a single Dockerfile

Signed-off-by: Shankari <[email protected]>
…et of containers

The CSMS URL is now read from the
`device_model_storage.db` instead of directly from the config file.
We can generate the model storage by using something along these lines:
https://github.com/EVerest/libocpp/blob/main/config/v201/init_device_model_db.py

```
python3 "libocpp/config/v201/init_device_model_db.py" \
--db "path/to/your/device_model_storage.db" \
--config "path/to/your/config.json" \
--schemas "libocpp/config/v201/component_schemas/" \
init insert
```

But for now, let's use a string hardcoded to work with Maeve

Signed-off-by: Shankari <[email protected]>
@shankari
Copy link
Collaborator Author

shankari commented Mar 7, 2024

The one code analysis error is with
mkdir -p "$(dirname ${destination_path})"

which is copied verbatim from the other files, so let's ignore it for now.

@shankari shankari merged commit cd2496a into EVerest:main Mar 7, 2024
4 of 5 checks passed
@shankari shankari mentioned this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants