You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Rajkumar Rajaratnam <ra...@wso2.com> on 2015/12/02 14:53:28 UTC

CEP extension pack doesn't bundle all the necessary jars needed for external CEP deployment

​​​Hi Devs,

IMHO, CEP extension pack should include all the necessary jars needed for
both embedded and external CEP deployment. We are not currently bundling
messaging, commons and activemq client libraries in CEP extension pack. PR
[1] fixes it.

In addition to this, PR [1] fixes the CEP extension pack format as below
(artifacts, license and read-me files are omitted for clarity)

Previous format
---------------------
├── lib
│   ├── org.apache.stratos.cep300.extension-4.1.5-SNAPSHOT.jar
│   └── org.apache.stratos.cep310.extension-4.1.5-SNAPSHOT.jar
├── wso2cep-3.0.0
│   ├── eventbuilders
│   ├── eventformatters
│   ├── executionplans
│   ├── inputeventadaptors
│   ├── outputeventadaptors
│   └── streamdefinitions
└── wso2cep-3.1.0
    ├── eventbuilders
    ├── eventformatters
    ├── executionplans
    ├── inputeventadaptors
    ├── outputeventadaptors
    └── streamdefinitions

New format
----------------
├── lib
│   ├── activemq-client-5.10.0.jar
│   ├── commons-lang3-3.1.jar
│   ├── geronimo-j2ee-management_1.1_spec-1.0.1.jar
│   ├── hawtbuf-1.9.jar
│   ├── org.apache.stratos.common-4.1.5-SNAPSHOT.jar
│   └── org.apache.stratos.messaging-4.1.5-SNAPSHOT.jar
├── wso2cep-3.0.0
│   ├── eventbuilders
│   ├── eventformatters
│   ├── executionplans
│   ├── inputeventadaptors
│   ├── lib
│   │   └── org.apache.stratos.cep300.extension-4.1.5-SNAPSHOT.jar
│   ├── outputeventadaptors
│   └── streamdefinitions
└── wso2cep-3.1.0
    ├── eventbuilders
    ├── eventformatters
    ├── executionplans
    ├── inputeventadaptors
    ├── lib
    │   └── org.apache.stratos.cep310.extension-4.1.5-SNAPSHOT.jar
    ├── outputeventadaptors
    └── streamdefinitions

Since this is not critical or blocker, lets merge it after 4.1.5 release.

[1] https://github.com/apache/stratos/pull/499

Thanks,
Raj.

-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Re: CEP extension pack doesn't bundle all the necessary jars needed for external CEP deployment

Posted by Rajkumar Rajaratnam <ra...@wso2.com>.
Fixed in 02c17e45047c6b88b94330f62f994e080a75a36d

Thanks Thanuja for bringing out this issue.

Thanks,
Raj.

On Wed, Dec 2, 2015 at 8:32 PM, Gayan Gunarathne <ga...@wso2.com> wrote:

