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

Hide
Christophe DENEUX added a comment - Thu, 23 Feb 2017 - 17:31:41 +0100

Yes, no dedicated attribute is available at the configuration MBean level of the component for this parameter.

Waiting to add the right attribute, the only way to configure the component is to update the component JBI descriptor in the component archive.

Show
Christophe DENEUX added a comment - Thu, 23 Feb 2017 - 17:31:41 +0100 Yes, no dedicated attribute is available at the configuration MBean level of the component for this parameter. Waiting to add the right attribute, the only way to configure the component is to update the component JBI descriptor in the component archive.
Christophe DENEUX made changes - Thu, 23 Feb 2017 - 17:31:41 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Thu, 23 Feb 2017 - 17:31:46 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Thu, 23 Feb 2017 - 17:54:15 +0100

Fixed in trunk

Show
Christophe DENEUX added a comment - Thu, 23 Feb 2017 - 17:54:15 +0100 Fixed in trunk
Christophe DENEUX made changes - Thu, 23 Feb 2017 - 17:54:15 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.1.0-BC [ 10696 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
25s
1
Christophe DENEUX
Thu, 23 Feb 2017 - 17:31:41 +0100
Open Open In Progress In Progress
5s
1
Christophe DENEUX
Thu, 23 Feb 2017 - 17:31:46 +0100
In Progress In Progress Resolved Resolved
22m 29s
1
Christophe DENEUX
Thu, 23 Feb 2017 - 17:54:15 +0100



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