Table of Contents

Project Generator Configuration

The Mervis Project Generator requires specific credentials to access the Project Manager and Data Hub. These credentials must be defined within a local `params.txt` configuration file before generating your project.

⚠️ WARNING: DEPRECATION OF “TODO” CREDENTIALS
Previously, the placeholder value `TODO` was accepted for Data Hub credentials (`–dataHubLogin TODO` and `–dataHubPass TODO`). This is no longer supported.
* Current Phase: A real Data Hub username and password must now be provided when generating new projects. Existing `params.txt` files containing `TODO` must be updated immediately to avoid failures during project generation.
* Planned Second Phase: In the upcoming second phase, existing generated projects that still use `TODO` credentials will entirely stop working. Updating only the configuration for newly generated projects will not be sufficient. You must review and update existing projects with valid Data Hub credentials before the second phase is activated to prevent downtime.

1. Configuration File (params.txt)

You must define two sets of credentials in your `params.txt` file: one for the Project Manager and one for the Data Hub.

Example configuration:

--pmLogin GlobalDomain\test-generator-manage
--pmPass rw
--dataHubLogin GlobalDomain\test-generator-data-2
--dataHubPass rws

*(Note: The exact parameter name for the Project Manager password—`–pmPass` versus `–pmPassword`—should be verified based on your specific generator version).*

2. Account Separation & Security

For optimal security, the Project Manager account and the Data Hub account should be separate entities. Both accounts must follow the principle of least privilege.

3. Project Manager Account Permissions

The `pmLogin` account is used by the Project Generator to access the Project Manager. It requires the Manage permission assigned across all data nodes in the target domain.

How to configure permissions in the Portal:

  1. Navigate to Manage domain.
  2. Select Change datanodes permissions from the actions menu.
  3. Assign the Manage checkbox to your Project Manager account for the required nodes.

Accessing datanodes permissions via the Manage Domain menu

Assigning the Manage permission to the Project Manager account

4. Data Hub Account Permissions

The `dataHubLogin` account is embedded into the generated project, which uses it for Data Hub operations. The required permissions depend entirely on the project's function:

5. Troubleshooting Common Errors

If your credentials or permissions are configured incorrectly, the Project Generator will return specific error messages.

Missing Project Manager Login or Password

Error: `ArgumentException: Not valid arguments: Invalid project manager login. Invalid project manager password.` Possible Causes:

Example of the ArgumentException error in the Generator GUI

Incorrect Project Manager Login or Password

Error: `Exception: Getting datanodes problem. Code:42-InvalidCredentials InvalidCredentials.` Possible Causes:

Missing Manage Permission

Error: `Exception: Getting datanodes problem. Code:40-ErrorByMessage Request cannot be completed for some of the requested data nodes:` Possible Cause: