You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alexis Midon (JIRA)" <ji...@apache.org> on 2008/05/27 18:42:00 UTC

[jira] Created: (ODE-295) Integration-Layer configuration

Integration-Layer configuration
-------------------------------

                 Key: ODE-295
                 URL: https://issues.apache.org/jira/browse/ODE-295
             Project: ODE
          Issue Type: New Feature
          Components: BPEL Runtime
            Reporter: Alexis Midon
             Fix For: 1.2, 1.3, 1.1


Add support for external services configuration at runtime.
Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.

This could be done with a property file (per deployement unit).



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: ODE branch 1.1 is not compiling

Posted by Alex Boisvert <bo...@intalio.com>.
Can you try,

"touch Rakefile"
"rake eclipse"
and then refresh all your projects in your workspace (select + F5)

?


On Wed, May 28, 2008 at 1:58 AM, Ciaran <ci...@gmail.com> wrote:

> Fwiw that problem has existed in trunk head for the last couple of days,
> since the global package rename, it seems to compile ok from the command
> line, but shows errors in eclipse, ;)
> - ciaran
>
> On Wed, May 28, 2008 at 8:58 AM, Nowakowski, Mateusz <
> Mateusz.Nowakowski@sabre-holdings.com> wrote:
>
> > > There is probably some problem with merge from trunk for external
> > > variables functionality.
> > >
> > > bpel-api project contain physically package:
> > >
> > > org.apache.apche.ode.bpel.evar
> > >
> > > but classes inside references to
> > > org.apache.ode.bpel.evar
> > > package.
> > >
> > >
> > >Just tried to update and clean build 1.1 and it compiled for me. Are
> > you
> > >sure you're up to date?
> > >
> > >Thanks,
> > >Matthieu
> >
> >
> > Yes, it is building by 'rake TEST=no package' somehow, but after I've
> > made 'rake eclipse', I've noticed that there are such directories
> > hierarchy:
> >
> > bpel-api\src\main\java\org\apache\apche\ode\bpel\evar\
> >
> > and the classes inside are referenced to org.apache.ode.bpel.evar
> > package, and Eclipse shows me the same error.
> >
> > --
> > Regards,
> > Mateusz Nowakowski
> >
>
>
>
> --
> - Ciaran
>

Re: ODE branch 1.1 is not compiling

Posted by Ciaran <ci...@gmail.com>.
Fwiw that problem has existed in trunk head for the last couple of days,
since the global package rename, it seems to compile ok from the command
line, but shows errors in eclipse, ;)
- ciaran

On Wed, May 28, 2008 at 8:58 AM, Nowakowski, Mateusz <
Mateusz.Nowakowski@sabre-holdings.com> wrote:

> > There is probably some problem with merge from trunk for external
> > variables functionality.
> >
> > bpel-api project contain physically package:
> >
> > org.apache.apche.ode.bpel.evar
> >
> > but classes inside references to
> > org.apache.ode.bpel.evar
> > package.
> >
> >
> >Just tried to update and clean build 1.1 and it compiled for me. Are
> you
> >sure you're up to date?
> >
> >Thanks,
> >Matthieu
>
>
> Yes, it is building by 'rake TEST=no package' somehow, but after I've
> made 'rake eclipse', I've noticed that there are such directories
> hierarchy:
>
> bpel-api\src\main\java\org\apache\apche\ode\bpel\evar\
>
> and the classes inside are referenced to org.apache.ode.bpel.evar
> package, and Eclipse shows me the same error.
>
> --
> Regards,
> Mateusz Nowakowski
>



-- 
- Ciaran

RE: ODE branch 1.1 is not compiling

Posted by "Nowakowski, Mateusz" <Ma...@sabre-holdings.com>.
> There is probably some problem with merge from trunk for external
> variables functionality.
>
> bpel-api project contain physically package:
>
> org.apache.apche.ode.bpel.evar
>
> but classes inside references to
> org.apache.ode.bpel.evar
> package.
>
>
>Just tried to update and clean build 1.1 and it compiled for me. Are
you
>sure you're up to date?
>
>Thanks,
>Matthieu


