...
The Root Services URL of the Smartfacts OSLC connector can now be found in the Smartfacts tab of the Model Warehouse profile.
Support for Technical User
The smartfacts platform now supports a technical user. The technical user is allowed to get full read access to resources in Smartfacts ( Projects, Models, Model Elements ), indendent of access rights.
However, the authorization for using it, must be gained by Basic Authorization, instead of OAuth2 (OIDC) Authorization which ist enabled by default.
The platform must be started with a JAVA VM option parameter (-D ), where the basic auth value is defined.
For example:
-DTechnicalUserBasicAuth=dGVjaG5pY2FsOnRlY2huaWNhbA==
which is the Base64 encoded value for “technical:technical”
Keep in mind, this features enables user for full access to the model data. Keep the value for this in a safe place to prevent misusage.
Implementation in the deployment
Available since Smartfacts Helm chart version 3.15.0 (Released 2023-01-26).
Auto generated username and password for basic auth api calls
If in the file values.yaml the property global.useBasicAuthForApi
is set to true a username and password for basic authentication in API calls to the platform is generated.
The administrator can obtain the generated username and password with the command
Code Block |
---|
sudo kubectl get secret smartfacts-api-basic-auth-secret -o 'go-template={{index .data "BASIC_AUTH_API_TOKEN"}}' -n smartfacts | base64 -d; echo "" |
Defining a custom username and password for basic auth api calls
The customer can override the generated username and password in the file “values.yaml” by setting the two properties global.secrets.smartfacts.basicAuthForApi.username
and global.secrets.smartfacts.basicAuthForApi.password
. If the property global.useBasicAuthForApi
is set to false these two properties have no effect.
PTC Codebeamer
Codebeamer Views of requirements can be loaded into the plug-in grid
...