This repository has been archived by the owner on Apr 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix save vCenter credentials functionality
- Loading branch information
Showing
14 changed files
with
3,093 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 34 additions & 1 deletion
35
...rd/CreateVmWizard/providers/VMwareImportProvider/fixtures/VMWareImportProvider.fixture.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,34 @@ | ||
// TODO: add | ||
import { PROVIDERS_DATA_KEY } from '../../../constants'; | ||
import { PROVIDER_VMWARE, PROVIDER_VMWARE_REMEMBER_PASSWORD_KEY, PROVIDER_VMWARE_STATUS_KEY } from '../constants'; | ||
import { V2V_WMWARE_STATUS_CONNECTION_SUCCESSFUL } from '../../../../../../utils/status/v2vVMware'; | ||
import { VMWareImportProvider } from '../VMWareImportProvider'; | ||
|
||
export const vmSettingsConnectionSuccessful = { | ||
[PROVIDERS_DATA_KEY]: { | ||
[PROVIDER_VMWARE]: { | ||
[PROVIDER_VMWARE_STATUS_KEY]: { | ||
value: V2V_WMWARE_STATUS_CONNECTION_SUCCESSFUL, | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
export const vmSettingsDontSaveCredentials = { | ||
[PROVIDERS_DATA_KEY]: { | ||
[PROVIDER_VMWARE]: { | ||
[PROVIDER_VMWARE_STATUS_KEY]: { | ||
value: V2V_WMWARE_STATUS_CONNECTION_SUCCESSFUL, | ||
}, | ||
[PROVIDER_VMWARE_REMEMBER_PASSWORD_KEY]: { | ||
value: false, | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
export default { | ||
component: VMWareImportProvider, | ||
props: { | ||
vmSettings: vmSettingsConnectionSuccessful, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.