mdeuser commented on issue #2911: Proposal to to reorganize core/ and 
root(openwhisk/) folders to reflect existing architecture better
URL: 
https://github.com/apache/incubator-openwhisk/issues/2911#issuecomment-347061477
 
 
   Some considerations.
   1. testing the `wsk api` commands will require a backend, api gw, and the 
apimgmt package
   2. currently, the the `wsk api` commands must be built as part of the cli 
build - since cli is not pluggable.
   3. currently, an openwhisk installation includes the installation of the 
apimgmt package (routemgmt.yml)
   
   Possible organizations
   A. separate api gw repo.  cli repo clones this repo and thoughtfully 
overlays the `wsk api` code onto the cli repo code.  agi gw repo also includes 
the apimgmt package install/uninstall scripts.  openwhisk deployment defines 
the api gw and apimgmt deployment scripts that leverage the apimgmt 
install/uninstall scripts.  api gw repo also includes api gw tests.  these 
tests could be run as part of api gw repo travis (need to build cli, deploy 
openwhisk which includes api gw and install apimgmt package).  or only runs 
tests as part of cli repo test
   
   B. keep `wsk api` code (cli source, install/uninstall scripts, tests) as 
part of the cli repo. openwhisk deployment defines the api gw and apimgmt 
deployment scripts that leverage the apimgmt install/uninstall scripts.  `wsk 
api` tests run as part of cli test (requires deployed openwhisk which includes 
api gw and install apimgmt package)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to