Need help on Registering App on PCF with Spring Cloud Data Flow which is also on PCF

本小妞迷上赌 提交于 2019-12-11 17:05:13

问题


1) I have registered a sink app on PCF using cf push -p abcdef.jar sinkapp. it went good

2) Now I have my SCDF server also on PCF

How can I register sinkapp on the SCDF server using dataflow which is on the same PCF , same org, same space. coz I have no clue what do I reference this to for registering it ? I am looking for the command that I can give to the SCDF from dataflow shell.

Thank you.


回答1:


I'd highly recommend going through the getting-started experience for Cloud Foundry.

You should not be pushing the apps standalone and manually; instead, you'd "register" the app(s) in SCDF, and you'd then use the registered app(s) in the stream definition.

When you deploy the stream, SCDF will interpret the definition and in turn, it will push the apps to the desired org/space on your behalf. Here's a sample manifest for SCDF, where you'd define the org/space and other overrides.



来源:https://stackoverflow.com/questions/48572503/need-help-on-registering-app-on-pcf-with-spring-cloud-data-flow-which-is-also-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!