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

Fix ocpp demo after automated demo changes #48

Closed

Commits on Jun 1, 2024

  1. reset to the known good commit *after* cloning

    This should fix
    EVerest#47 (comment)
    
    Testing done:
    
    Made a change to copy the everest demo instead of cloning it.
    
    ```
    $ bash demo-iso15118-2-ac-plus-ocpp.sh -r /.../everest-demo -3
    ...
    HEAD is now at b990d0e fix: make lb depend on services in compose
    ...
    Patching the CSMS to enable EVerest organization
    patching file docker-compose.yml
    Patching the CSMS to enable local mo root
    patching file 'config/manager/config.toml'
    Patching the CSMS to enable local mo root
    patching file 'manager/handlers/ocpp201/authorize.go'
    Starting the CSMS
    ```
    shankari committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    601f00d View commit details
    Browse the repository at this point in the history
  2. reset to the known good commit *after* cloning

    This should fix
    EVerest#47 (comment)
    
    Testing done:
    
    Made a change to copy the everest demo instead of cloning it.
    
    ```
    $ bash demo-iso15118-2-ac-plus-ocpp.sh -r /.../everest-demo -3
    /var/folders/y5/cx3cfzrd2q116myv9ly86sw1rnlmdj/T/tmp.4wcbFf1P/maeve-csms /var/folders/y5/cx3cfzrd2q116myv9ly86sw1rnlmdj/T/tmp.4wcbFf1P
    HEAD is now at b990d0e fix: make lb depend on services in compose
    ...
    Patching the CSMS to enable EVerest organization
    patching file docker-compose.yml
    Patching the CSMS to enable local mo root
    patching file 'config/manager/config.toml'
    Patching the CSMS to enable local mo root
    patching file 'manager/handlers/ocpp201/authorize.go'
    Starting the CSMS
    ```
    shankari committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    479401e View commit details
    Browse the repository at this point in the history
  3. Copy the certificates and the device model to the correct locations

    This fixes:
    EVerest#47 (comment)
    by implementing
    EVerest#47 (comment)
    
    Testing done:
    - Ran the script
    - Station was connected to CSMS
    - Plugged in car with both EIM and PnC, both worked
    shankari committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    4cbe5e7 View commit details
    Browse the repository at this point in the history