PawSource
using Skipcheck.Tm1.Testcontainers; Where a PawContainer gets Planning Analytics Workspace from: IBM's PAW Local
zip, ipa_workspace_local_<release>.<build>.zip.
IBM ships PAW Local as Docker images, compose files and scripts in that zip. Nothing
from it is in this library, so every PawContainer needs one.
Discover finds one from the environment. Each setting is read first as a
system property and then as an environment variable, under the same name, the names
docker/paw/paw-local.sh uses:
PAW_ZIP: the zip itselfPAW_BUNDLE_DIR: a folder holding it; the newestipa_workspace_local_*.zipthere is used
Members
ZipSetting static | The setting naming the zip. |
BundleDir static | The setting naming a folder holding zips. |
PawSource constructor | A PAW Local zip. |
Zip property | The zip, absolute. |
Describe | Where PAW comes from, for logs. |
Discover static | The zip set with PAW_ZIP, or else the newest in PAW_BUNDLE_DIR; null when neither is set. |
Discover static | As Discover, looking settings up with lookup. |
ZipSetting
staticconst string ZipSettingThe setting naming the zip.
BundleDir
staticconst string BundleDirThe setting naming a folder holding zips: the newest is used.
PawSource
constructorPawSource(string zip)A PAW Local zip.
Throws
ArgumentException- It isn't a file.
Zip
propertystring ZipThe zip, absolute.
Describe
string Describe()Where PAW comes from, for logs.
Discover
staticPawSource? Discover()The zip set with PAW_ZIP, or else the newest in PAW_BUNDLE_DIR; null
when neither is set.
Throws
ArgumentException- A setting is wrong.
Discover
staticPawSource? Discover(Func<string, string?> lookup)As Discover, looking settings up with lookup.