SalesforceCommerceCloud / sfcc-ci

Salesforce Commerce Cloud CLI
https://npmjs.com/package/sfcc-ci
BSD 3-Clause "New" or "Revised" License
231 stars 93 forks source link

WebDAV connectivity: sfcc.webdav.download ? #180

Open JuliaJacobUbi opened 4 years ago

JuliaJacobUbi commented 4 years ago

I saw that you've developed sfcc.webdav.upload but sfcc.webdav.download is not available, is it something planned on a roadmap or not at all ?

Thank you in advance

tobiaslohr commented 3 years ago

There is, please see https://github.com/SalesforceCommerceCloud/sfcc-ci/issues/122. Can you please add your use case and describe, what you'd like to download and for what purpose?

DenyVeyten commented 2 years ago

@tobiaslohr Our use case is to get service credentials from a testing environment for a new sandbox setup automation.

We store useful/test data in code repo so it's easy to use it for a new sandbox setup with upload/import, but all service credentials/assignments are currently imported to sandbox manually from testing env.

I thought we can automate it with sfcc-ci, but now I see that we have to write custom code to download exported service creds to then upload/import with help of sfcc-ci.

candicepeters commented 1 year ago

Hi Team! Running into the same issue wondering if there is any update on this. Thank you!

tobiaslohr commented 1 year ago

Hi @candicepeters, the main discussion you can find at #122 and #41 respectively. A subsequent JS API (like sfcc.webdav.download) would make a lot of sense. However, so far nobody has contributed that functionality and I can only encourage you to contribute that as a new functionality.

tobiaslohr commented 1 year ago

@candicepeters Looking at https://github.com/SalesforceCommerceCloud/sfcc-ci/blob/master/lib/webdav.js#L110 there is actually something already we could piggy-back on.