Skip to content

Normalize Vuex actions/mutations in License Management

Mark Florian requested to merge 37271-normalize-vuex-actions-mutations-ee into master

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

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports