pizug / cpi-sync

CPI Sync lets you download your SAP Cloud Integration content in an easy, structured, and automated way.
https://pizug.com
GNU General Public License v3.0
14 stars 2 forks source link

"Cannot download the artifact from a configure only package." #8

Open ambravo opened 3 years ago

ambravo commented 3 years ago

I would have liked to track down the problem, but I've never played with Rust :)

Error

When synching standard SAP content classified as "Configure-only" content (Like this one)

Cloud Integration 2021-06-21 at 11 22 29 pm

cpi-sync halts with the exception Custom { kind: Other, error: "API Artifact Download Failed!" }

Windows 10 2021-06-21 at 11 16 53 pm

Alternatives

fatihpense commented 3 years ago

Hi Ariel, Thanks for the error report! I think we should both have a setting for ignoring errors & handle filtering of configure-only packages.

I think these packages have the value "Mode":"READ_ONLY" in IntegrationPackages API

It allows exporting these packages on UI though... Maybe there is a trick for downloading them. Needs some inspection. Downloading flow by flow might be possible.

And we are still waiting for API methods for downloading new object types like OData APIs, Script Collections, etc. (I don't want to use workspace APIs for now.)


FYI, I also plan to change s_users to basic in the JSON structure. Then bump version to 0.4 with schema version. When I find the time, another idea is to use GitHub actions. It seems very easy to implement with docker.