Syncing APIM fails
Hi Eng Swee, I tried to sync the API Manager with Git, but there was one API which could not be synced:
2025-05-09T06:16:53.1591548Z [90m09 May 25 06:16 UTC[0m [32mINF[0m [1m📢 Begin processing for APIProxy API_BUSINESS_PARTNER[0m 2025-05-09T06:16:53.1592859Z [90m09 May 25 06:16 UTC[0m [32mINF[0m [1mDownloading APIProxy API_BUSINESS_PARTNER[0m 2025-05-09T06:17:08.2017785Z [90m09 May 25 06:17 UTC[0m [32mINF[0m [1mUnzipping contents to /tmp/apim/download/API_BUSINESS_PARTNER[0m 2025-05-09T06:17:08.7471493Z [90m09 May 25 06:17 UTC[0m [31mFTL[0m [1m*fs.PathError open /tmp/apim/download/API_BUSINESS_PARTNER/APIProxies/API_BUSINESS_PARTNER/APIResource/A_CustSlsAreaAddrDepdntTaxInfo(Customer='{Customer}',SalesOrganization='{SalesOrganization}',DistributionChannel='{DistributionChannel}',Division='{Division}',AddressID='{AddressID}',DepartureCountry='{DepartureCountry}',CustomerTaxCategory='{CustomerTaxCategory}').xml: file name too long 2025-05-09T06:17:08.7475986Z /home/runner/work/flashpipe/flashpipe/internal/file/file.go:161 (0x88995f) 2025-05-09T06:17:08.7478078Z /home/runner/work/flashpipe/flashpipe/internal/file/file.go:131 (0x8895fa) 2025-05-09T06:17:08.7479763Z /home/runner/work/flashpipe/flashpipe/internal/api/apiproxy.go:87 (0x88ade5) 2025-05-09T06:17:08.7481040Z /home/runner/work/flashpipe/flashpipe/internal/sync/syncer.go:84 (0xa20765) 2025-05-09T06:17:08.7482201Z /home/runner/work/flashpipe/flashpipe/internal/cmd/apim.go:99 (0xa260e9) 2025-05-09T06:17:08.7483539Z /home/runner/work/flashpipe/flashpipe/internal/cmd/apim.go:54 (0xa2cf11) 2025-05-09T06:17:08.7485393Z /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:985 (0x5ef6aa) 2025-05-09T06:17:08.7488126Z /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 (0x5eff7f) 2025-05-09T06:17:08.7488966Z /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041 (0xa29810) 2025-05-09T06:17:08.7491187Z /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041 (0xa29806) 2025-05-09T06:17:08.7494956Z /home/runner/work/flashpipe/flashpipe/cmd/flashpipe/flashpipe.go:11 (0xa2d28f) 2025-05-09T06:17:08.7498837Z /opt/hostedtoolcache/go/1.23.4/x64/src/internal/runtime/atomic/types.go:194 (0x43ae0b) 2025-05-09T06:17:08.7503797Z /opt/hostedtoolcache/go/1.23.4/x64/src/runtime/asm_amd64.s:1700 (0x4767e1) 2025-05-09T06:17:08.7505517Z [0m 2025-05-09T06:17:08.7532218Z ##[error]Process completed with exit code 1.
It is the OData Service Business Partner (A2X) ( https://api.sap.com/api/API_BUSINESS_PARTNER/overview), which seems to be too big for flashpipe.