Skip to content

Commit 5f184da

Browse files
committed
Move src/tooling to migrations
Signed-off-by: freddidierRTE <[email protected]>
1 parent a2a838b commit 5f184da

18 files changed

+7
-11
lines changed

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,8 @@ test/cypress/node_modules
145145
test/cypress/cypress/screenshots
146146
test/cypress/cypress/videos
147147

148-
# migration-opfab3
149-
src/tooling/migration-opfab3/node_modules
150-
src/tooling/migration-rrule-recurrence/node_modules
151-
src/tooling/migration-entity-roles/node_modules
148+
# migration packages
149+
migrations/*/node_modules
152150

153151
# Node modules
154152
backend/*/node_modules

bin/dependencies/generateDependencyReport.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,4 @@ generateNpmReport backend/cards-reminder
4545
generateNpmReport backend/cards-external-diffusion
4646
generateNpmReport backend/supervisor
4747
generateNpmReport ui/main
48-
generateNpmReport src/tooling/migration-rrule-recurrence
4948
echo "Report done in $report_name"

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ sonar {
108108
// - ui/main/src/karma.conf.js : karma config files are not tested
109109
// - backend :
110110
// - **/controllers/** : controllers are not unit tested as they are no business logic and there will be tested via cypress e2e tests and API karate test-utilities
111-
// - **/src/tooling/** : one-time migration tools, not meant to evolve or be tested
112111
// - **/test/** : test code is not tested
113112
// - backend/**/tests/* : tests are not relevant
114113
// - backend/**/server-side/** : server-side files (external interfaces) are not tested , they will be tested via cypress e2e tests and API karate tests

docs/asciidoc/resources/migration_guide_to_3.14.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212
Bundles are not stored directly into the business config storage path defined in configuration anymore (operatorfabric.businessconfig.storage.path) but in a subdirectory named bundles. So in order to migrate, it is needed to move your bundles directories to a subdirectory named bundles.
1313

14-
To help you migrate your production environment you can use the following script : https://github.com/opfab/operatorfabric-core/blob/{gitReference}/src/tooling/migration-opfab3.13/moveBundles.sh
14+
To help you migrate your production environment you can use the following script : https://github.com/opfab/operatorfabric-core/blob/{gitReference}/migrations/migration-opfab3.13/moveBundles.sh

docs/asciidoc/resources/migration_guide_to_4.2.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ With this parent entity 1 and parent entity 2 need to be declared and the name o
7575
== Updating the entity roles in the database
7676

7777
In this release the "roles" attribute has been added to the entity object. It defines the utility of an entity. It absorbs and broaden the logic of the attribute "entityAllowedToSendCard" which becomes deprecated.
78-
To update the entities in your mongo database, you can execute the following script located in `OF_HOME/src/tooling/migration-entity-roles` :
78+
To update the entities in your mongo database, you can execute the following script located in `OF_HOME/migrations/migration-entity-roles` :
7979

8080
`./launchMigration.sh <IP or DNSNameMongoDB> <portMongoDB> <loginMongoDB> <passwordMongoDB>`
8181

0 commit comments

Comments
 (0)