Skip to content

A web application to update or configure a charge point with OCPP protocol.

License

Notifications You must be signed in to change notification settings

LastProject-ESIEE/OCPPConfigurationServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCPPConfigurationServer

License Package - OpenJDK Package - Maven Package - NPM Package - NodeJS

Overview

A web application to update or configure a charge point with OCPP protocol.

Requirements

Back

  • OpenJDK 21.0.1 ;
  • Maven 3.9.6.

Front

  • NPM 10.2.3 ;
  • NodeJS 20.20.0.

Installation

TODO : Explain the installation process !

Running program

You must set those environment variables in IntelliJ in the edit project configuration:

  • DB_ADDRESS=<test database url>;
  • DB_PASSWORD=<test database password>;
  • DB_USERNAME=<test database username>;
  • FINAL_WS_SERVER_ADDRESS=<*next supervisor server address>;
  • FS_HOST=<ftp server address>;
  • FS_PASSWORD=<ftp password>;
  • FS_PORT=<ftp port>
  • FS_USER=<ftp user>;
  • MYSQL_ADDON_USER=<database username>;
  • MYSQL_DB_ADDRESS=<database url>;
  • MYSQL_DB_PASSWORD=<database password>;
  • WEBSOCKET_PORT=<websocket port>;
  • WEBSOCKET_URL=<websocket ip address>;

Running check style

You should install the plugin in IntelliJ CheckStyle-IDEA and set the checkstyle.xml in the plugin configuration. Then check style could be executed locally through the plugin menu.

Running tests

Running the charge points generator

The python script is used to generate charge points and status into the database.
You will need python3 as well as pymysql installed : pip install pymysql.
You can run it by typing python3 generator.py -h.
It will display information on the program and the arguments.