cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello,

I am familiar with creating SCP CF Destinations by filling some parameters in BTP Cockpit UI. However, our requirement is to create this destination through pipelines (Like a separate stage in CI/CD). We are neither able to find any REST endpoints nor any CLI commands that SAP provides that will fulfil this purpose.

Has anyone already tried this or is it really possible ?

Any help would be really appreciated on this.

Thank you!!

View Entire Topic
mig1
Participant

Successfully tried it out!

cf create-service 'destination' 'lite' 'destination-instance-1' -c 'config.json' --wait  

--or--

cf update-service 'destination-instance-1' -c 'config.json' --wait

config.json  

{ "HTML5Runtime_enabled" : "false", "init_data" : { "instance" : { "existing_destinations_policy": "update", "destinations" : [ { "Authentication": "NoAuthentication", "Name": "UI5", "ProxyType": "Internet", "Type": "HTTP", "URL": "https://ui5.sap.com" }, { "Authentication": "BasicAuthentication", "Name": "sap-ecc", "Description": "sap-ecc", "ProxyType": "OnPremise", "Type": "HTTP", "URL": "http://sap-ecc.local:80", "CloudConnectorLocationId": "CITRIX_VM", "User": "RFCPMMOBIXXX", "Password": "**********" } ] } } }
dr_vup
Contributor
0 Likes

Really cool! Thanks for sharing