nimbella / aio-cli-plugin-runtime

Nimbella Fork of the Adobe I/O Runtime plugin for Apache OpenWhisk.
https://nimbella.com
Apache License 2.0
2 stars 1 forks source link

Revised toggle for the namespace header omission #19

Closed joshuaauerbachwatson closed 3 years ago

joshuaauerbachwatson commented 3 years ago

Description

Amendment to the original toggle for sending or omitting a namespace header when the namespace is wildcard

Related Issue

Issue #8

Motivation and Context

The original toggle required a static variable in a abstract base class to be set from a very different context (nim or the workbench). Because of the way dependencies are handled it is not obvious how to do this and I couldn't get it to work. Calling a (non-static) method to do the toggling simplifies that greatly.

How Has This Been Tested?

Tested as part of testing the incorporation into nim and the workbench. Ran the usual regression tests and manually tested the behavior of activation logs.