Yes, it is building by 'rake TEST=no package' somehow, but after I've
made 'rake eclipse', I've noticed that there are such directories
hierarchy:

bpel-api\src\main\java\org\apache\apche\ode\bpel\evar\

and the classes inside are referenced to org.apache.ode.bpel.evar
package, and Eclipse shows me the same error.

-- 
Regards,
Mateusz Nowakowski

Re: ODE branch 1.1 is not compiling

Posted by Matthieu Riou <ma...@offthelip.org>.
On Tue, May 27, 2008 at 12:02 PM, Nowakowski, Mateusz <
Mateusz.Nowakowski@sabre-holdings.com> wrote:

>
> There is probably some problem with merge from trunk for external
> variables functionality.
>
> bpel-api project contain physically package:
>
> org.apache.apche.ode.bpel.evar
>
> but classes inside references to
> org.apache.ode.bpel.evar
> package.
>

Just tried to update and clean build 1.1 and it compiled for me. Are you
sure you're up to date?

Thanks,
Matthieu


>
> --
> Regards
> Mateusz Nowakowski
>
>

ODE branch 1.1 is not compiling

Posted by "Nowakowski, Mateusz" <Ma...@sabre-holdings.com>.
There is probably some problem with merge from trunk for external
variables functionality.

bpel-api project contain physically package:

org.apache.apche.ode.bpel.evar

but classes inside references to 
org.apache.ode.bpel.evar
package.

-- 
Regards
Mateusz Nowakowski


[jira] Resolved: (ODE-295) Integration-Layer configuration

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Riou resolved ODE-295.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.3)
                       (was: 1.1)
         Assignee: Matthieu Riou

Last patch applied.

> Integration-Layer configuration
> -------------------------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>            Assignee: Matthieu Riou
>             Fix For: 1.2
>
>         Attachments: ODE-295_patch#1.txt, ODE-295_trunk_patch#1.txt
>
>
> *Abstract:*
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployment unit).
> *Details:*
> This issue adds a mechanism to pass properties from the ProcessConf to the Integration Layer, and leverages it to configure external services.
> The ProcessConf interface has a method Map<String, String> getProperties(String...).
> This method is meant to expose properties to the Integration Layer. These properties have to be specific to the process configuration. It's the implementor responsability to define what these properties are, what they are used for. The String array received as argument may be used to specify filters, criteria to get only a subset of the properties.
> Default Implementation
> The default implementation will use the first two parameters as service name and port name.
> This method is backed by a property file named integration-layer.properties. This file must be placed in the deployment unit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ODE-295) EPR configuration

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603565#action_12603565 ] 

Alexis Midon commented on ODE-295:
----------------------------------

patch applied on trunk. I did it myself now that I can commit!

> EPR configuration
> -----------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>            Assignee: Matthieu Riou
>             Fix For: 1.2
>
>         Attachments: ODE-295_branch_patch#2.txt, ODE-295_patch#1.txt, ODE-295_trunk_patch#1.txt
>
>
> *Abstract:*
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployment unit).
> *Details:*
> This issue adds a mechanism to pass properties from the ProcessConf to the Integration Layer, and leverages it to configure external services.
> The ProcessConf interface has a method Map<String, String> getProperties(String...).
> This method is meant to expose properties to the Integration Layer. These properties have to be specific to the process configuration. It's the implementor responsability to define what these properties are, what they are used for. The String array received as argument may be used to specify filters, criteria to get only a subset of the properties.
> Default Implementation
> The default implementation will use the first two parameters as service name and port name.
> This method is backed by a property file named integration-layer.properties. This file must be placed in the deployment unit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-295) Integration-Layer configuration

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon updated ODE-295:
-----------------------------

    Attachment: ODE-295_branch_patch#2.txt

patch to be applied on top on the previous one.

