Rename license management Vue components and directories to license compliance
We have a few vue components and directories that still reference "License Management".
In particular:
- ee/app/assets/javascripts/vue_shared/license_management
- ee/app/assets/javascripts/vue_shared/license_management/components/license_management_row.vue
- ee/app/assets/javascripts/vue_shared/license_management/license_management.vue
Approach
-
Rename
license_management
directories tolicense_compliance
(The license_management directory originally contained all the vue code related to managing license policies and the "Policies" tab in license compliance) -
Rename
project_licenses
directories to 'license_compliance' (The project_licenses directory originally contained all the vue code for the license compliance page and "Detected in Project" tab) -
User facing feature is
License Compliance
, backend code referenceslicense_scanning
-
License Management
Vue components and Vuex module stay the same because they reflect the name of the component that allows for managing of license policies that belong to the License Compliance feature. The vue component and Vuex modulelicense_management
exist within thelicense_compliance
directories. -
Rename
PaginatedLicenseTable
Vue component toLicenseScanning
. (The original vue component wrapped the contents for the "Detected in Project" tab in theLicense Compliance
page. This rename better reflects that the vue component represents the results from the license scanning job.