Normalize Vuex actions/mutations in License Management
What does this MR do?
Normalize Vuex actions/mutations
This normalizes the Vuex action and mutation names according to our established request/receive/fetch pattern.
Part of Remove parsed_license_report flag from front end code.
The batch case-preserving renaming was achieved using repren:
repren --word-breaks --preserve-case -p patterns ee
where the patterns
file contains:
requestLoadManagedLicenses requestManagedLicenses
receiveLoadManagedLicenses receiveManagedLicensesSuccess
receiveLoadManagedLicensesError receiveManagedLicensesError
loadManagedLicenses fetchManagedLicenses
#
requestLoadParsedLicenseReport requestParsedLicenseReport
receiveLoadParsedLicenseReport receiveParsedLicenseReportSuccess
receiveLoadParsedLicenseReportError receiveParsedLicenseReportError
receiveLoadLicenseReportError receiveParsedLicenseReportError
loadParsedLicenseReport fetchParsedLicenseReport
Note that the receiveLoadLicenseReportError
identifier is also being
renamed to receiveParsedLicenseReportError
, since it is functionally
the same as the receiveLoadParsedLicenseReportError
action/mutation.
The resulting duplicates are also removed.
Screenshots
n/a
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by 🤖 GitLab Bot 🤖