apache / openwhisk-catalog

Curated catalog of Apache OpenWhisk packages to interface with event producers and consumers
https://openwhisk.apache.org/
Apache License 2.0
33 stars 49 forks source link

Move /whisk.system/util from openwhisk to openwhisk-catalog as /whisk.system/utils (plural) #2

Closed mrutkows closed 8 years ago

mrutkows commented 8 years ago

@houshengbo

OpenWhisk-Repo-Proposal-2016-06-14 - Open Catalog only.pptx

Issue #4 is a prereq.

Please note that as part of this move, there are 3 special changes that need to be made apart from the move of the action files.

1) The current JavaScript (JS) actions in the "openwhisk-openwhisk" repo. are installed into the catalog with the namespace "/whisk.system/util" which is incorrect. It should be plural "utils" with an "s". Please fix the install script "installSystem.sh" to reflect this name change. 2) The action file "pipe.js" is not supposed to be in the "utils" directory; it is actually installed (by "installSystem.sh) into the "/whisk.system/system" namespace. As part of this move, we will need to create a "system" directory under the top-level "packages" directory with the name "system" and update the "installSystem.sh" script to look for it there. 3) This issue should move the " openwhisk/catalog/installSystem.sh" script to the "openwhisk-catalog/packages/" directory (with the updates mentioned above).

The action files affected by this issue currently reside under repo. "openwhisk-openwhisk" in the "/openwhisk/catalog/utils". They will now live in the "openwhisk-catalog" repo. in the "openwhisk-catalog/packages/utils" directory; these include:

except for "pipe.js" which will reside in the "openwhisk-catalog/packages/system" directory.

mrutkows commented 8 years ago

@sjfink @houshengbo

Please note issue #644 opened today by Steve Fink. He wants "echo.js" moved to "utils". This means in addtion, we should:

mrutkows commented 8 years ago

Please note that the redundant actions (i.e., only .js actions by agreement should be installed by default):

by agreement, are to be moved to the "samples" package (with their own top-level named subdiectory under "samples" directory and language subdirectory named "swift"). I will cover these moves as part of a different "samples move" issue.

houshengbo commented 8 years ago

Refer to openwhisk: https://github.com/openwhisk/openwhisk/issues/663