Renovus-Tech / solarec-java

GNU Affero General Public License v3.0
0 stars 0 forks source link

Branches JaCoCo Coverage License Java Version CLA assistant

Quality Gate Status Security Rating Maintainability Rating Vulnerabilities Reliability Rating Lines of Code

Solarec Java

The Solarec Java repository is parte of the Solarec solution of Renovus. Incombination with the other repositories Ract, Python and Database generates the Solarec solution.

The Java code main objective is to work as backend for all logica and data storage of the solutions. Is responsable for the solution, retrieve of data, validation, consolidation and acts as proxy when the information is available in other code (Python for example).

The Java code main requeriments are:

The modules

The Java code is divided in a series of modules each of one has its objective.

The solarec.schedule has been design to work independently from the solarec.core, allowing to have different type of resources for each, allowing a more reboust architecture.

Configuration

In order to correctly execute the code the application.properties need to have a series of properfies defined. Check the application.properties.sample file to see a list of all the required properties.

Take in consideration that if a module (for example an services) requires configuration, is possible that the properties are requierd to be defined in the application.properties file.

Execution

To execute the solution, you only need to execute tech.renovus.solarec.RenovusSolarecApplication of the solarec.core module. Currently the solarec.core module is configure to also execute the schedule module. But if required the solarec.schedule module can be executed independently with the correct configuration.

Database

Currently the project supports only PostgreSQL 15 as primary base as defined in project solarec-db.