如何在SAP Cloud Platform上进行第一个integration flow开发
登錄SAP Cloud Platform integration tenant,點擊Edit圖標:
創建一個新的Content package:
保存content package后,點擊artifacts標簽頁,此處創建integration flow:
點擊Add,選擇integration flow:
保存:
然后就可以進行iFlow的編輯了:
創建sender channel:把integration flow切換成編輯模式,點擊這個箭頭,把它拖到Start圖片位置:
Adapter類型選擇HTTPS:
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-mJZ0xPYS-1575963971577)(https://user-images.githubusercontent.com/5669954/70295760-1b599880-1823-11ea-996e-bd244689c27f.png)]
維護Address:
選擇message converter:
json to xml converter:
選中后放到integration process方框內,看到一條綠色的線:
再選擇Content Modifier:
拖到integration process里:
選擇call->external call:
將External Call的request reply同Receiver建立連接,adapter類型選擇OData V2:
選擇這個OData V2 adapter,在connection標簽頁的Address字段里,維護這個地址:
https://espmrefapps.hana.ondemand.com/espm-cloud-web/espm.svc
點擊processing標簽頁,再點Select按鈕:
選擇Step2:
從Select Entity的下拉列表里選擇Products:
點擊step3按鈕:
在step3的選擇頁面里,點擊F4選擇ProductId:
操作類型選擇Equal,值維護成${header.productIdentifier}:
這樣,當inbound HTTP請求里攜帶的product ID傳入Odata adapter時,后者會調用odata取得product明細。點擊Deploy進行部署。
點這個圖標查看部署情況:
等到部署成功后,就可以測試了:
在postman里輸入上圖的endpoints:
通過執行odata adapter,得到結果:
測試成功。
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的如何在SAP Cloud Platform上进行第一个integration flow开发的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 给用过SAP CRM中间件的老哥老姐们讲
- 下一篇: 如何创建SAP Cloud Platfo