Connect your application to Lightwell Network

Connect an application to Lightwell Networkand verify that it can resolve a Lightwell artifact.

Before you begin

  • Your Lightwell Network entitlement is active.
  • You have access to Lightwell Network.
  • You have identified the technical owner for the integration.
  • You have selected an application for validation.
  • You can modify your artifact repository manager or build-tool configuration.

Procedure

  1. Select the Lightwell Network repository tier that meets your requirements.
    • Select a repository that contains verified rebuilds if you require Red Hat-built and validated upstream packages.
    • Select a repository that contains remediated artifacts if you require security fixes for your existing dependency versions.
    • If you consume multiple repository tiers, configure them in the appropriate order of preference.

    For more information, see Choose the right repository for your environment.

  2. Create a Lightwell Network service account.
    • Record the service account username and token.
    • Store the credentials according to your organization's credential-management policy.
    • Do not store the token in source control.

    For more information, see Create a Lightwell Network service account.

  3. Configure your build environment to access Lightwell Network by choosing one of the following approaches:
    • Configure JFrog Artifactory or Sonatype Nexus to proxy the appropriate Lightwell Network repository.
    • Configure your Java or Python build tool to resolve dependencies directly from Lightwell Network.
  4. Configure the repository URL and service account credentials for the selected approach.
  5. Verify access to the Lightwell Network repository.
    • If you use an artifact repository manager, use its connection test.
    • If you connect directly from a build tool, resolve a dependency to verify access.
  6. Run a build or dependency resolution for your application.
  7. Verify that the dependency resolves from the intended Lightwell Network repository.

    Check the build output or artifact repository manager cache.

  8. If you are consuming a remediated artifact, verify that the resolved artifact has the expected Lightwell version suffix.

Results

Your application can resolve artifacts from Lightwell Network.

Successful dependency resolution confirms that your entitlement, credentials, network connectivity, and repository configuration are working.