From 7f774a554aa1ac13c597acb227063cb941eec468 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 1 Jun 2022 17:16:41 +0200 Subject: [PATCH] Rename the project to SAP branding approved name MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- .github/ISSUE_TEMPLATE/feature_request.yml | 2 +- .github/workflows/ci.yml | 2 +- .reuse/dep5 | 4 ++-- README.md | 6 +++--- docker/Makefile | 4 ++-- docker/docker-compose.yml | 2 +- manifest-cf-template.yml | 2 +- package-lock.json | 4 ++-- package.json | 12 ++++++------ sonar-project.properties | 4 ++-- src/scripts/deleteChargingStations.js | 2 +- src/utils/Constants.ts | 2 +- 13 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1d54c4d7..ea64bd27 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -7,7 +7,7 @@ body: value: | Thank you for reporting an issue. - This issue tracker is for bugs and issues found in emobility-charging-stations-simulator. + This issue tracker is for bugs and issues found in e-mobility-charging-stations-simulator. Please fill in as much of the template below as you're able. - type: checkboxes @@ -22,7 +22,7 @@ body: description: Description of the bug. - type: input attributes: - label: emobility-charging-stations-simulator version + label: e-mobility-charging-stations-simulator version - type: input attributes: label: Node.js Version diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index e0c6214d..18d77c10 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -7,7 +7,7 @@ body: value: | Thank you for requesting a feature. - This issue tracker is for feature requests in emobility-charging-stations-simulator. + This issue tracker is for feature requests in e-mobility-charging-stations-simulator. - type: checkboxes attributes: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09513c93..e49d7381 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - name: npm run coverage run: npm run coverage - name: SonarCloud Scan - if: "github.repository == 'sap/emobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'" + if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'" uses: sonarsource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any diff --git a/.reuse/dep5 b/.reuse/dep5 index 8742d0ae..8ea7d2dd 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: emobility-charging-stations-simulator +Upstream-Name: e-mobility-charging-stations-simulator Upstream-Contact: Jerome Benoit -Source: +Source: Disclaimer: The code in this project may include calls to APIs ("API Calls") of SAP or third-party products or services developed outside of this project ("External Products"). diff --git a/README.md b/README.md index 6056973b..db611192 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# [emobility-charging-stations-simulator](https://github.com/sap/emobility-charging-stations-simulator) +# [e-mobility-charging-stations-simulator](https://github.com/sap/e-mobility-charging-stations-simulator) ## Summary @@ -368,7 +368,7 @@ All kind of OCPP parameters are supported in a charging station configuration or ## Support, Feedback, Contributing -This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/SAP/emobility-charging-stations-simulator/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md). +This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/SAP/e-mobility-charging-stations-simulator/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md). ## Code of Conduct @@ -376,4 +376,4 @@ We as members, contributors, and leaders pledge to make participation in our com ## Licensing -Copyright 2020-2022 SAP SE or an SAP affiliate company and emobility-charging-stations-simulator contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/emobility-charging-stations-simulator). +Copyright 2020-2022 SAP SE or an SAP affiliate company and e-mobility-charging-stations-simulator contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/e-mobility-charging-stations-simulator). diff --git a/docker/Makefile b/docker/Makefile index 951fda69..ced950e4 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -1,9 +1,9 @@ PROJECT_NAME?=evse -NAME:=emobility-charging-stations-simulator +NAME:=e-mobility-charging-stations-simulator SUBMODULES_INIT?=false DOCKER_ECR_ACCOUNT_ID?=166296450311 DOCKER_ECR_REGION?=eu-west-3 -DOCKER_ECR_REGISTRY_NAME?=emobility-charging-stations-simulator +DOCKER_ECR_REGISTRY_NAME?=e-mobility-charging-stations-simulator DOCKER_ECR_TAG?=latest .PHONY: all diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 55c0526e..1f21f639 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -3,7 +3,7 @@ networks: ev_network: driver: bridge services: - charging-stations-simulator: + e-mobility-charging-stations-simulator: build: context: .. dockerfile: docker/Dockerfile diff --git a/manifest-cf-template.yml b/manifest-cf-template.yml index 8a2acc2e..d7c5d6df 100644 --- a/manifest-cf-template.yml +++ b/manifest-cf-template.yml @@ -1,5 +1,5 @@ applications: - - name: emobility-charging-stations-simulator + - name: e-mobility-charging-stations-simulator memory: 1G disk_quota: 1G instances: 1 diff --git a/package-lock.json b/package-lock.json index 3cb58fc5..d03035d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "emobility-charging-stations-simulator", + "name": "e-mobility-charging-stations-simulator", "version": "1.1.60", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "emobility-charging-stations-simulator", + "name": "e-mobility-charging-stations-simulator", "version": "1.1.60", "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index c51af1c6..4cd71187 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "emobility-charging-stations-simulator", + "name": "e-mobility-charging-stations-simulator", "version": "1.1.60", "engines": { "node": ">=16.0.0", @@ -7,7 +7,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/sap/emobility-charging-stations-simulator.git" + "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" }, "description": "Electric Vehicle charging stations simulator", "author": "SAP E-Mobility ", @@ -33,10 +33,10 @@ ] }, "auto-changelog": { - "commitUrl": "https://github.com/sap/emobility-charging-stations-simulator/commit/{id}", - "issueUrl": "https://github.com/sap/emobility-charging-stations-simulator/issues/{id}", - "mergeUrl": "https://github.com/sap/emobility-charging-stations-simulator/pull/{id}", - "compareUrl": "https://github.com/sap/emobility-charging-stations-simulator/compare/{from}...{to}" + "commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}", + "issueUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/issues/{id}", + "mergeUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/pull/{id}", + "compareUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/compare/{from}...{to}" }, "mikro-orm": { "tsConfigPath": "./tsconfig-orm.json", diff --git a/sonar-project.properties b/sonar-project.properties index cd5fc484..e4c1dc98 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,8 +1,8 @@ -sonar.projectKey=jerome-benoit_emobility-charging-stations-simulator +sonar.projectKey=jerome-benoit_e-mobility-charging-stations-simulator sonar.organization=jerome-benoit # This is the name and version displayed in the SonarCloud UI. -sonar.projectName=emobility-charging-stations-simulator +sonar.projectName=e-mobility-charging-stations-simulator sonar.projectVersion=1.0.0 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. diff --git a/src/scripts/deleteChargingStations.js b/src/scripts/deleteChargingStations.js index 3a46893a..e720136b 100755 --- a/src/scripts/deleteChargingStations.js +++ b/src/scripts/deleteChargingStations.js @@ -6,7 +6,7 @@ const fs = require('fs'); // This script deletes charging stations // Filter charging stations by id pattern -// Use Case: emobility-charging-stations-simulator creates thousands of charging stations, which are not longer needed. +// Use Case: e-mobility-charging-stations-simulator creates thousands of charging stations, which are not longer needed. // Delete these charging stations all at once // Config diff --git a/src/utils/Constants.ts b/src/utils/Constants.ts index e31d9b25..433f95e0 100644 --- a/src/utils/Constants.ts +++ b/src/utils/Constants.ts @@ -119,7 +119,7 @@ export default class Constants { static readonly DEFAULT_FLUCTUATION_PERCENT = 5; static readonly DEFAULT_PERFORMANCE_RECORDS_FILENAME = 'performanceRecords.json'; - static readonly DEFAULT_PERFORMANCE_RECORDS_DB_NAME = 'emobility-charging-stations-simulator'; + static readonly DEFAULT_PERFORMANCE_RECORDS_DB_NAME = 'e-mobility-charging-stations-simulator'; static readonly PERFORMANCE_RECORDS_TABLE = 'performance_records'; static readonly DEFAULT_UI_WEBSOCKET_SERVER_HOST = 'localhost'; -- 2.34.1