Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Change to your user's home directory on the server and create a new text file preevision_values.yaml with the following content:

Code Block
breakoutModewide
genoslcToolServiceVersionOverride: "" #use this to overwrite the default OSLC Connector for PREEvision version
global:
  domain: "<your-<base domain>"
  instance: "<instance name"
  registry: "repo.mid.de"
  repologin: "<login<base64 encoded; provided by MID>"
  cert:
    crtFullChain: "<FULL-CHAIN-CERT-BASE64><base64 encoded certificate chain>"
    key: "<CERT-KEY-BASE64><base64 encoded key>"
   oidc:
    clientId: "<OIDC<oauth2.0 client ID>"
    clientSecret: "<OIDC<oauth2.0 client secret>"
  hosts:
    genoslc:
      subdomain: "<subdomain where the OSLC Connector for PREEvision is accessible>"
  secrets:
    oauth2:
      wellknown: "<well known URL of the oauth2.0 provider; usually ends with /.well-known/openid-configuration>"
  identity:
    OIDC_ISSUER: "<identity URL of the oauth2.0 provider>"
ingress:
  enabled: true
  # if you use nginx as ingress controller please uncomment in this line:
  #ingressClassType: "nginx"
toolservice:
  livenessProbe:
    enabled: false
  startupProbe:
    enabled: false
  readinessProbe:
    enabled: false

env:
  authorizationUriclientScope: "<OIDCopenid <space authorizationspearated URLscopes>" #default  tokenUrivalue is openid
  userNameAttribute: "<OIDC token URL><username attribute in the JWT token>" #default  userInfoUri: "<OIDC user info URL>"is preferred_username
  allowedCorsOrigins: "<comma separated URLs of apps that can make REST calls to the OSLC Connector for PREEvision"
  loggingLevelSpringFramework: "INFO" # ERROR, WARN, INFO, DEBUG, TRACE 
  linkValidityProvider
  tool:
    type: "preevision"
    adaptedToolApiUri: "<API URL of the PREEvision instance>"
    adaptedToolRootUri: "<base URL of the PREEvision API" # usually the same as the adaptedToolApiUri
    #technical role to be used for authentication for building TRS feed; 
    technicalUser: ""
    technicalPassword: "https://<URI>/vCollabAPI""
    technicalRole: ""    
    
   adaptedToolRootUri adaptedModel: "https://<URI><PREEvision Model name>"
    adaptedToolRoles: "<list of comma separated roles users can have/select for authentication"
    getReqTree: “metric/<number>“adaptedToolToolTimeZone: UTC
    getProductLine: "<metric for retrieving product lines>"
    getProductlinesRequs: “metric/<number>“"<metric for retrieving product lines requs"
    getReqTable: "<metric for retrieving req table"
    getReqTree: “metric/<number>“ "<metric for retrieving req tree"
  
  configuration:
    # Give a list of up to 5 usernames of users which will have the administration right to change settings in OSLC Connector for PREEvision.
    # At leas one administrator user must be stated here.
    administrators:
      - <administrator1> # replace this value with the username of the person who should configure the oauth10a information for the OSLC Connector for PREEvision
    # technical role to be used for authentication# key used to encrypt the oauth10a configuration data
    getProductLine: “metric/<number>“oauth10aEncryptionKey: "" # define the key which is used to encrypt the oauth10a informatin in the database

mongodb:
  enabled: true
certtool:
  enabled: true

Install the OSLC Connector for PREEvision

...

Code Block
sudo helm upgrade --install genoslc-preevision library/genoslc -f preevision_values.yaml --version 23.60.0-genoslcv2 -n genoslc-preevision --create-namespace

...