apache/openwhisk
WskRestOperation implements action create with copy but it should not
Offen
#3.846 geöffnet am 06.07.2018
help wantedtesting
Repository-Metriken
- Stars
- (6.777 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
The copy operation is a function of the cli, not the rest api.
So supporting a copy in the WskRestOperation's implementation of wsk.action.create doesn't make sense.
The code should be removed and any rest tests in place should be moved strictly to the cli tests. It's arguable we should preserve this behavior --- if we reify this implementation into a scala SDK for openwhisk. Otherwise, I'm not sure why we should support this.