diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt index 7c8e94021b0e..67cbeaa7cbb3 100644 --- a/.github/linters/codespell.txt +++ b/.github/linters/codespell.txt @@ -255,7 +255,6 @@ ingore initalize initator inspite -instace instal instnace intefaces @@ -376,7 +375,6 @@ renabling reponse reqest reqiured -requried reserv reserverd reseted diff --git a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs b/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs index 2e3de19939d3..5d2e909dd119 100644 --- a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs +++ b/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/CloudStackTypes.cs @@ -26,7 +26,7 @@ // C# versions of certain CloudStack types to simplify JSON serialisation. // Limit to the number of types, because they are written and maintained manually. // JsonProperty used to identify property name when serialised, which allows -// later adoption of C# naming conventions if requried. +// later adoption of C# naming conventions if required. namespace HypervResource { public class PrimaryDataStoreTO diff --git a/server/src/test/java/com/cloud/api/ApiResponseHelperTest.java b/server/src/test/java/com/cloud/api/ApiResponseHelperTest.java index d4f477383efd..c0c019f6dbd8 100644 --- a/server/src/test/java/com/cloud/api/ApiResponseHelperTest.java +++ b/server/src/test/java/com/cloud/api/ApiResponseHelperTest.java @@ -458,7 +458,7 @@ public void testCreateTrafficTypeResponse() { } } - private UnmanagedInstanceTO getUnmanagedInstaceForTests() { + private UnmanagedInstanceTO getUnmanagedInstanceForTests() { UnmanagedInstanceTO instance = Mockito.mock(UnmanagedInstanceTO.class); Mockito.when(instance.getPowerState()).thenReturn(UnmanagedInstanceTO.PowerState.PowerOff); Mockito.when(instance.getClusterName()).thenReturn("CL1"); @@ -477,7 +477,7 @@ private UnmanagedInstanceTO getUnmanagedInstaceForTests() { @Test public void testCreateUnmanagedInstanceResponseVmwareDcVms() { - UnmanagedInstanceTO instance = getUnmanagedInstaceForTests(); + UnmanagedInstanceTO instance = getUnmanagedInstanceForTests(); UnmanagedInstanceResponse response = apiResponseHelper.createUnmanagedInstanceResponse(instance, null, null); Assert.assertEquals(1, response.getDisks().size()); Assert.assertEquals(1, response.getNics().size()); diff --git a/test/integration/component/test_netscaler_nw_off.py b/test/integration/component/test_netscaler_nw_off.py index d9f6c9724f63..627c4a01c052 100644 --- a/test/integration/component/test_netscaler_nw_off.py +++ b/test/integration/component/test_netscaler_nw_off.py @@ -802,7 +802,7 @@ def test_02_multiple_netscaler_capacilty(self): # Validate the following # 1. Add another netscaler device and spawn a new VM again - # 2. VM deployement should be successful + # 2. VM deployment should be successful self.debug("Adding another netscaler device: %s" % self.services["netscaler_2"]["ipaddress"]) @@ -1672,7 +1672,7 @@ def test_shared_to_dedicated_upgrade(self): # LB rules # 5. Deploy instance with dedicated network offering in account 3. # Create Lb rules. - # 6. Configure another instace of netscaler in dedicated mode + # 6. Configure another instance of netscaler in dedicated mode # 7. upgrade networkj for user 1 to dedicated network offering. # Create LB rules. LB rule creation should be successful @@ -2063,7 +2063,7 @@ def test_shared_to_dedicated_upgrade(self): # LB rules # 5. Deploy instance with dedicated network offering in account 3. # Create Lb rules. - # 6. Configure another instace of netscaler in dedicated mode + # 6. Configure another instance of netscaler in dedicated mode # 7. upgrade networkj for user 1 to dedicated network offering. # Create LB rules. LB rule creation should be successful diff --git a/test/integration/component/test_vpc_vm_life_cycle.py b/test/integration/component/test_vpc_vm_life_cycle.py index abe6d194a54f..d487a7fa1bdb 100644 --- a/test/integration/component/test_vpc_vm_life_cycle.py +++ b/test/integration/component/test_vpc_vm_life_cycle.py @@ -1274,7 +1274,7 @@ def test_02_deploy_vm_vpcvr_stopped(self): except Exception as e: self.fail("Failed to deploy the virtual instance: %s" % e) - self.debug("Verify the deployment of virtual instace") + self.debug("Verify the deployment of virtual instance") vms = VirtualMachine.list( self.apiclient, id=vm.id, diff --git a/ui/src/components/view/DedicateDomain.vue b/ui/src/components/view/DedicateDomain.vue index 08b349cadec2..01224efc0c34 100644 --- a/ui/src/components/view/DedicateDomain.vue +++ b/ui/src/components/view/DedicateDomain.vue @@ -67,7 +67,7 @@ export default { props: { error: { type: Boolean, - requried: true + required: true } }, data () { diff --git a/ui/src/components/view/DeployVMFromBackup.vue b/ui/src/components/view/DeployVMFromBackup.vue index c1f0ffc6d145..53e6226f56f2 100644 --- a/ui/src/components/view/DeployVMFromBackup.vue +++ b/ui/src/components/view/DeployVMFromBackup.vue @@ -1589,7 +1589,7 @@ export default { }) this.fetchBootTypes() this.fetchBootModes() - this.fetchInstaceGroups() + this.fetchInstanceGroups() this.fetchIoPolicyTypes() nextTick().then(() => { ['name', 'keyboard', 'boottype', 'bootmode', 'iothreadsenabled', 'iodriverpolicy', 'nicmultiqueuenumber', 'nicpackedvirtqueues'].forEach(this.fillValue) @@ -1640,7 +1640,7 @@ export default { { id: 'storage_specific', description: 'storage_specific' } ] }, - fetchInstaceGroups () { + fetchInstanceGroups () { this.options.instanceGroups = [] getAPI('listInstanceGroups', { account: this.$store.getters.project?.id ? null : this.$store.getters.userInfo.account, @@ -2467,12 +2467,12 @@ export default { configuration.cpunumber = 0 configuration.cpuspeed = 0 configuration.memory = 0 - for (var harwareItem of configuration.hardwareItems) { - if (harwareItem.resourceType === 'Processor') { - configuration.cpunumber = harwareItem.virtualQuantity - configuration.cpuspeed = harwareItem.reservation - } else if (harwareItem.resourceType === 'Memory') { - configuration.memory = harwareItem.virtualQuantity + for (var hardwareItem of configuration.hardwareItems) { + if (hardwareItem.resourceType === 'Processor') { + configuration.cpunumber = hardwareItem.virtualQuantity + configuration.cpuspeed = hardwareItem.reservation + } else if (hardwareItem.resourceType === 'Memory') { + configuration.memory = hardwareItem.virtualQuantity } } configurations.push(configuration) diff --git a/ui/src/components/view/ResourceCountUsage.vue b/ui/src/components/view/ResourceCountUsage.vue index 688a706948bf..c74391f3a9bc 100644 --- a/ui/src/components/view/ResourceCountUsage.vue +++ b/ui/src/components/view/ResourceCountUsage.vue @@ -40,7 +40,7 @@ v-if="taggedUsage[item]" class="list-item__collapse" @change="handleCollapseChange(item)"> - + - +
0 ? duration / 1000.0 : 0) + '' }, computedOverlayStyle () { - var opacity = this.testDeliveryIntervalCouter <= 10.0 ? 0 : 0.3 - var width = this.testDeliveryIntervalCouter + var opacity = this.testDeliveryIntervalCounter <= 10.0 ? 0 : 0.3 + var width = this.testDeliveryIntervalCounter return 'opacity: ' + opacity + '; width: ' + width + '%;' } }, @@ -168,7 +168,7 @@ export default { if (this.testDeliveryInterval) { clearInterval(this.testDeliveryInterval) } - this.testDeliveryIntervalCouter = 0 + this.testDeliveryIntervalCounter = 0 }, testWebhookDelivery () { this.resetTestDeliveryInterval() @@ -223,8 +223,8 @@ export default { this.resetTestDeliveryInterval() return } - this.testDeliveryIntervalCouter = this.testDeliveryIntervalCouter + 1 - if (this.testDeliveryIntervalCouter >= 100) { + this.testDeliveryIntervalCounter = this.testDeliveryIntervalCounter + 1 + if (this.testDeliveryIntervalCounter >= 100) { this.executeTestWebhookDeliveryOrReset() } }, this.timedDeliveryWait / 100) diff --git a/ui/src/views/compute/AttachIso.vue b/ui/src/views/compute/AttachIso.vue index aafed017a213..60694cb8f57b 100644 --- a/ui/src/views/compute/AttachIso.vue +++ b/ui/src/views/compute/AttachIso.vue @@ -85,10 +85,10 @@ export default { }) }, fetchData () { - const isoFiters = ['featured', 'community', 'selfexecutable'] + const isoFilters = ['featured', 'community', 'selfexecutable'] this.loading = true const promises = [] - isoFiters.forEach((filter) => { + isoFilters.forEach((filter) => { promises.push(this.fetchIsos(filter)) }) Promise.all(promises).then(() => { diff --git a/ui/src/views/compute/CreateAutoScaleVmGroup.vue b/ui/src/views/compute/CreateAutoScaleVmGroup.vue index 362c9b7b4063..9e8ebb8a4d59 100644 --- a/ui/src/views/compute/CreateAutoScaleVmGroup.vue +++ b/ui/src/views/compute/CreateAutoScaleVmGroup.vue @@ -3172,12 +3172,12 @@ export default { configuration.cpunumber = 0 configuration.cpuspeed = 0 configuration.memory = 0 - for (var harwareItem of configuration.hardwareItems) { - if (harwareItem.resourceType === 'Processor') { - configuration.cpunumber = harwareItem.virtualQuantity - configuration.cpuspeed = harwareItem.reservation - } else if (harwareItem.resourceType === 'Memory') { - configuration.memory = harwareItem.virtualQuantity + for (var hardwareItem of configuration.hardwareItems) { + if (hardwareItem.resourceType === 'Processor') { + configuration.cpunumber = hardwareItem.virtualQuantity + configuration.cpuspeed = hardwareItem.reservation + } else if (hardwareItem.resourceType === 'Memory') { + configuration.memory = hardwareItem.virtualQuantity } } configurations.push(configuration) diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue index e13c9bc17b25..05000b7bfb59 100644 --- a/ui/src/views/compute/DeployVM.vue +++ b/ui/src/views/compute/DeployVM.vue @@ -1920,7 +1920,7 @@ export default { } this.fetchBootTypes() this.fetchBootModes() - this.fetchInstaceGroups() + this.fetchInstanceGroups() this.fetchIoPolicyTypes() nextTick().then(() => { ['name', 'keyboard', 'boottype', 'bootmode', 'userdata', 'iothreadsenabled', 'iodriverpolicy', 'nicmultiqueuenumber', 'nicpackedvirtqueues'].forEach(this.fillValue) @@ -1976,7 +1976,7 @@ export default { { id: 'storage_specific', description: 'storage_specific' } ] }, - fetchInstaceGroups () { + fetchInstanceGroups () { this.options.instanceGroups = [] getAPI('listInstanceGroups', { account: this.$store.getters.project?.id ? null : this.$store.getters.userInfo.account, @@ -3224,12 +3224,12 @@ export default { configuration.cpunumber = 0 configuration.cpuspeed = 0 configuration.memory = 0 - for (var harwareItem of configuration.hardwareItems) { - if (harwareItem.resourceType === 'Processor') { - configuration.cpunumber = harwareItem.virtualQuantity - configuration.cpuspeed = harwareItem.reservation - } else if (harwareItem.resourceType === 'Memory') { - configuration.memory = harwareItem.virtualQuantity + for (var hardwareItem of configuration.hardwareItems) { + if (hardwareItem.resourceType === 'Processor') { + configuration.cpunumber = hardwareItem.virtualQuantity + configuration.cpuspeed = hardwareItem.reservation + } else if (hardwareItem.resourceType === 'Memory') { + configuration.memory = hardwareItem.virtualQuantity } } configurations.push(configuration) diff --git a/ui/src/views/compute/DeployVnfAppliance.vue b/ui/src/views/compute/DeployVnfAppliance.vue index d040530eb76c..b2a8a8021149 100644 --- a/ui/src/views/compute/DeployVnfAppliance.vue +++ b/ui/src/views/compute/DeployVnfAppliance.vue @@ -1761,7 +1761,7 @@ export default { } this.fetchBootTypes() this.fetchBootModes() - this.fetchInstaceGroups() + this.fetchInstanceGroups() this.fetchIoPolicyTypes() nextTick().then(() => { ['name', 'keyboard', 'boottype', 'bootmode', 'userdata', 'iothreadsenabled', 'iodriverpolicy', 'nicmultiqueuenumber', 'nicpackedvirtqueues'].forEach(this.fillValue) @@ -1816,7 +1816,7 @@ export default { { id: 'storage_specific', description: 'storage_specific' } ] }, - fetchInstaceGroups () { + fetchInstanceGroups () { this.options.instanceGroups = [] getAPI('listInstanceGroups', { account: this.$store.getters.userInfo.account, @@ -2767,12 +2767,12 @@ export default { configuration.cpunumber = 0 configuration.cpuspeed = 0 configuration.memory = 0 - for (var harwareItem of configuration.hardwareItems) { - if (harwareItem.resourceType === 'Processor') { - configuration.cpunumber = harwareItem.virtualQuantity - configuration.cpuspeed = harwareItem.reservation - } else if (harwareItem.resourceType === 'Memory') { - configuration.memory = harwareItem.virtualQuantity + for (var hardwareItem of configuration.hardwareItems) { + if (hardwareItem.resourceType === 'Processor') { + configuration.cpunumber = hardwareItem.virtualQuantity + configuration.cpuspeed = hardwareItem.reservation + } else if (hardwareItem.resourceType === 'Memory') { + configuration.memory = hardwareItem.virtualQuantity } } configurations.push(configuration) diff --git a/ui/src/views/compute/EditVM.vue b/ui/src/views/compute/EditVM.vue index 0763303b24a4..19055afde973 100644 --- a/ui/src/views/compute/EditVM.vue +++ b/ui/src/views/compute/EditVM.vue @@ -255,7 +255,7 @@ export default { this.fetchZoneDetails() this.fetchSecurityGroups() this.fetchOsTypes() - this.fetchInstaceGroups() + this.fetchInstanceGroups() this.fetchServiceOfferingData() this.fetchTemplateData() this.fetchUserData() @@ -335,7 +335,7 @@ export default { this.$notifyError(error) }).finally(() => { this.osTypes.loading = false }) }, - fetchInstaceGroups () { + fetchInstanceGroups () { this.groups.loading = true this.groups.opts = [] const params = { diff --git a/ui/src/views/compute/wizard/OsBasedImageSelection.vue b/ui/src/views/compute/wizard/OsBasedImageSelection.vue index 6a52eea207b0..680922752f74 100644 --- a/ui/src/views/compute/wizard/OsBasedImageSelection.vue +++ b/ui/src/views/compute/wizard/OsBasedImageSelection.vue @@ -47,7 +47,7 @@ @change="handleGuestOsCategoryChange">
- - {{ extenstionBasePath }} + + {{ extensionBasePath }} - + @@ -90,7 +90,7 @@ export default { return { fetchLoading: false, resourcesList: [], - collpaseActive: {} + collapseActive: {} } }, created () { @@ -181,11 +181,11 @@ export default { } }, handleCollapseChange (type) { - if (this.collpaseActive[type]) { - this.collpaseActive[type] = null + if (this.collapseActive[type]) { + this.collapseActive[type] = null return } - this.collpaseActive[type] = true + this.collapseActive[type] = true var typeItems = this.resourcesList.filter(x => x.type === type) typeItems.forEach(resource => { this.animatePercentVals(resource.tagged) diff --git a/ui/src/views/infra/routers/RouterHealthCheck.vue b/ui/src/views/infra/routers/RouterHealthCheck.vue index 89a05d1fb942..0fe49c366c1e 100644 --- a/ui/src/views/infra/routers/RouterHealthCheck.vue +++ b/ui/src/views/infra/routers/RouterHealthCheck.vue @@ -22,7 +22,7 @@ banner :message="$t('message.action.router.health.checks.disabled.warning')" />
- + {{ $t('label.action.router.health.checks') }} @@ -158,7 +158,7 @@ export default { } this.checkConfigurationAndGetHealthChecks() }, - showGetHelathCheck () { + showGetHealthCheck () { this.showGetHealthChecksForm = true }, onCloseGetHealthChecksForm () { diff --git a/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue b/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue index 006228213291..f1ef34585cac 100644 --- a/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue +++ b/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue @@ -1609,7 +1609,7 @@ export default { try { if (!this.stepData.stepMove.includes('createStoragePool')) { - this.stepData.primaryStorageRetunred = await this.createStoragePool(params) + this.stepData.primaryStorageReturned = await this.createStoragePool(params) this.stepData.stepMove.push('createStoragePool') } await this.stepAddSecondaryStorage() diff --git a/ui/src/views/infra/zone/ZoneWizardRegisterTemplate.vue b/ui/src/views/infra/zone/ZoneWizardRegisterTemplate.vue index 0d94fc5d3b15..40123a57d517 100644 --- a/ui/src/views/infra/zone/ZoneWizardRegisterTemplate.vue +++ b/ui/src/views/infra/zone/ZoneWizardRegisterTemplate.vue @@ -201,7 +201,7 @@ export default { if (successful.length > 0) { this.$notification.success({ message: this.$t('label.register.template'), - description: 'Succesfully registered templates: ' + successful.map(r => r.name).join(', ') + description: 'Successfully registered templates: ' + successful.map(r => r.name).join(', ') }) successful.forEach(r => { diff --git a/ui/src/views/offering/AddComputeOffering.vue b/ui/src/views/offering/AddComputeOffering.vue index dc4d5b188181..465d07b8e57f 100644 --- a/ui/src/views/offering/AddComputeOffering.vue +++ b/ui/src/views/offering/AddComputeOffering.vue @@ -714,7 +714,7 @@ export default { domainLoading: false, zones: [], zoneLoading: false, - selectedDeployementPlanner: null, + selectedDeploymentPlanner: null, storagePolicies: null, storageTags: [], storageTagLoading: false, @@ -1021,9 +1021,9 @@ export default { this.qosType = val }, handleDeploymentPlannerChange (planner) { - this.selectedDeployementPlanner = planner + this.selectedDeploymentPlanner = planner this.plannerModeVisible = false - if (this.selectedDeployementPlanner === 'ImplicitDedicationPlanner') { + if (this.selectedDeploymentPlanner === 'ImplicitDedicationPlanner') { this.plannerModeVisible = isAdmin() } }, diff --git a/ui/src/views/project/iam/ProjectRoleTab.vue b/ui/src/views/project/iam/ProjectRoleTab.vue index c3a3159565dd..406952a562ae 100644 --- a/ui/src/views/project/iam/ProjectRoleTab.vue +++ b/ui/src/views/project/iam/ProjectRoleTab.vue @@ -144,7 +144,7 @@ export default { createModalVisible: false, editModalVisible: false, selectedRole: null, - projectPermisssions: [], + projectPermissions: [], customStyle: 'margin-bottom: 0; border: none' } }, diff --git a/ui/src/views/storage/ChangeSharedFSServiceOffering.vue b/ui/src/views/storage/ChangeSharedFSServiceOffering.vue index 22913881efdd..f74ad59cb019 100644 --- a/ui/src/views/storage/ChangeSharedFSServiceOffering.vue +++ b/ui/src/views/storage/ChangeSharedFSServiceOffering.vue @@ -95,7 +95,7 @@ export default { loading: false, configLoading: false, serviceofferings: [], - serviceofferingLoding: false + serviceofferingLoading: false } }, beforeCreate () {