> Integration-Layer configuration
> -------------------------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>            Assignee: Matthieu Riou
>             Fix For: 1.2
>
>         Attachments: ODE-295_branch_patch#2.txt, ODE-295_patch#1.txt, ODE-295_trunk_patch#1.txt
>
>
> *Abstract:*
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployment unit).
> *Details:*
> This issue adds a mechanism to pass properties from the ProcessConf to the Integration Layer, and leverages it to configure external services.
> The ProcessConf interface has a method Map<String, String> getProperties(String...).
> This method is meant to expose properties to the Integration Layer. These properties have to be specific to the process configuration. It's the implementor responsability to define what these properties are, what they are used for. The String array received as argument may be used to specify filters, criteria to get only a subset of the properties.
> Default Implementation
> The default implementation will use the first two parameters as service name and port name.
> This method is backed by a property file named integration-layer.properties. This file must be placed in the deployment unit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ODE-295) EPR configuration

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Riou resolved ODE-295.
-------------------------------

    Resolution: Fixed

Patch applied.

> EPR configuration
> -----------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>            Assignee: Matthieu Riou
>             Fix For: 1.2
>
>         Attachments: ODE-295_branch_patch#2.txt, ODE-295_patch#1.txt, ODE-295_trunk_patch#1.txt
>
>
> *Abstract:*
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployment unit).
> *Details:*
> This issue adds a mechanism to pass properties from the ProcessConf to the Integration Layer, and leverages it to configure external services.
> The ProcessConf interface has a method Map<String, String> getProperties(String...).
> This method is meant to expose properties to the Integration Layer. These properties have to be specific to the process configuration. It's the implementor responsability to define what these properties are, what they are used for. The String array received as argument may be used to specify filters, criteria to get only a subset of the properties.
> Default Implementation
> The default implementation will use the first two parameters as service name and port name.
> This method is backed by a property file named integration-layer.properties. This file must be placed in the deployment unit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-295) Integration-Layer configuration

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon updated ODE-295:
-----------------------------

    Attachment: ODE-295_patch#1.txt

> Integration-Layer configuration
> -------------------------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>             Fix For: 1.1, 1.2, 1.3
>
>         Attachments: ODE-295_patch#1.txt
>
>
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployement unit).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-295) Integration-Layer configuration

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon updated ODE-295:
-----------------------------

    Description: 
*Abstract:*
Add support for external services configuration at runtime.
Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.

This could be done with a property file (per deployment unit).

*Details:*
This issue adds a mechanism to pass properties from the ProcessConf to the Integration Layer, and leverages it to configure external services.

The ProcessConf interface has a method Map<String, String> getProperties(String...).
This method is meant to expose properties to the Integration Layer. These properties have to be specific to the process configuration. It's the implementor responsability to define what these properties are, what they are used for. The String array received as argument may be used to specify filters, criteria to get only a subset of the properties.
Default Implementation

The default implementation will use the first two parameters as service name and port name.

This method is backed by a property file named integration-layer.properties. This file must be placed in the deployment unit.


  was:
Add support for external services configuration at runtime.
Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.

This could be done with a property file (per deployement unit).




> Integration-Layer configuration
> -------------------------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>             Fix For: 1.1, 1.2, 1.3
>
>         Attachments: ODE-295_patch#1.txt, ODE-295_trunk_patch#1.txt
>
>
> *Abstract:*
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployment unit).
> *Details:*
> This issue adds a mechanism to pass properties from the ProcessConf to the Integration Layer, and leverages it to configure external services.
> The ProcessConf interface has a method Map<String, String> getProperties(String...).
> This method is meant to expose properties to the Integration Layer. These properties have to be specific to the process configuration. It's the implementor responsability to define what these properties are, what they are used for. The String array received as argument may be used to specify filters, criteria to get only a subset of the properties.
> Default Implementation
> The default implementation will use the first two parameters as service name and port name.
> This method is backed by a property file named integration-layer.properties. This file must be placed in the deployment unit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-295) EPR configuration

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon updated ODE-295:
-----------------------------

    Summary: EPR configuration  (was: Integration-Layer configuration)

