apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.54k stars 1.17k forks source link

Not all samples are getting installed #302

Closed csantanapr closed 7 years ago

csantanapr commented 8 years ago

@starpit brought up that not all samples are getting installed from the catalog/installSystem.sh

The following samples are not getting installed: countdown.js (improve) see https://github.com/openwhisk/openwhisk/issues/302#issuecomment-216588113 for more details curl.js (rename and improve) see https://github.com/openwhisk/openwhisk/issues/302#issuecomment-216588113 for more details hello.swift (implement tests and deploy) see https://github.com/openwhisk/openwhisk/issues/302#issuecomment-216588113 for more details delete -> helloAsync.js delete -> printParams.js delete -> wcbin.js

sjfink commented 8 years ago

couple of thoughts:

rabbah commented 8 years ago

wcbin is poorly named - it's an example of an action calling another action using a blocking invoke. countdown shouldn't be in the catalog as is because is it not parametric to the namespace (see https://github.com/openwhisk/openwhisk/issues/80#issuecomment-206634585).

markusthoemmes commented 8 years ago

Do we want to keep curl.js?

rabbah commented 8 years ago

as an example of calling a "process"? But could use a better example than curl.

starpit commented 8 years ago

one of the drivers for this is that the UI will now show the samples list front and center. so having a compelling list will become important pretty soon.

to me, "compelling" means:

1) high orthogonality; we have several very similar actions 2) super easy to use; no mystery API key 3) at least two languages? 4) at least some have to be not simple utility routines

hopefully something better than this, but in this spirit:

Hello World in Javascript Hello World in Swift Weather Forecast Programmatic API: Calling a non-OpenWhisk API Sequencing: Integrating an OpenWhisk API Rules: Periodic Weather Forecast

csantanapr commented 8 years ago

It looks like we need to do some clean up

@starpit let's have a chat on the following 3

rabbah commented 8 years ago

@csantanapr @mrutkows @houshengbo Is this a duplicate of other catalog related migration issues?

csantanapr commented 8 years ago

@rabbah I think this clean up should be done as part of the migration and refactoring of openwhisk-catalog repo.

mrutkows commented 8 years ago

@rabbah indeed the plan includes not moving any unused actions or those jointly agreed-upon as not being useful from a functional, testing or teaching perspective.

rabbah commented 7 years ago

solved by openwhisk-catalog cleanup.