mhkadhum commented on code in PR #12124:
URL: https://github.com/apache/cloudstack/pull/12124#discussion_r2655109984
##########
ui/src/views/infra/AddObjectStorage.vue:
##########
@@ -67,16 +68,82 @@
<!-- Use secretKey field for the password to make provider shared
configuration easier -->
<a-input-password v-model:value="form.secretKey"
autocomplete="off"/>
</a-form-item>
- <a-form-item name="s3Url" ref="s3Url"
:label="$t('label.cloudian.s3.url')" :rules="[{ required: true, message:
this.$t('label.required') }]">
+ <a-form-item name="s3Url" ref="s3Url"
:label="$t('label.cloudian.s3.url')" :rules="[{ required: true, message:
$t('label.required') }]">
<a-input v-model:value="form.s3Url"
placeholder="https://s3-hostname or http://s3-hostname"/>
</a-form-item>
- <a-form-item name="iamUrl" ref="iamUrl"
:label="$t('label.cloudian.iam.url')" :rules="[{ required: true, message:
this.$t('label.required') }]">
+ <a-form-item name="iamUrl" ref="iamUrl"
:label="$t('label.cloudian.iam.url')" :rules="[{ required: true, message:
$t('label.required') }]">
<a-input v-model:value="form.iamUrl"
placeholder="https://iam-hostname:16443 or http://iam-hostname:16080"/>
</a-form-item>
</div>
+ <!-- ECS Object Store Configuration -->
+ <div v-else-if="form.provider === 'ECS'">
+ <!-- S3 URL (for UI: this becomes addObjectStoragePool url=...) -->
+ <a-form-item name="url" ref="url">
Review Comment:
Yes it currently it is.
https://github.com/mhkadhum/cloudstack/blob/7c86383f111898744245643f63d7831aa728e8af/ui/src/views/infra/AddObjectStorage.vue#L225
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]