Verifying publication of stubs

You can verify whether a stub or collection of stubs was published to HCL Quality Server or Dockerfile and build context.

HCL Quality Server

Procedure

  1. Log in to HCL Quality Server.
  2. Click the Environments icon or navigation link.

    The Environments Dashboard is displayed.

  3. You can change the domain and environment you want to view by clicking the domain/environment link, and from the domain/environment selection dialog displayed, select the domain, and then select the Environment.

    The Environments Dashboard is displayed for the selected environment and domain.

    Note: If you are using 8.5.1.1 or later and domain-level security is enabled, you can use only the domains to which you were granted access.

Results

The published stubs for the environment in the domain are shown on the Environments Dashboard.

Dockerfile and build context

Procedure

  1. After you publish stubs to a Dockerfile and build context, the stubs are published along with the generated Dockerfile to the output directory specified in the publish step. Open that directory where the stubs are published.

    Two directories exist, Project containing project files and UserLibs containing library files that were copied based on what was configured in the Library Manager. Three files are generated, the Dockerfile, a quickstart.html, and stubs.info.

  2. Open the stubs.info file, which shows you one or more stubs that are included in the publish process. The name of the stub, its ID, and its exposed port are shown.
  3. Open the Dockerfile. This file is the build file generated based on the stub. The file does not require modification but you might choose to update it to change the locale that is used when you run the stub.

Results

Stub information is shown in the stubs.info file.

Feedback