TIBCO Foresight REST API Dockerfiles and Scripts

Foresight® REST API installation and deployment packages provide all the necessary Dockerfiles, scripts, and configuration files to install, deploy, and uninstall all the Foresight REST API services or deployments.

Dockerfiles and Scripts

A Dockerfile is simply a text-based script of instructions that is used to create a container image.

File Description
build-fsrest-engine.sh Creates the Foresight Instream/Foresight Translator engine used by the Foresight REST API image.
build-images.sh Creates the Foresight REST API Docker images and push the images to the Docker repository.
deploy-fsrest.sh Deploys the Foresight REST API services onto the Kubernetes cluster.
docker-run-fsrest.sh Deploys the Foresight REST API image to the docker registry.

remove_fsrest_services.sh

Deletes Foresight REST API services from Kubernetes cluster.

apply_secret_docker_login.sh Creates the Kubernetes secret Docker-registry for Docker login.
stop_fsrest_container.sh Stop and remove the docker container from the docker registry.
build-fsrest-image-silent.sh Creates the Foresight REST API docker images and pushes the images to the docker repository.

Configuration files

A configuration file (config file) is used to configure the parameters, settings, and preferences.

File Description
configuration.properties Contains the docker properties to be set before building Foresight REST API docker images.
build-fsrest-image-silent.properties Contains all other properties to be set before building Foresight REST API docker images.
deployment.properties Contains all the properties that user has to set to deploy the BusinessConnect Container Edition’s Docker images to the Kubernetes cluster.