usdot-fhwa-stol / cda-telematics

Apache License 2.0
1 stars 2 forks source link

Facilitate local deployment #168

Closed dan-du-car closed 9 months ago

dan-du-car commented 9 months ago

PR Details

Description

The original deployment configuration requires some parameters and configuration files update when deploying the telematic tool in CAVe-in-a-box. It is complex for a new user to configure it. To facilitate the local deployment and to make it easier to launch this tool in local, we need to automate the local deployment and eliminate as much manually configuration as possible.

Find an issue with web app session during local deployment. After launching the web UI and login in to the UI in a browser, it immediately shows session timeout after successful login. This PR includes the fix to replace the express-session with JWT authentication.

Use predefined influxDB token rather than relying on influxDB randomly generating one.

Related Issue

https://github.com/usdot-fhwa-stol/cda-telematics/issues/167

Motivation and Context

How Has This Been Tested?

Local integration testing

Types of changes

Checklist:

paulbourelly999 commented 9 months ago

@dan-du-car @SaikrishnaBairamoni I stopped builds on CircleCI for this project (there is no configuration anyways) and I also disabled GitHub status updates for the CircleCI project. We probably want to remove the CircleCI project for this repository all together but this is what I found to do that (https://support.circleci.com/hc/en-us/articles/21040161057947-Can-I-delete-a-project-#:~:text=At%20this%20time%2C%20project%20deletion,remove%20the%20complete%20build%20history.)

Deleting the project can probably be done later. Lets see if the CircleCI configurations I set remove the CircleCI check from this list of checks