You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "mhkadhum (via GitHub)" <gi...@apache.org> on 2026/01/04 07:52:16 UTC
Re: [PR] Adding new Dell EMC ECS Object Storage Plugin for CloudStack [cloudstack]
mhkadhum commented on code in PR #12124:
URL: https://github.com/apache/cloudstack/pull/12124#discussion_r2659481421
##########
ui/src/views/infra/AddObjectStorage.vue:
##########
@@ -165,26 +240,66 @@ export default {
const formRaw = toRaw(this.form)
const values = this.handleRemoveFields(formRaw)
- var data = {
- name: values.name,
- size: values.size
+ const data = {
+ name: values.name
}
- var provider = values.provider
+ const provider = values.provider
data.provider = provider
data.url = values.url
- data['details[0].key'] = 'accesskey'
- data['details[0].value'] = values.accessKey
- data['details[1].key'] = 'secretkey'
- data['details[1].value'] = values.secretKey
if (provider === 'Cloudian HyperStore') {
+ // Cloudian HyperStore details
+ data['details[0].key'] = 'accesskey'
+ data['details[0].value'] = values.accessKey
+ data['details[1].key'] = 'secretkey'
+ data['details[1].value'] = values.secretKey
data['details[2].key'] = 'validateSSL'
data['details[2].value'] = values.validateSSL
data['details[3].key'] = 's3Url'
data['details[3].value'] = values.s3Url
data['details[4].key'] = 'iamUrl'
data['details[4].value'] = values.iamUrl
+ } else if (provider === 'ECS') {
Review Comment:
Added
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org