SAP-archive / devops-cm-client

Simple command line interface to handle basic change management related actions via ODATA requests.
Apache License 2.0
36 stars 15 forks source link

Custom HTTP Header for upload-file-to-transport #75

Closed javiexpo closed 1 year ago

javiexpo commented 1 year ago

Is possible to add custom HTTPS headers required by SAP API Management (like "apikey" and "IdentityPropagation") to be able to perform the upload-file-to-transport action.

I am using the Docker Image version of the cm-client and our current architecture is exposing the OData service (AI_CRM_GW_CM_CI_SRV) through SAP API Management so those custom header are neccesary to authenticate the request from client and perform the action with Principal Propagation in place.

javiexpo commented 1 year ago

I resolved this issue, clonning the source code and make the proper adjustment to add custom HTTPS headers required by SAP API Management (like "apikey" and "IdentityPropagation")