Class TigerProxyGlue

java.lang.Object
de.gematik.test.tiger.glue.TigerProxyGlue

public class TigerProxyGlue extends Object
  • Constructor Details

    • TigerProxyGlue

      public TigerProxyGlue()
  • Method Details

    • setLocalTigerProxyForwardMutualTlsIdentity

      @Wenn("TGR \u00e4ndere die forwardMutualTlsIdentity des lokalen TigerProxies zu {tigerResolvedString}") @When("TGR change the local TigerProxy forwardMutualTlsIdentity to {tigerResolvedString}") public void setLocalTigerProxyForwardMutualTlsIdentity(String certificateFile)
      Changes the forwardMutualTlsIdentity of the local TigerProxy to the given value. The parameter uses the TigerPkiIdentity-syntax used also for the YAML-configuration. For more information refer to the user manual, section "Configuring PKI identities in Tiger Proxy’s tls section". Be aware: This method reboots the internal mockserver, leading to a short period in which the local TigerProxy can not forward traffic. (It will still function in a mesh-setup, no traffic will be lost). Before the method returns the mockserver is successfully restarted.
      Parameters:
      certificateFile - The certificate to use. Use TigerPkiIdentity-syntax (e.g. "my/file/name.p12;p12password")
    • setLocalTigerProxyServerIdentity

      @Wenn("TGR \u00e4ndere die serverIdentity des lokalen TigerProxies zu {tigerResolvedString}") @When("TGR change the local TigerProxy serverIdentity to {tigerResolvedString}") public void setLocalTigerProxyServerIdentity(String certificateFile)
      Changes the serverIdentity of the local TigerProxy to the given value. The parameter uses the TigerPkiIdentity-syntax used also for the YAML-configuration. For more information refer to the user manual, section "Configuring PKI identities in Tiger Proxy’s tls section". Be aware: This method reboots the internal mockserver, leading to a short period in which the local TigerProxy can not forward traffic. (It will still function in a mesh-setup, no traffic will be lost). Before the method returns the mockserver is successfully restarted.
      Parameters:
      certificateFile - The certificate to use. Use TigerPkiIdentity-syntax (e.g. "my/file/name.p12;p12password")
    • setLocalTigerProxyRootCa

      @Wenn("TGR \u00e4ndere die rootCa des lokalen TigerProxies zu {tigerResolvedString}") @When("TGR change the local TigerProxy rootCa to {tigerResolvedString}") public void setLocalTigerProxyRootCa(String certificateFile)
      Changes the rootCa of the local TigerProxy to the given value. The parameter uses the TigerPkiIdentity-syntax used also for the YAML-configuration. For more information refer to the user manual, section "Configuring PKI identities in Tiger Proxy’s tls section". Be aware: This method reboots the internal mockserver, leading to a short period in which the local TigerProxy can not forward traffic. (It will still function in a mesh-setup, no traffic will be lost). Before the method returns the mockserver is successfully restarted.
      Parameters:
      certificateFile - The certificate to use. Use TigerPkiIdentity-syntax (e.g. "my/file/name.p12;p12password")