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.
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).*
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.
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:
Accessing datanodes permissions via the Manage Domain menu
Assigning the Manage permission to the Project Manager account
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:
If your credentials or permissions are configured incorrectly, the Project Generator will return specific error messages.
Error: `ArgumentException: Not valid arguments: Invalid project manager login. Invalid project manager password.` Possible Causes:
Example of the ArgumentException error in the Generator GUI
Error: `Exception: Getting datanodes problem. Code:42-InvalidCredentials InvalidCredentials.` Possible Causes:
Error: `Exception: Getting datanodes problem. Code:40-ErrorByMessage Request cannot be completed for some of the requested data nodes:` Possible Cause: