ibm-cloud-functions-data-processing-message-hub
ibm-cloud-functions-data-processing-message-hub copied to clipboard
For a Data processing App from MessageHub changes there is a wskdeploy manifest available for a user to easily instantiate the PRODUCT
@mrutkows Please assign. Assuming @daisy-ycguo or @lzbj.
depends on openwhisk/openwhisk-wskdeploy issue #101
Need to also consider "Deploy to Bluemix" type of button for driving wskdeploy and doing continuous testing to ensure the app doesn't break with upstream changes.
So we need to put the manifest.yml under this repo to trigger the wskdeploy?
I think we can do below things:
- Create a wskdeployinstall.sh to install
wskdeployin the user's local environment, including the configuration file to set the env variables, e.g. apihost and etc. - Prepare
manifest.ymlanddeployment.ymlat the repo root, which can be used bywskdeploy - Change the document to guide users how to deploy with wskdeploy tool.
So when we demonstrate this use case, the command lines should be:
- git clone .... ( clone this repo into local disk )
- ./wskdeployinstall.sh ( install wskdeploy and config env variables )
- wskdeploy ( run wskdeploy to deploy to bluemix server)
@krook Let me know how do you want to show the demo. I don't quite understand consider "Deploy to Bluemix" type of button for driving wskdeploy and doing continuous testing to ensure the app doesn't break with upstream changes. It looks like you are going to use the WSK UI in bluemix.
Carlos, indicated we should not "re-invent the wheel" and use what is already available for the CLI on the backend where it already uses gradle commands to build a Docker container for building the binarie(s). Then a webapp (web page) can be constructed to invoke wskdeploy as an whisk action.
Here are his comments from Slack earlier: yes you ca prototype the app today using whisk and what daisy is correct
./wskdeployinstall.sh ( install wskdeploy and config env variables )
wskdeploy ( run wskdeploy to deploy to bluemix server)
[1:18]
basically running this on behave of the user but from a browser
[1:20]
and also to make it fast the wskdeploy binary should already be available some where to do curl https://github.com/openwhisk/openwhisk-wskdeploy/archive/linux/wskdeploy
[1:23]
you can implement the webpage using a web action, the html page will ask user to enter bluemix username and password to login/deploy, then present select namespace to deploy app to, text input will have ow key for the namespace, text input will be populated with getting started git url via query parameter from button/link. when clicking submit, invoke another action that will do the 3 steps, that daisy said clone, setup, wskdeploy, return a 301 to openwhisk ui
@daisy-ycguo @mrutkows ,please help review this PR, https://github.com/openwhisk/openwhisk-wskdeploy/pull/149