Skip to content

Unable to set the 'useSsl' attribute through the Set-ISHIntegrationTMS commandlet #12

@snijderr

Description

@snijderr

When using the scripted approach to configure the TranslationOrganizer through the ISHDeploy methodology we are seeing the following incorrect behavior with the ‘Set-ISHIntegrationTMS’ commandlet.

This creates the correct configuration but misses the attribute ‘ useSsl="true" ’ which is prohibiting the TranslationOrganizer from correctly connecting to the TMS.
This attribute is just missing from the ‘add’ element which defines the different TMS aliases to connect to.

Possible solutions would be to either:

  • add a parameter to the commandlet allowing us to set the useSsl attribute to ‘true’ or ‘false’
  • automatically set this attribute based upon the protocol (https vs http) in the ‘Uri’ parameter, this way no confusion or faulty combination can be made.

I leave it to you to decide which possible solution gets implemented.

So currently executing the commandlet as shown below:

Set-ISHIntegrationTMS -Name "TMS" -Uri https://xxx.tms.sdlproducts.com -ApiKey "anyAPIKEY" -SecretKey "anySecretKey" -MaximumJobSize "41943040"

Results in an add-tag as shown below:

However it should have been (including the bolded section) in order to have a working connection

<add alias="TMS" uri="https://xxx.tms.sdlproducts.com" externalJobMaxTotalUncompressedSizeBytes="41943040" retriesOnTimeout="3" apiKey="anyAPIKEY" secret="anySecretKey" useSsl="true">

However we cannot provide the useSsl parameter and it is currently not calculated on the fly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions