Petals BC REST

Unable to configure the listening interface(s) of the embedded HTTP server with Petals CLI

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.1-BC
  • Fix Version/s: 1.1.0-BC
  • Component/s: Consumer mode
  • Security Level: Public
  • Description:
    Hide

    According to the Petals BC Rest documentation, we should be able to configure the interface(s) on which the HTTP server listens incoming REST requests.
    No attribute is available to configure it at installation time using Petals CLI:

    >petals-cli@localhost:7700>deploy -u mvn:org.ow2.petals/petals-bc-rest/1.1.0-SNAPSHOT/zip -D host=8099
    AVERTISSEMENT: The component installer is already loaded and only loaded, it has been automatically unloaded.
    ERROR on command 'deploy': org.ow2.petals.admin.api.exception.ArtifactAdministrationException: The parameter 'host' does not exist or is not settable for this component

    It seems that the configuration MBean of the component does not contain attribute associated to this parameter.

    Show
    According to the Petals BC Rest documentation, we should be able to configure the interface(s) on which the HTTP server listens incoming REST requests. No attribute is available to configure it at installation time using Petals CLI:
    >petals-cli@localhost:7700>deploy -u mvn:org.ow2.petals/petals-bc-rest/1.1.0-SNAPSHOT/zip -D host=8099
    AVERTISSEMENT: The component installer is already loaded and only loaded, it has been automatically unloaded.
    ERROR on command 'deploy': org.ow2.petals.admin.api.exception.ArtifactAdministrationException: The parameter 'host' does not exist or is not settable for this component
    It seems that the configuration MBean of the component does not contain attribute associated to this parameter.
  • Environment:
    -

Activity

People

Dates

  • Created:
    Thu, 23 Feb 2017 - 17:31:16 +0100
    Updated:
    Thu, 23 Feb 2017 - 17:54:15 +0100
    Resolved:
    Thu, 23 Feb 2017 - 17:54:15 +0100