skipcheck

TM1 Testcontainers · Docs · Where TM1 comes from

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:

  1. PAW_ZIP: the zip itself
  2. PAW_BUNDLE_DIR: a folder holding it; the newest ipa_workspace_local_*.zip there is used

Members

ZipSetting staticThe setting naming the zip.
BundleDir staticThe setting naming a folder holding zips.
PawSource constructorA PAW Local zip.
Zip propertyThe zip, absolute.
DescribeWhere PAW comes from, for logs.
Discover staticThe zip set with PAW_ZIP, or else the newest in PAW_BUNDLE_DIR; null when neither is set.
Discover staticAs Discover, looking settings up with lookup.

ZipSetting

static
const string ZipSetting

The setting naming the zip.

BundleDir

static
const string BundleDir

The setting naming a folder holding zips: the newest is used.

PawSource

constructor
PawSource(string zip)

A PAW Local zip.

Throws

ArgumentException
It isn't a file.

Zip

property
string Zip

The zip, absolute.

Describe

string Describe()

Where PAW comes from, for logs.

Discover

static
PawSource? 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

static
PawSource? Discover(Func<string, string?> lookup)

As Discover, looking settings up with lookup.