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

(WIP) Docker compose quality of life improvements and/or cleanup before 0.1.0 release #31

Closed
wants to merge 10 commits into from

Conversation

slawr
Copy link
Collaborator

@slawr slawr commented Apr 9, 2024

WIP collection of commits for docker compose polishing before 0.1.0 release for the AMM

slawr added 7 commits April 8, 2024 18:17
Updates in VISS support:

1) UPSTREAM VISS PROJECT MOVE AND RENAME

The WAII data server project we use for VISS support has migrated
from W3C github infrastructure to COVESA github. At the same time it
was renamed from WAII to VISSR. Update the submodule to use the new name
and location.

2) UPDATE TO CURRENT UPSTREAM HEAD FOR APACHE IOTDB SUPPORT

Most importantly the changes to VISSR developed as part of this
project to add Apache IoTDB support as a data store backend have now
all been merged upstream. In summary these are in three areas: support
for IoTDB to get/set VSS data, document IoTDB in the VISSR documentation
site and provide runtime configuration of the connection parameters to
IoTDB. Rebasing on the current VISSR HEAD allows the playground to point
to the upstream rather than a fork carrying the changes.

Support was successfully sanity tested doing get/set operations using
Apache IoTDB and the VISSR html client.

Signed-off-by: Stephen Lawrence <[email protected]>
The VISSR submodule has been updated to point at the upstream head
Commit. As a result integrate changes in the upstream VISSR docker
compose docker-compose-rl.yml into the VISSR services of the
playground compose.

Successfully sanity tested with get/set operation using the VISSR html
client.

Signed-off-by: Stephen Lawrence <[email protected]>
The top-level version property in a compose file is now considered
obsolete by the docker project. If its include current docker compose
versions output a warning such as:
WARN[0000] <path>/docker-compose-waii-iotdb.yml: `version` is obsolete

For details see:
docker/compose#11628
jasonacox/Powerwall-Dashboard#453

To quiet the warning remove the version property.

Signed-off-by: Stephen Lawrence <[email protected]>
1) Set Apache IoTDB service to restart always.

2) Make vissv2server service depend on IoTDB to mitigate race conditions
where the VISS server is started before IoTDB is started.

Signed-off-by: Stephen Lawrence <[email protected]>
Simplify the top level name to just 'cdsp' to represent the base
configuration. Previously it was cdsp-waii-iotdb.

Signed-off-by: Stephen Lawrence <[email protected]>
Rename docker-compose-waii-iotdb.yml to docker-compose-cdsp.yml

Signed-off-by: Stephen Lawrence <[email protected]>
@slawr slawr added the enhancement New feature or request label Apr 9, 2024
@slawr slawr linked an issue Apr 9, 2024 that may be closed by this pull request
3 tasks
@slawr slawr self-assigned this Apr 9, 2024
@slawr slawr removed the enhancement New feature or request label Apr 9, 2024
@slawr slawr force-pushed the compose-cleanup branch from 2231b3e to 75f44e1 Compare April 9, 2024 14:39
Update the docker compose README.md to bring it into alignment with
recent changes to the playground compose file.

Such as:
1. Upstream VISS data server project name change from WAII to VISSR
2. Compile file rename

Also take the opportunity to do some general text cleanup and
add a build tip related to corporate security systems.

Signed-off-by: Stephen Lawrence <[email protected]>
@slawr slawr force-pushed the compose-cleanup branch from 75f44e1 to f82b4d7 Compare April 9, 2024 15:17
slawr added 2 commits April 9, 2024 19:01
Add build note that VISSR requires you to manually generate the file
vss_vissv2.binary.

Add tip showing how to start the playground with IoTDB only if you are
blocked by VISSR build issues.

Signed-off-by: Stephen Lawrence <[email protected]>
Remove the distracting trailing $ prompt from the CLI examples.

Signed-off-by: Stephen Lawrence <[email protected]>
@slawr
Copy link
Collaborator Author

slawr commented Apr 9, 2024

Close pull request in favor of opening new one with rebases

@slawr slawr closed this Apr 9, 2024
@slawr slawr deleted the compose-cleanup branch April 26, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Create PoC Docker sources
1 participant