> EPR configuration
> -----------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>            Assignee: Matthieu Riou
>             Fix For: 1.2
>
>         Attachments: ODE-295_branch_patch#2.txt, ODE-295_patch#1.txt, ODE-295_trunk_patch#1.txt
>
>
> *Abstract:*
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployment unit).
> *Details:*
> This issue adds a mechanism to pass properties from the ProcessConf to the Integration Layer, and leverages it to configure external services.
> The ProcessConf interface has a method Map<String, String> getProperties(String...).
> This method is meant to expose properties to the Integration Layer. These properties have to be specific to the process configuration. It's the implementor responsability to define what these properties are, what they are used for. The String array received as argument may be used to specify filters, criteria to get only a subset of the properties.
> Default Implementation
> The default implementation will use the first two parameters as service name and port name.
> This method is backed by a property file named integration-layer.properties. This file must be placed in the deployment unit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-295) Integration-Layer configuration

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon updated ODE-295:
-----------------------------

    Attachment: ODE-295_trunk_patch#1.txt

patch for trunk

> Integration-Layer configuration
> -------------------------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>             Fix For: 1.1, 1.2, 1.3
>
>         Attachments: ODE-295_patch#1.txt, ODE-295_trunk_patch#1.txt
>
>
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployement unit).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (ODE-295) Integration-Layer configuration

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon reopened ODE-295:
------------------------------


After discussion about this, we agreed on the following:

    * EPRs implementation knowledge belongs to the messaging part of the IL, the deployment part should only have to deal with the EndpointReference interface and its representation as a configuration key.

    * we should have a better abstraction than a String[] (that assumes ordering and such) as representation of the characteristics of an EPR for configuration lookup.

So in the code we would have to modify:

    * EndpointReferenceContext to add a getConfigLookup(EndpointReference) method that would return a Map (and in the case of the Axis2 IL it would return something like {'service'=>'foo', 'port'=>'bar', 'url'=>'baz'}).

    * Have the 2 methods named getProcessProperties() (instead of getDeploymentProperties) and getEndpointProperties(EndpointReference) (instead of getProperties(String...)).

    * Set a reference to EndpointReferenceContext in the process store so that it can pass it the ProcessConfImpl instances. ProcessConfImpl.getEndpointProperties would then call EndpointReferenceContext.getConfigLookup(epr) to get the names it should use for the configuration lookup. Once these names are obtained, the implementation is going to be roughly the same.

We discussed a bit about how to handle namespaces and urls and thought the prettiest would probably be aliasing them. So you would have a set of alias at the beginning of the property file, like:

alias.foo=http://foo.com

> Integration-Layer configuration
> -------------------------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>            Assignee: Matthieu Riou
>             Fix For: 1.2
>
>         Attachments: ODE-295_patch#1.txt, ODE-295_trunk_patch#1.txt
>
>
> *Abstract:*
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployment unit).
> *Details:*
> This issue adds a mechanism to pass properties from the ProcessConf to the Integration Layer, and leverages it to configure external services.
> The ProcessConf interface has a method Map<String, String> getProperties(String...).
> This method is meant to expose properties to the Integration Layer. These properties have to be specific to the process configuration. It's the implementor responsability to define what these properties are, what they are used for. The String array received as argument may be used to specify filters, criteria to get only a subset of the properties.
> Default Implementation
> The default implementation will use the first two parameters as service name and port name.
> This method is backed by a property file named integration-layer.properties. This file must be placed in the deployment unit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ODE-295) Integration-Layer configuration

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601175#action_12601175 ] 

Alexis Midon commented on ODE-295:
----------------------------------

ODE-295_patch#1.txt is for branch 1.1

Patch for trunk is on the way.

> Integration-Layer configuration
> -------------------------------
>
>                 Key: ODE-295
>                 URL: https://issues.apache.org/jira/browse/ODE-295
>             Project: ODE
>          Issue Type: New Feature
>          Components: BPEL Runtime
>            Reporter: Alexis Midon
>             Fix For: 1.1, 1.2, 1.3
>
>         Attachments: ODE-295_patch#1.txt
>
>
> Add support for external services configuration at runtime.
> Some settings (like timeout, proxy, headers etc) may have to be defined dynamically and on a service-basis.
> This could be done with a property file (per deployement unit).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.