Configuring credentials for a Maven repository manager

You need to configure certain credentials to access Maven repository managers where your external libraries are stored. When it is configured, business experts can import external libraries into Decision Designer at the decision service level, and start using the library in a decision service.

Before you begin

You need to have the Administer platform for decision services permission to access the administration page. For more information, see Managing user permissions.

Procedure

  1. Go to the administration page in Decision Designer by adding /admin-platform at the end of the URL of Decision Designer in your browser:
    https://<decision_designer_url>/admin-platform
  2. Open the Maven configuration tab.
  3. To add a Maven repository manager, click New.
  4. In the Repository URL field, enter the URL of the Maven repository.
    For example:
    https://<Maven_repository_manager>/repository/maven-public
    Note: You must use HTTPS in the URL. Do not use HTTP.
  5. In the Authentication type field, select Credentials or Header from the drop-down menu.
    • If you select Credentials, enter the username and the password to access the Maven repository manager.
    • If you select Header, enter the header name and the header value that are required to authenticate to the Maven repository manager.

      For example, in GitLab, the header name is Private-Token, and the header value is your personal access token.

  6. Click Save.
  7. Optional: To edit or delete the configuration, click the overflow menu next to the Maven configuration, and select Edit or Delete.

What to do next

A business expert can now import an external library. For more information, see Importing and external library into Decision Designer.