skipcheck

TM1 Testcontainers · Docs · Where TM1 comes from

CognosSource.ZipUrl

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

A download link for IBM's Cognos repository zip, such as a pre-signed S3 URL. Neither the query string nor the user-info part is ever logged.

Members

url propertyThe download link.
sha256 propertyThe zip's expected SHA-256, if the download is to be checked.
ZipUrl constructor
text propertyThe link as given, for the container.
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).

url

property
url: URL

The download link.

sha256

property
sha256: string | undefined

The zip's expected SHA-256, if the download is to be checked.

ZipUrl

constructor
constructor(url: URL | string, sha256?: string | null)

text

property
text: string

The link as given, for the container.

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