.vscode
.clinic
.tscache
+.nycrc.json
+.nyc_output
+.mocharc.json
+.release-it.json
.xmake.cfg
# Logs
*.log
.netrwhist
*~
*.orig
+*.md
+*.db
+*-template.*
+*.tar.gz
+*.mta
+mta_archives
src
-ev-simulator-start.sh
-ev-simulator-start.bat
-README.md
+test
+temp
+outputs
+coverage
+charging-stations-simulator-start.sh
+charging-stations-simulator-start.bat
node_modules
-manifest-cf-template.yml
+sonar-project.properties
+performanceRecords.json
+tsconfig*.json
mta.yaml
COPY --from=builder /usr/builder/node_modules ./node_modules
COPY --from=builder /usr/builder/dist ./dist
-COPY NOTICE LICENSE ./
+COPY README.md NOTICE LICENSE ./
COPY docker/autoconfig.sh /autoconfig.sh
RUN chmod +x /autoconfig.sh
PROJECT_NAME?=evse
-NAME:=simulator
+NAME:=charging-stations-simulator
SUBMODULES_INIT?=false
DOCKER_ECR_ACCOUNT_ID?=166296450311
DOCKER_ECR_REGION?=eu-west-3
-DOCKER_ECR_REGISTRY_NAME?=ev_simulator
+DOCKER_ECR_REGISTRY_NAME?=charging_stations_simulator
DOCKER_ECR_TAG?=latest
.PHONY: all
driver: bridge
services:
- simulator:
+ charging-stations-simulator:
build:
context: ..
dockerfile: docker/Dockerfile
if (numStationsTotal === 0) {
console.warn(chalk.yellow('No charging station template enabled in configuration, exiting'));
} else {
- console.log(chalk.green(`Charging station simulator ${this.version} started with ${numStationsTotal.toString()} charging station(s) and ${Utils.workerDynamicPoolInUse() ? `${Configuration.getWorkerPoolMinSize().toString()}/` : ''}${Bootstrap.workerImplementation.size}${Utils.workerPoolInUse() ? `/${Configuration.getWorkerPoolMaxSize().toString()}` : ''} worker(s) concurrently running in '${Configuration.getWorkerProcess()}' mode${Bootstrap.workerImplementation.maxElementsPerWorker ? ` (${Bootstrap.workerImplementation.maxElementsPerWorker} charging station(s) per worker)` : ''}`));
+ console.log(chalk.green(`Charging stations simulator ${this.version} started with ${numStationsTotal.toString()} charging station(s) and ${Utils.workerDynamicPoolInUse() ? `${Configuration.getWorkerPoolMinSize().toString()}/` : ''}${Bootstrap.workerImplementation.size}${Utils.workerPoolInUse() ? `/${Configuration.getWorkerPoolMaxSize().toString()}` : ''} worker(s) concurrently running in '${Configuration.getWorkerProcess()}' mode${Bootstrap.workerImplementation.maxElementsPerWorker ? ` (${Bootstrap.workerImplementation.maxElementsPerWorker} charging station(s) per worker)` : ''}`));
}
this.started = true;
} catch (error) {