> +1 for this.
>
> Also I have noticed that read-me file is not up to-date with the context.
> We can have some instructions in read-me on how to use these artifacts.
>
>
> https://github.com/apache/stratos/tree/stratos-4.1.x/extensions/cep/modules/distribution
>
> Thanks,
> Gayan
>
> On Wed, Dec 2, 2015 at 7:23 PM, Rajkumar Rajaratnam <ra...@wso2.com>
> wrote:
>
>> ​​​Hi Devs,
>>
>> IMHO, CEP extension pack should include all the necessary jars needed for
>> both embedded and external CEP deployment. We are not currently bundling
>> messaging, commons and activemq client libraries in CEP extension pack. PR
>> [1] fixes it.
>>
>> In addition to this, PR [1] fixes the CEP extension pack format as below
>> (artifacts, license and read-me files are omitted for clarity)
>>
>> Previous format
>> ---------------------
>> ├── lib
>> │   ├── org.apache.stratos.cep300.extension-4.1.5-SNAPSHOT.jar
>> │   └── org.apache.stratos.cep310.extension-4.1.5-SNAPSHOT.jar
>> ├── wso2cep-3.0.0
>> │   ├── eventbuilders
>> │   ├── eventformatters
>> │   ├── executionplans
>> │   ├── inputeventadaptors
>> │   ├── outputeventadaptors
>> │   └── streamdefinitions
>> └── wso2cep-3.1.0
>>     ├── eventbuilders
>>     ├── eventformatters
>>     ├── executionplans
>>     ├── inputeventadaptors
>>     ├── outputeventadaptors
>>     └── streamdefinitions
>>
>> New format
>> ----------------
>> ├── lib
>> │   ├── activemq-client-5.10.0.jar
>> │   ├── commons-lang3-3.1.jar
>> │   ├── geronimo-j2ee-management_1.1_spec-1.0.1.jar
>> │   ├── hawtbuf-1.9.jar
>> │   ├── org.apache.stratos.common-4.1.5-SNAPSHOT.jar
>> │   └── org.apache.stratos.messaging-4.1.5-SNAPSHOT.jar
>> ├── wso2cep-3.0.0
>> │   ├── eventbuilders
>> │   ├── eventformatters
>> │   ├── executionplans
>> │   ├── inputeventadaptors
>> │   ├── lib
>> │   │   └── org.apache.stratos.cep300.extension-4.1.5-SNAPSHOT.jar
>> │   ├── outputeventadaptors
>> │   └── streamdefinitions
>> └── wso2cep-3.1.0
>>     ├── eventbuilders
>>     ├── eventformatters
>>     ├── executionplans
>>     ├── inputeventadaptors
>>     ├── lib
>>     │   └── org.apache.stratos.cep310.extension-4.1.5-SNAPSHOT.jar
>>     ├── outputeventadaptors
>>     └── streamdefinitions
>>
>> Since this is not critical or blocker, lets merge it after 4.1.5 release.
>>
>> [1] https://github.com/apache/stratos/pull/499
>>
>> Thanks,
>> Raj.
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
>
> Gayan Gunarathne
> Technical Lead, WSO2 Inc. (http://wso2.com)
> Committer & PMC Member, Apache Stratos
> email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>
>
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Re: CEP extension pack doesn't bundle all the necessary jars needed for external CEP deployment

Posted by Gayan Gunarathne <ga...@wso2.com>.
+1 for this.

Also I have noticed that read-me file is not up to-date with the context.
We can have some instructions in read-me on how to use these artifacts.

https://github.com/apache/stratos/tree/stratos-4.1.x/extensions/cep/modules/distribution

Thanks,
Gayan

On Wed, Dec 2, 2015 at 7:23 PM, Rajkumar Rajaratnam <ra...@wso2.com>
wrote:

> ​​​Hi Devs,
>
> IMHO, CEP extension pack should include all the necessary jars needed for
> both embedded and external CEP deployment. We are not currently bundling
> messaging, commons and activemq client libraries in CEP extension pack. PR
> [1] fixes it.
>
> In addition to this, PR [1] fixes the CEP extension pack format as below
> (artifacts, license and read-me files are omitted for clarity)
>
> Previous format
> ---------------------
> ├── lib
> │   ├── org.apache.stratos.cep300.extension-4.1.5-SNAPSHOT.jar
> │   └── org.apache.stratos.cep310.extension-4.1.5-SNAPSHOT.jar
> ├── wso2cep-3.0.0
> │   ├── eventbuilders
> │   ├── eventformatters
> │   ├── executionplans
> │   ├── inputeventadaptors
> │   ├── outputeventadaptors
> │   └── streamdefinitions
> └── wso2cep-3.1.0
>     ├── eventbuilders
>     ├── eventformatters
>     ├── executionplans
>     ├── inputeventadaptors
>     ├── outputeventadaptors
>     └── streamdefinitions
>
> New format
> ----------------
> ├── lib
> │   ├── activemq-client-5.10.0.jar
> │   ├── commons-lang3-3.1.jar
> │   ├── geronimo-j2ee-management_1.1_spec-1.0.1.jar
> │   ├── hawtbuf-1.9.jar
> │   ├── org.apache.stratos.common-4.1.5-SNAPSHOT.jar
> │   └── org.apache.stratos.messaging-4.1.5-SNAPSHOT.jar
> ├── wso2cep-3.0.0
> │   ├── eventbuilders
> │   ├── eventformatters
> │   ├── executionplans
> │   ├── inputeventadaptors
> │   ├── lib
> │   │   └── org.apache.stratos.cep300.extension-4.1.5-SNAPSHOT.jar
> │   ├── outputeventadaptors
> │   └── streamdefinitions
> └── wso2cep-3.1.0
>     ├── eventbuilders
>     ├── eventformatters
>     ├── executionplans
>     ├── inputeventadaptors
>     ├── lib
>     │   └── org.apache.stratos.cep310.extension-4.1.5-SNAPSHOT.jar
>     ├── outputeventadaptors
>     └── streamdefinitions
>
> Since this is not critical or blocker, lets merge it after 4.1.5 release.
>
> [1] https://github.com/apache/stratos/pull/499
>
> Thanks,
> Raj.
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : gayang@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>