skipcheck

TM1 Testcontainers · Docs · Where TM1 comes from

CognosSource.PrivateImage

import { CognosSource } from "@skipcheck/tm1-testcontainers";

An image built on cognos-server with Cognos inside (see the image's examples/private-image), from a private registry or only on your machine. It contains IBM software, so it must never be pushed anywhere public.

Members

PrivateImage constructor
image property
describe
PRIVATE_IMAGE propertyAn image with Cognos built in, for CognosSource.PrivateImage.
INSTALL_VOLUME propertyA Docker volume holding an install, for CognosSource.InstallVolume.
ZIP_DIR propertyA folder holding IBM's zip, for CognosSource.Zip.
ZIP propertyThe zip's file name within CognosSource.ZIP_DIR; the newest one if unset.
ZIP_URL propertyA download link for IBM's zip, for CognosSource.ZipUrl.
ZIP_SHA256 propertyThe SHA-256 to check the CognosSource.ZIP_URL download against; optional.
toStringThe description (describe), for logs.
[inspect.custom]How Node prints it.
discover staticFinds a source using lookup to read each setting (environment variables by default).

PrivateImage

constructor
constructor(readonly image: string)

image

property
readonly image: string

describe

describe(): string

PRIVATE_IMAGE

property
static PRIVATE_IMAGE

An image with Cognos built in, for CognosSource.PrivateImage.

INSTALL_VOLUME

property
static INSTALL_VOLUME

A Docker volume holding an install, for CognosSource.InstallVolume.

ZIP_DIR

property
static ZIP_DIR

A folder holding IBM's zip, for CognosSource.Zip.

ZIP

property
static ZIP

The zip's file name within CognosSource.ZIP_DIR; the newest one if unset.

ZIP_URL

property
static ZIP_URL

A download link for IBM's zip, for CognosSource.ZipUrl.

ZIP_SHA256

property
static ZIP_SHA256

The SHA-256 to check the CognosSource.ZIP_URL download against; optional.

toString

toString(): string

The description (describe), for logs.

[inspect.custom]

[inspect.custom](): string

How Node prints it: the class and its description, never a URL's credentials or query.

discover

static
static discover(lookup: Lookup = Settings.get): CognosSource | undefined

Finds a source using lookup to read each setting (environment variables by default).

Returns

the first source found, or undefined if none is configured

Throws

IllegalArgumentException if a setting is present but invalid