config/controllerconfig/controllerconfig/controllerconfig/tests/upgrades
Adriano Oliveira 36a4ff4fd2 Fix migration scripts execution sequence
The following changes have been introduced as a fix for this issue:

1. Changed the sorting on the migration script file names to be based
on the first number on the file name.
2. Added file name format validation: "nnn-*.*", where "nnn" string
shall contain only digits.
3. Fixed the name of two migration scripts that were not following the
correct format (not using "-" separator).
4. Added set of unit tests to test and validate the execution of
migration scripts code.

Manual upgrade testing to STX 5.0 has been executed.

Closes-Bug: 1887985
Signed-off-by: Adriano Oliveira <adriano.oliveira@windriver.com>
Change-Id: I04fdb8a3b3e177c609c4037825810a531954d99c
2021-02-04 10:53:23 -05:00
..
__init__.py Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00
test_migration_scripts.py Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00