Petals ESB CLI

Add a configuration to select the network interface used by the embedded HTTP server

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.1.1 - Petals CLI
  • Fix Version/s: 3.2.0 - Petals CLI
  • Component/s: Configuration
  • Security Level: Public
  • Description:
    Hide

    When deploying local artifacts (on Petals CLI's machine), the embedded HTTP server is used to serve the artifact files to the Petals container.
    If several network interfaces are available on Petals CLI's machine, we could select which one to use. If the IP of Petals CLI's machine is not correctly detected, we could want to force it.
    This can be done through a new optional configuration parameter: embedded.http.host.

    Show
    When deploying local artifacts (on Petals CLI's machine), the embedded HTTP server is used to serve the artifact files to the Petals container. If several network interfaces are available on Petals CLI's machine, we could select which one to use. If the IP of Petals CLI's machine is not correctly detected, we could want to force it. This can be done through a new optional configuration parameter: embedded.http.host.
  • Environment:
    Linux

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Tue, 25 Oct 2022 - 16:03:55 +0200

'embedded.http.host' was already introduced by PETALSESBCLI-87, but not documented. User documentation is now updated.

Show
Christophe DENEUX added a comment - Tue, 25 Oct 2022 - 16:03:55 +0200 'embedded.http.host' was already introduced by PETALSESBCLI-87, but not documented. User documentation is now updated.
Hide
Christophe DENEUX added a comment - Wed, 26 Oct 2022 - 11:10:07 +0200

This issue is not duplicated. No parameter to select the network interface exists, but a confusion with the parameter of the alias 'embedded.http'.
With PETALSESBCLI-184, 'embedded.http' is no more an alias, so the parameter 'embedded.http.host' was automatically removed. We must reintroduce it to configure the network interface to use to reach the embedded HTTP server from outside.

Show
Christophe DENEUX added a comment - Wed, 26 Oct 2022 - 11:10:07 +0200 This issue is not duplicated. No parameter to select the network interface exists, but a confusion with the parameter of the alias 'embedded.http'. With PETALSESBCLI-184, 'embedded.http' is no more an alias, so the parameter 'embedded.http.host' was automatically removed. We must reintroduce it to configure the network interface to use to reach the embedded HTTP server from outside.
Hide
Christophe DENEUX added a comment - Wed, 26 Oct 2022 - 15:16:50 +0200

Added in trunk

Show
Christophe DENEUX added a comment - Wed, 26 Oct 2022 - 15:16:50 +0200 Added in trunk

People

Dates

  • Created:
    Tue, 18 Jun 2019 - 11:32:05 +0200
    Updated:
    Wed, 26 Oct 2022 - 15:16:50 +0200
    Resolved:
    Wed, 26 Oct 2022 - 15:16:50 +0200