You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Sajith Kariyawasam <sa...@wso2.com> on 2014/09/10 16:35:34 UTC

Fwd: [1/2] git commit: Added java2wsdl plugin execution

Hi all,

I have added a java2wsdl plugin execution for the Cloudcontroller
component's pom.xml. So that when you build the CC component WSDL will also
be generated in target/generated-resources/wsdl directory. This way wsdl
can be obtained without deploying the component into the server.
Need to do the same for all the other WSDLs as well.
Still this is available in docker-integration branch, will move to master
branch later.

Thanks,
Sajith


---------- Forwarded message ----------
From: <sa...@apache.org>
Date: Wed, Sep 10, 2014 at 7:51 PM
Subject: [1/2] git commit: Added java2wsdl plugin execution
To: commits@stratos.apache.org


Repository: stratos
Updated Branches:
  refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877


Added java2wsdl plugin execution


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236

Branch: refs/heads/docker-integration
Commit: 9484e23637acd174b8428ca8ff2af525736f7248
Parents: 54c8a6e
Author: sajhak <sa...@gmail.com>
Authored: Wed Sep 10 19:46:41 2014 +0530
Committer: sajhak <sa...@gmail.com>
Committed: Wed Sep 10 19:46:41 2014 +0530

----------------------------------------------------------------------
 .../org.apache.stratos.cloud.controller/pom.xml      | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
b/components/org.apache.stratos.cloud.controller/pom.xml
index b5e3605..448fafc 100644
--- a/components/org.apache.stratos.cloud.controller/pom.xml
+++ b/components/org.apache.stratos.cloud.controller/pom.xml
@@ -85,6 +85,21 @@
                     </instructions>
                 </configuration>
             </plugin>
+            <plugin>
+                       <groupId>org.apache.axis2</groupId>
+
 <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
+                       <configuration>
+
<className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
+
<outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
+                       </configuration>
+                       <executions>
+                          <execution>
+                            <goals>
+                              <goal>java2wsdl</goal>
+                            </goals>
+                         </execution>
+                       </executions>
+            </plugin>
         </plugins>
     </build>





-- 
*Sajith Kariyawasam*


*Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
<http://wso2.com>AMIE (SL)Mobile: +94772269575*

Re: [1/2] git commit: Added java2wsdl plugin execution

Posted by Nirmal Fernando <ni...@gmail.com>.
Thanks Mari.

On Mon, Dec 8, 2014 at 3:25 PM, Mariangela Hills <ma...@wso2.com>
wrote:

> I have added information on how to generate a WSDL automatically in the
> developer guide [1].
>
> [1]
> https://cwiki.apache.org/confluence/display/STRATOS/Automatically+Generating+a+WSDL+File
>
> Regards,
> Mariangela
>
>
>
>
> *--*
> Mariangela Hills
> Senior Technical Writer
>
> *WSO2, Inc.*lean.enterprise.middleware.
> m: +94 773 500185
> w: http://wso2.com
> <http://wso2.com/events/>
>
> On Wed, Dec 3, 2014 at 1:29 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> +1 Great work Sajith!
>>
>> Thanks
>>
>> On Wed, Dec 3, 2014 at 8:29 AM, Nirmal Fernando <ni...@gmail.com>
>> wrote:
>>
>>> We need to add this to developer wiki IMO, so that everyone would use
>>> auto-generated WSDL.
>>>
>>> On Wed, Dec 3, 2014 at 8:27 AM, Nirmal Fernando <ni...@gmail.com>
>>> wrote:
>>>
>>>> This is very useful!! Thanks again :)
>>>>
>>>> On Thu, Sep 11, 2014 at 7:46 AM, Nirmal Fernando <
>>>> nirmal070125@gmail.com> wrote:
>>>>
>>>>> Thanks Sajith. @Sajith / @Akila Can you merge only these commits to
>>>>> master?
>>>>>
>>>>> On Thu, Sep 11, 2014 at 6:33 AM, Shiroshica Kulatilake <shiro@wso2.com
>>>>> > wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> This is very useful.
>>>>>>
>>>>>> Should we move just this change to the master branch soon ?
>>>>>>
>>>>>> Thank you,
>>>>>> Shiro
>>>>>>
>>>>>> On Thu, Sep 11, 2014 at 4:46 AM, Akila Ravihansa Perera <
>>>>>> ravihansa@wso2.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> That's a very convenient way to generate the WSDL. Thanks Sajith!
>>>>>>>
>>>>>>> I've applied the same changes for AutoScaler component as well.
>>>>>>>
>>>>>>> On Wed, Sep 10, 2014 at 8:05 PM, Sajith Kariyawasam <sa...@wso2.com>
>>>>>>> wrote:
>>>>>>> > Hi all,
>>>>>>> >
>>>>>>> > I have added a java2wsdl plugin execution for the Cloudcontroller
>>>>>>> > component's pom.xml. So that when you build the CC component WSDL
>>>>>>> will also
>>>>>>> > be generated in target/generated-resources/wsdl directory. This
>>>>>>> way wsdl can
>>>>>>> > be obtained without deploying the component into the server.
>>>>>>> > Need to do the same for all the other WSDLs as well.
>>>>>>> > Still this is available in docker-integration branch, will move to
>>>>>>> master
>>>>>>> > branch later.
>>>>>>> >
>>>>>>> > Thanks,
>>>>>>> > Sajith
>>>>>>> >
>>>>>>> >
>>>>>>> > ---------- Forwarded message ----------
>>>>>>> > From: <sa...@apache.org>
>>>>>>> > Date: Wed, Sep 10, 2014 at 7:51 PM
>>>>>>> > Subject: [1/2] git commit: Added java2wsdl plugin execution
>>>>>>> > To: commits@stratos.apache.org
>>>>>>> >
>>>>>>> >
>>>>>>> > Repository: stratos
>>>>>>> > Updated Branches:
>>>>>>> >   refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877
>>>>>>> >
>>>>>>> >
>>>>>>> > Added java2wsdl plugin execution
>>>>>>> >
>>>>>>> >
>>>>>>> > Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
>>>>>>> > Commit:
>>>>>>> http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
>>>>>>> > Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
>>>>>>> > Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236
>>>>>>> >
>>>>>>> > Branch: refs/heads/docker-integration
>>>>>>> > Commit: 9484e23637acd174b8428ca8ff2af525736f7248
>>>>>>> > Parents: 54c8a6e
>>>>>>> > Author: sajhak <sa...@gmail.com>
>>>>>>> > Authored: Wed Sep 10 19:46:41 2014 +0530
>>>>>>> > Committer: sajhak <sa...@gmail.com>
>>>>>>> > Committed: Wed Sep 10 19:46:41 2014 +0530
>>>>>>> >
>>>>>>> >
>>>>>>> ----------------------------------------------------------------------
>>>>>>> >  .../org.apache.stratos.cloud.controller/pom.xml      | 15
>>>>>>> +++++++++++++++
>>>>>>> >  1 file changed, 15 insertions(+)
>>>>>>> >
>>>>>>> ----------------------------------------------------------------------
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>>> >
>>>>>>> ----------------------------------------------------------------------
>>>>>>> > diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>>> > b/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>>> > index b5e3605..448fafc 100644
>>>>>>> > --- a/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>>> > +++ b/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>>> > @@ -85,6 +85,21 @@
>>>>>>> >                      </instructions>
>>>>>>> >                  </configuration>
>>>>>>> >              </plugin>
>>>>>>> > +            <plugin>
>>>>>>> > +                       <groupId>org.apache.axis2</groupId>
>>>>>>> > +
>>>>>>> > <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>>>>>>> > +                       <configuration>
>>>>>>> > +
>>>>>>> >
>>>>>>> <className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
>>>>>>> > +
>>>>>>> >
>>>>>>> <outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
>>>>>>> > +                       </configuration>
>>>>>>> > +                       <executions>
>>>>>>> > +                          <execution>
>>>>>>> > +                            <goals>
>>>>>>> > +                              <goal>java2wsdl</goal>
>>>>>>> > +                            </goals>
>>>>>>> > +                         </execution>
>>>>>>> > +                       </executions>
>>>>>>> > +            </plugin>
>>>>>>> >          </plugins>
>>>>>>> >      </build>
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> > --
>>>>>>> > Sajith Kariyawasam
>>>>>>> > Committer and PMC member, Apache Stratos,
>>>>>>> > WSO2 Inc., http://wso2.com
>>>>>>> > AMIE (SL)
>>>>>>> > Mobile: +94772269575
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Akila Ravihansa Perera
>>>>>>> Software Engineer, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Shiroshica Kulatilake
>>>>>>
>>>>>> Architect,
>>>>>> WSO2, Inc. http://wso2.com/
>>>>>> Phone: +94 776523867
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: [1/2] git commit: Added java2wsdl plugin execution

Posted by Mariangela Hills <ma...@wso2.com>.
I have added information on how to generate a WSDL automatically in the
developer guide [1].

[1]
https://cwiki.apache.org/confluence/display/STRATOS/Automatically+Generating+a+WSDL+File

Regards,
Mariangela




*--*
Mariangela Hills
Senior Technical Writer

*WSO2, Inc.*lean.enterprise.middleware.
m: +94 773 500185
w: http://wso2.com
<http://wso2.com/events/>

On Wed, Dec 3, 2014 at 1:29 PM, Imesh Gunaratne <im...@apache.org> wrote:

> +1 Great work Sajith!
>
> Thanks
>
> On Wed, Dec 3, 2014 at 8:29 AM, Nirmal Fernando <ni...@gmail.com>
> wrote:
>
>> We need to add this to developer wiki IMO, so that everyone would use
>> auto-generated WSDL.
>>
>> On Wed, Dec 3, 2014 at 8:27 AM, Nirmal Fernando <ni...@gmail.com>
>> wrote:
>>
>>> This is very useful!! Thanks again :)
>>>
>>> On Thu, Sep 11, 2014 at 7:46 AM, Nirmal Fernando <nirmal070125@gmail.com
>>> > wrote:
>>>
>>>> Thanks Sajith. @Sajith / @Akila Can you merge only these commits to
>>>> master?
>>>>
>>>> On Thu, Sep 11, 2014 at 6:33 AM, Shiroshica Kulatilake <sh...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> This is very useful.
>>>>>
>>>>> Should we move just this change to the master branch soon ?
>>>>>
>>>>> Thank you,
>>>>> Shiro
>>>>>
>>>>> On Thu, Sep 11, 2014 at 4:46 AM, Akila Ravihansa Perera <
>>>>> ravihansa@wso2.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> That's a very convenient way to generate the WSDL. Thanks Sajith!
>>>>>>
>>>>>> I've applied the same changes for AutoScaler component as well.
>>>>>>
>>>>>> On Wed, Sep 10, 2014 at 8:05 PM, Sajith Kariyawasam <sa...@wso2.com>
>>>>>> wrote:
>>>>>> > Hi all,
>>>>>> >
>>>>>> > I have added a java2wsdl plugin execution for the Cloudcontroller
>>>>>> > component's pom.xml. So that when you build the CC component WSDL
>>>>>> will also
>>>>>> > be generated in target/generated-resources/wsdl directory. This way
>>>>>> wsdl can
>>>>>> > be obtained without deploying the component into the server.
>>>>>> > Need to do the same for all the other WSDLs as well.
>>>>>> > Still this is available in docker-integration branch, will move to
>>>>>> master
>>>>>> > branch later.
>>>>>> >
>>>>>> > Thanks,
>>>>>> > Sajith
>>>>>> >
>>>>>> >
>>>>>> > ---------- Forwarded message ----------
>>>>>> > From: <sa...@apache.org>
>>>>>> > Date: Wed, Sep 10, 2014 at 7:51 PM
>>>>>> > Subject: [1/2] git commit: Added java2wsdl plugin execution
>>>>>> > To: commits@stratos.apache.org
>>>>>> >
>>>>>> >
>>>>>> > Repository: stratos
>>>>>> > Updated Branches:
>>>>>> >   refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877
>>>>>> >
>>>>>> >
>>>>>> > Added java2wsdl plugin execution
>>>>>> >
>>>>>> >
>>>>>> > Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
>>>>>> > Commit:
>>>>>> http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
>>>>>> > Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
>>>>>> > Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236
>>>>>> >
>>>>>> > Branch: refs/heads/docker-integration
>>>>>> > Commit: 9484e23637acd174b8428ca8ff2af525736f7248
>>>>>> > Parents: 54c8a6e
>>>>>> > Author: sajhak <sa...@gmail.com>
>>>>>> > Authored: Wed Sep 10 19:46:41 2014 +0530
>>>>>> > Committer: sajhak <sa...@gmail.com>
>>>>>> > Committed: Wed Sep 10 19:46:41 2014 +0530
>>>>>> >
>>>>>> >
>>>>>> ----------------------------------------------------------------------
>>>>>> >  .../org.apache.stratos.cloud.controller/pom.xml      | 15
>>>>>> +++++++++++++++
>>>>>> >  1 file changed, 15 insertions(+)
>>>>>> >
>>>>>> ----------------------------------------------------------------------
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>> >
>>>>>> ----------------------------------------------------------------------
>>>>>> > diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>> > b/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>> > index b5e3605..448fafc 100644
>>>>>> > --- a/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>> > +++ b/components/org.apache.stratos.cloud.controller/pom.xml
>>>>>> > @@ -85,6 +85,21 @@
>>>>>> >                      </instructions>
>>>>>> >                  </configuration>
>>>>>> >              </plugin>
>>>>>> > +            <plugin>
>>>>>> > +                       <groupId>org.apache.axis2</groupId>
>>>>>> > +
>>>>>> > <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>>>>>> > +                       <configuration>
>>>>>> > +
>>>>>> >
>>>>>> <className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
>>>>>> > +
>>>>>> >
>>>>>> <outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
>>>>>> > +                       </configuration>
>>>>>> > +                       <executions>
>>>>>> > +                          <execution>
>>>>>> > +                            <goals>
>>>>>> > +                              <goal>java2wsdl</goal>
>>>>>> > +                            </goals>
>>>>>> > +                         </execution>
>>>>>> > +                       </executions>
>>>>>> > +            </plugin>
>>>>>> >          </plugins>
>>>>>> >      </build>
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > --
>>>>>> > Sajith Kariyawasam
>>>>>> > Committer and PMC member, Apache Stratos,
>>>>>> > WSO2 Inc., http://wso2.com
>>>>>> > AMIE (SL)
>>>>>> > Mobile: +94772269575
>>>>>> >
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Akila Ravihansa Perera
>>>>>> Software Engineer, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Shiroshica Kulatilake
>>>>>
>>>>> Architect,
>>>>> WSO2, Inc. http://wso2.com/
>>>>> Phone: +94 776523867
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>

Re: [1/2] git commit: Added java2wsdl plugin execution

Posted by Imesh Gunaratne <im...@apache.org>.
+1 Great work Sajith!

Thanks

On Wed, Dec 3, 2014 at 8:29 AM, Nirmal Fernando <ni...@gmail.com>
wrote:

> We need to add this to developer wiki IMO, so that everyone would use
> auto-generated WSDL.
>
> On Wed, Dec 3, 2014 at 8:27 AM, Nirmal Fernando <ni...@gmail.com>
> wrote:
>
>> This is very useful!! Thanks again :)
>>
>> On Thu, Sep 11, 2014 at 7:46 AM, Nirmal Fernando <ni...@gmail.com>
>> wrote:
>>
>>> Thanks Sajith. @Sajith / @Akila Can you merge only these commits to
>>> master?
>>>
>>> On Thu, Sep 11, 2014 at 6:33 AM, Shiroshica Kulatilake <sh...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> This is very useful.
>>>>
>>>> Should we move just this change to the master branch soon ?
>>>>
>>>> Thank you,
>>>> Shiro
>>>>
>>>> On Thu, Sep 11, 2014 at 4:46 AM, Akila Ravihansa Perera <
>>>> ravihansa@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> That's a very convenient way to generate the WSDL. Thanks Sajith!
>>>>>
>>>>> I've applied the same changes for AutoScaler component as well.
>>>>>
>>>>> On Wed, Sep 10, 2014 at 8:05 PM, Sajith Kariyawasam <sa...@wso2.com>
>>>>> wrote:
>>>>> > Hi all,
>>>>> >
>>>>> > I have added a java2wsdl plugin execution for the Cloudcontroller
>>>>> > component's pom.xml. So that when you build the CC component WSDL
>>>>> will also
>>>>> > be generated in target/generated-resources/wsdl directory. This way
>>>>> wsdl can
>>>>> > be obtained without deploying the component into the server.
>>>>> > Need to do the same for all the other WSDLs as well.
>>>>> > Still this is available in docker-integration branch, will move to
>>>>> master
>>>>> > branch later.
>>>>> >
>>>>> > Thanks,
>>>>> > Sajith
>>>>> >
>>>>> >
>>>>> > ---------- Forwarded message ----------
>>>>> > From: <sa...@apache.org>
>>>>> > Date: Wed, Sep 10, 2014 at 7:51 PM
>>>>> > Subject: [1/2] git commit: Added java2wsdl plugin execution
>>>>> > To: commits@stratos.apache.org
>>>>> >
>>>>> >
>>>>> > Repository: stratos
>>>>> > Updated Branches:
>>>>> >   refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877
>>>>> >
>>>>> >
>>>>> > Added java2wsdl plugin execution
>>>>> >
>>>>> >
>>>>> > Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
>>>>> > Commit:
>>>>> http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
>>>>> > Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
>>>>> > Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236
>>>>> >
>>>>> > Branch: refs/heads/docker-integration
>>>>> > Commit: 9484e23637acd174b8428ca8ff2af525736f7248
>>>>> > Parents: 54c8a6e
>>>>> > Author: sajhak <sa...@gmail.com>
>>>>> > Authored: Wed Sep 10 19:46:41 2014 +0530
>>>>> > Committer: sajhak <sa...@gmail.com>
>>>>> > Committed: Wed Sep 10 19:46:41 2014 +0530
>>>>> >
>>>>> >
>>>>> ----------------------------------------------------------------------
>>>>> >  .../org.apache.stratos.cloud.controller/pom.xml      | 15
>>>>> +++++++++++++++
>>>>> >  1 file changed, 15 insertions(+)
>>>>> >
>>>>> ----------------------------------------------------------------------
>>>>> >
>>>>> >
>>>>> >
>>>>> http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
>>>>> >
>>>>> ----------------------------------------------------------------------
>>>>> > diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
>>>>> > b/components/org.apache.stratos.cloud.controller/pom.xml
>>>>> > index b5e3605..448fafc 100644
>>>>> > --- a/components/org.apache.stratos.cloud.controller/pom.xml
>>>>> > +++ b/components/org.apache.stratos.cloud.controller/pom.xml
>>>>> > @@ -85,6 +85,21 @@
>>>>> >                      </instructions>
>>>>> >                  </configuration>
>>>>> >              </plugin>
>>>>> > +            <plugin>
>>>>> > +                       <groupId>org.apache.axis2</groupId>
>>>>> > +
>>>>> > <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>>>>> > +                       <configuration>
>>>>> > +
>>>>> >
>>>>> <className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
>>>>> > +
>>>>> >
>>>>> <outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
>>>>> > +                       </configuration>
>>>>> > +                       <executions>
>>>>> > +                          <execution>
>>>>> > +                            <goals>
>>>>> > +                              <goal>java2wsdl</goal>
>>>>> > +                            </goals>
>>>>> > +                         </execution>
>>>>> > +                       </executions>
>>>>> > +            </plugin>
>>>>> >          </plugins>
>>>>> >      </build>
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Sajith Kariyawasam
>>>>> > Committer and PMC member, Apache Stratos,
>>>>> > WSO2 Inc., http://wso2.com
>>>>> > AMIE (SL)
>>>>> > Mobile: +94772269575
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Akila Ravihansa Perera
>>>>> Software Engineer, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Shiroshica Kulatilake
>>>>
>>>> Architect,
>>>> WSO2, Inc. http://wso2.com/
>>>> Phone: +94 776523867
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [1/2] git commit: Added java2wsdl plugin execution

Posted by Nirmal Fernando <ni...@gmail.com>.
We need to add this to developer wiki IMO, so that everyone would use
auto-generated WSDL.

On Wed, Dec 3, 2014 at 8:27 AM, Nirmal Fernando <ni...@gmail.com>
wrote:

> This is very useful!! Thanks again :)
>
> On Thu, Sep 11, 2014 at 7:46 AM, Nirmal Fernando <ni...@gmail.com>
> wrote:
>
>> Thanks Sajith. @Sajith / @Akila Can you merge only these commits to
>> master?
>>
>> On Thu, Sep 11, 2014 at 6:33 AM, Shiroshica Kulatilake <sh...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> This is very useful.
>>>
>>> Should we move just this change to the master branch soon ?
>>>
>>> Thank you,
>>> Shiro
>>>
>>> On Thu, Sep 11, 2014 at 4:46 AM, Akila Ravihansa Perera <
>>> ravihansa@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> That's a very convenient way to generate the WSDL. Thanks Sajith!
>>>>
>>>> I've applied the same changes for AutoScaler component as well.
>>>>
>>>> On Wed, Sep 10, 2014 at 8:05 PM, Sajith Kariyawasam <sa...@wso2.com>
>>>> wrote:
>>>> > Hi all,
>>>> >
>>>> > I have added a java2wsdl plugin execution for the Cloudcontroller
>>>> > component's pom.xml. So that when you build the CC component WSDL
>>>> will also
>>>> > be generated in target/generated-resources/wsdl directory. This way
>>>> wsdl can
>>>> > be obtained without deploying the component into the server.
>>>> > Need to do the same for all the other WSDLs as well.
>>>> > Still this is available in docker-integration branch, will move to
>>>> master
>>>> > branch later.
>>>> >
>>>> > Thanks,
>>>> > Sajith
>>>> >
>>>> >
>>>> > ---------- Forwarded message ----------
>>>> > From: <sa...@apache.org>
>>>> > Date: Wed, Sep 10, 2014 at 7:51 PM
>>>> > Subject: [1/2] git commit: Added java2wsdl plugin execution
>>>> > To: commits@stratos.apache.org
>>>> >
>>>> >
>>>> > Repository: stratos
>>>> > Updated Branches:
>>>> >   refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877
>>>> >
>>>> >
>>>> > Added java2wsdl plugin execution
>>>> >
>>>> >
>>>> > Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
>>>> > Commit:
>>>> http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
>>>> > Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
>>>> > Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236
>>>> >
>>>> > Branch: refs/heads/docker-integration
>>>> > Commit: 9484e23637acd174b8428ca8ff2af525736f7248
>>>> > Parents: 54c8a6e
>>>> > Author: sajhak <sa...@gmail.com>
>>>> > Authored: Wed Sep 10 19:46:41 2014 +0530
>>>> > Committer: sajhak <sa...@gmail.com>
>>>> > Committed: Wed Sep 10 19:46:41 2014 +0530
>>>> >
>>>> > ----------------------------------------------------------------------
>>>> >  .../org.apache.stratos.cloud.controller/pom.xml      | 15
>>>> +++++++++++++++
>>>> >  1 file changed, 15 insertions(+)
>>>> > ----------------------------------------------------------------------
>>>> >
>>>> >
>>>> >
>>>> http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
>>>> > ----------------------------------------------------------------------
>>>> > diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
>>>> > b/components/org.apache.stratos.cloud.controller/pom.xml
>>>> > index b5e3605..448fafc 100644
>>>> > --- a/components/org.apache.stratos.cloud.controller/pom.xml
>>>> > +++ b/components/org.apache.stratos.cloud.controller/pom.xml
>>>> > @@ -85,6 +85,21 @@
>>>> >                      </instructions>
>>>> >                  </configuration>
>>>> >              </plugin>
>>>> > +            <plugin>
>>>> > +                       <groupId>org.apache.axis2</groupId>
>>>> > +
>>>> > <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>>>> > +                       <configuration>
>>>> > +
>>>> >
>>>> <className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
>>>> > +
>>>> >
>>>> <outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
>>>> > +                       </configuration>
>>>> > +                       <executions>
>>>> > +                          <execution>
>>>> > +                            <goals>
>>>> > +                              <goal>java2wsdl</goal>
>>>> > +                            </goals>
>>>> > +                         </execution>
>>>> > +                       </executions>
>>>> > +            </plugin>
>>>> >          </plugins>
>>>> >      </build>
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Sajith Kariyawasam
>>>> > Committer and PMC member, Apache Stratos,
>>>> > WSO2 Inc., http://wso2.com
>>>> > AMIE (SL)
>>>> > Mobile: +94772269575
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Akila Ravihansa Perera
>>>> Software Engineer, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>> Blog: http://ravihansa3000.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> Shiroshica Kulatilake
>>>
>>> Architect,
>>> WSO2, Inc. http://wso2.com/
>>> Phone: +94 776523867
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: [1/2] git commit: Added java2wsdl plugin execution

Posted by Nirmal Fernando <ni...@gmail.com>.
This is very useful!! Thanks again :)

On Thu, Sep 11, 2014 at 7:46 AM, Nirmal Fernando <ni...@gmail.com>
wrote:

> Thanks Sajith. @Sajith / @Akila Can you merge only these commits to master?
>
> On Thu, Sep 11, 2014 at 6:33 AM, Shiroshica Kulatilake <sh...@wso2.com>
> wrote:
>
>> Hi,
>>
>> This is very useful.
>>
>> Should we move just this change to the master branch soon ?
>>
>> Thank you,
>> Shiro
>>
>> On Thu, Sep 11, 2014 at 4:46 AM, Akila Ravihansa Perera <
>> ravihansa@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> That's a very convenient way to generate the WSDL. Thanks Sajith!
>>>
>>> I've applied the same changes for AutoScaler component as well.
>>>
>>> On Wed, Sep 10, 2014 at 8:05 PM, Sajith Kariyawasam <sa...@wso2.com>
>>> wrote:
>>> > Hi all,
>>> >
>>> > I have added a java2wsdl plugin execution for the Cloudcontroller
>>> > component's pom.xml. So that when you build the CC component WSDL will
>>> also
>>> > be generated in target/generated-resources/wsdl directory. This way
>>> wsdl can
>>> > be obtained without deploying the component into the server.
>>> > Need to do the same for all the other WSDLs as well.
>>> > Still this is available in docker-integration branch, will move to
>>> master
>>> > branch later.
>>> >
>>> > Thanks,
>>> > Sajith
>>> >
>>> >
>>> > ---------- Forwarded message ----------
>>> > From: <sa...@apache.org>
>>> > Date: Wed, Sep 10, 2014 at 7:51 PM
>>> > Subject: [1/2] git commit: Added java2wsdl plugin execution
>>> > To: commits@stratos.apache.org
>>> >
>>> >
>>> > Repository: stratos
>>> > Updated Branches:
>>> >   refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877
>>> >
>>> >
>>> > Added java2wsdl plugin execution
>>> >
>>> >
>>> > Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
>>> > Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
>>> > Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
>>> > Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236
>>> >
>>> > Branch: refs/heads/docker-integration
>>> > Commit: 9484e23637acd174b8428ca8ff2af525736f7248
>>> > Parents: 54c8a6e
>>> > Author: sajhak <sa...@gmail.com>
>>> > Authored: Wed Sep 10 19:46:41 2014 +0530
>>> > Committer: sajhak <sa...@gmail.com>
>>> > Committed: Wed Sep 10 19:46:41 2014 +0530
>>> >
>>> > ----------------------------------------------------------------------
>>> >  .../org.apache.stratos.cloud.controller/pom.xml      | 15
>>> +++++++++++++++
>>> >  1 file changed, 15 insertions(+)
>>> > ----------------------------------------------------------------------
>>> >
>>> >
>>> >
>>> http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
>>> > ----------------------------------------------------------------------
>>> > diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
>>> > b/components/org.apache.stratos.cloud.controller/pom.xml
>>> > index b5e3605..448fafc 100644
>>> > --- a/components/org.apache.stratos.cloud.controller/pom.xml
>>> > +++ b/components/org.apache.stratos.cloud.controller/pom.xml
>>> > @@ -85,6 +85,21 @@
>>> >                      </instructions>
>>> >                  </configuration>
>>> >              </plugin>
>>> > +            <plugin>
>>> > +                       <groupId>org.apache.axis2</groupId>
>>> > +
>>> > <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>>> > +                       <configuration>
>>> > +
>>> >
>>> <className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
>>> > +
>>> >
>>> <outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
>>> > +                       </configuration>
>>> > +                       <executions>
>>> > +                          <execution>
>>> > +                            <goals>
>>> > +                              <goal>java2wsdl</goal>
>>> > +                            </goals>
>>> > +                         </execution>
>>> > +                       </executions>
>>> > +            </plugin>
>>> >          </plugins>
>>> >      </build>
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Sajith Kariyawasam
>>> > Committer and PMC member, Apache Stratos,
>>> > WSO2 Inc., http://wso2.com
>>> > AMIE (SL)
>>> > Mobile: +94772269575
>>> >
>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> Software Engineer, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> Shiroshica Kulatilake
>>
>> Architect,
>> WSO2, Inc. http://wso2.com/
>> Phone: +94 776523867
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: [1/2] git commit: Added java2wsdl plugin execution

Posted by Nirmal Fernando <ni...@gmail.com>.
Thanks Sajith. @Sajith / @Akila Can you merge only these commits to master?

On Thu, Sep 11, 2014 at 6:33 AM, Shiroshica Kulatilake <sh...@wso2.com>
wrote:

> Hi,
>
> This is very useful.
>
> Should we move just this change to the master branch soon ?
>
> Thank you,
> Shiro
>
> On Thu, Sep 11, 2014 at 4:46 AM, Akila Ravihansa Perera <
> ravihansa@wso2.com> wrote:
>
>> Hi,
>>
>> That's a very convenient way to generate the WSDL. Thanks Sajith!
>>
>> I've applied the same changes for AutoScaler component as well.
>>
>> On Wed, Sep 10, 2014 at 8:05 PM, Sajith Kariyawasam <sa...@wso2.com>
>> wrote:
>> > Hi all,
>> >
>> > I have added a java2wsdl plugin execution for the Cloudcontroller
>> > component's pom.xml. So that when you build the CC component WSDL will
>> also
>> > be generated in target/generated-resources/wsdl directory. This way
>> wsdl can
>> > be obtained without deploying the component into the server.
>> > Need to do the same for all the other WSDLs as well.
>> > Still this is available in docker-integration branch, will move to
>> master
>> > branch later.
>> >
>> > Thanks,
>> > Sajith
>> >
>> >
>> > ---------- Forwarded message ----------
>> > From: <sa...@apache.org>
>> > Date: Wed, Sep 10, 2014 at 7:51 PM
>> > Subject: [1/2] git commit: Added java2wsdl plugin execution
>> > To: commits@stratos.apache.org
>> >
>> >
>> > Repository: stratos
>> > Updated Branches:
>> >   refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877
>> >
>> >
>> > Added java2wsdl plugin execution
>> >
>> >
>> > Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
>> > Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
>> > Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
>> > Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236
>> >
>> > Branch: refs/heads/docker-integration
>> > Commit: 9484e23637acd174b8428ca8ff2af525736f7248
>> > Parents: 54c8a6e
>> > Author: sajhak <sa...@gmail.com>
>> > Authored: Wed Sep 10 19:46:41 2014 +0530
>> > Committer: sajhak <sa...@gmail.com>
>> > Committed: Wed Sep 10 19:46:41 2014 +0530
>> >
>> > ----------------------------------------------------------------------
>> >  .../org.apache.stratos.cloud.controller/pom.xml      | 15
>> +++++++++++++++
>> >  1 file changed, 15 insertions(+)
>> > ----------------------------------------------------------------------
>> >
>> >
>> >
>> http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
>> > ----------------------------------------------------------------------
>> > diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
>> > b/components/org.apache.stratos.cloud.controller/pom.xml
>> > index b5e3605..448fafc 100644
>> > --- a/components/org.apache.stratos.cloud.controller/pom.xml
>> > +++ b/components/org.apache.stratos.cloud.controller/pom.xml
>> > @@ -85,6 +85,21 @@
>> >                      </instructions>
>> >                  </configuration>
>> >              </plugin>
>> > +            <plugin>
>> > +                       <groupId>org.apache.axis2</groupId>
>> > +
>> > <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>> > +                       <configuration>
>> > +
>> >
>> <className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
>> > +
>> >
>> <outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
>> > +                       </configuration>
>> > +                       <executions>
>> > +                          <execution>
>> > +                            <goals>
>> > +                              <goal>java2wsdl</goal>
>> > +                            </goals>
>> > +                         </execution>
>> > +                       </executions>
>> > +            </plugin>
>> >          </plugins>
>> >      </build>
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Sajith Kariyawasam
>> > Committer and PMC member, Apache Stratos,
>> > WSO2 Inc., http://wso2.com
>> > AMIE (SL)
>> > Mobile: +94772269575
>> >
>>
>>
>>
>> --
>> Akila Ravihansa Perera
>> Software Engineer, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>> Blog: http://ravihansa3000.blogspot.com
>>
>
>
>
> --
> Shiroshica Kulatilake
>
> Architect,
> WSO2, Inc. http://wso2.com/
> Phone: +94 776523867
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: [1/2] git commit: Added java2wsdl plugin execution

Posted by Shiroshica Kulatilake <sh...@wso2.com>.
Hi,

This is very useful.

Should we move just this change to the master branch soon ?

Thank you,
Shiro

On Thu, Sep 11, 2014 at 4:46 AM, Akila Ravihansa Perera <ra...@wso2.com>
wrote:

> Hi,
>
> That's a very convenient way to generate the WSDL. Thanks Sajith!
>
> I've applied the same changes for AutoScaler component as well.
>
> On Wed, Sep 10, 2014 at 8:05 PM, Sajith Kariyawasam <sa...@wso2.com>
> wrote:
> > Hi all,
> >
> > I have added a java2wsdl plugin execution for the Cloudcontroller
> > component's pom.xml. So that when you build the CC component WSDL will
> also
> > be generated in target/generated-resources/wsdl directory. This way wsdl
> can
> > be obtained without deploying the component into the server.
> > Need to do the same for all the other WSDLs as well.
> > Still this is available in docker-integration branch, will move to master
> > branch later.
> >
> > Thanks,
> > Sajith
> >
> >
> > ---------- Forwarded message ----------
> > From: <sa...@apache.org>
> > Date: Wed, Sep 10, 2014 at 7:51 PM
> > Subject: [1/2] git commit: Added java2wsdl plugin execution
> > To: commits@stratos.apache.org
> >
> >
> > Repository: stratos
> > Updated Branches:
> >   refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877
> >
> >
> > Added java2wsdl plugin execution
> >
> >
> > Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
> > Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
> > Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
> > Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236
> >
> > Branch: refs/heads/docker-integration
> > Commit: 9484e23637acd174b8428ca8ff2af525736f7248
> > Parents: 54c8a6e
> > Author: sajhak <sa...@gmail.com>
> > Authored: Wed Sep 10 19:46:41 2014 +0530
> > Committer: sajhak <sa...@gmail.com>
> > Committed: Wed Sep 10 19:46:41 2014 +0530
> >
> > ----------------------------------------------------------------------
> >  .../org.apache.stratos.cloud.controller/pom.xml      | 15
> +++++++++++++++
> >  1 file changed, 15 insertions(+)
> > ----------------------------------------------------------------------
> >
> >
> >
> http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
> > ----------------------------------------------------------------------
> > diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
> > b/components/org.apache.stratos.cloud.controller/pom.xml
> > index b5e3605..448fafc 100644
> > --- a/components/org.apache.stratos.cloud.controller/pom.xml
> > +++ b/components/org.apache.stratos.cloud.controller/pom.xml
> > @@ -85,6 +85,21 @@
> >                      </instructions>
> >                  </configuration>
> >              </plugin>
> > +            <plugin>
> > +                       <groupId>org.apache.axis2</groupId>
> > +
> > <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
> > +                       <configuration>
> > +
> >
> <className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
> > +
> >
> <outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
> > +                       </configuration>
> > +                       <executions>
> > +                          <execution>
> > +                            <goals>
> > +                              <goal>java2wsdl</goal>
> > +                            </goals>
> > +                         </execution>
> > +                       </executions>
> > +            </plugin>
> >          </plugins>
> >      </build>
> >
> >
> >
> >
> >
> > --
> > Sajith Kariyawasam
> > Committer and PMC member, Apache Stratos,
> > WSO2 Inc., http://wso2.com
> > AMIE (SL)
> > Mobile: +94772269575
> >
>
>
>
> --
> Akila Ravihansa Perera
> Software Engineer, WSO2
> Committer & PMC Member, Apache Stratos
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Shiroshica Kulatilake

Architect,
WSO2, Inc. http://wso2.com/
Phone: +94 776523867

Re: [1/2] git commit: Added java2wsdl plugin execution

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Hi,

That's a very convenient way to generate the WSDL. Thanks Sajith!

I've applied the same changes for AutoScaler component as well.

On Wed, Sep 10, 2014 at 8:05 PM, Sajith Kariyawasam <sa...@wso2.com> wrote:
> Hi all,
>
> I have added a java2wsdl plugin execution for the Cloudcontroller
> component's pom.xml. So that when you build the CC component WSDL will also
> be generated in target/generated-resources/wsdl directory. This way wsdl can
> be obtained without deploying the component into the server.
> Need to do the same for all the other WSDLs as well.
> Still this is available in docker-integration branch, will move to master
> branch later.
>
> Thanks,
> Sajith
>
>
> ---------- Forwarded message ----------
> From: <sa...@apache.org>
> Date: Wed, Sep 10, 2014 at 7:51 PM
> Subject: [1/2] git commit: Added java2wsdl plugin execution
> To: commits@stratos.apache.org
>
>
> Repository: stratos
> Updated Branches:
>   refs/heads/docker-integration 54c8a6e21 -> 6a1fc3877
>
>
> Added java2wsdl plugin execution
>
>
> Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
> Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/9484e236
> Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/9484e236
> Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/9484e236
>
> Branch: refs/heads/docker-integration
> Commit: 9484e23637acd174b8428ca8ff2af525736f7248
> Parents: 54c8a6e
> Author: sajhak <sa...@gmail.com>
> Authored: Wed Sep 10 19:46:41 2014 +0530
> Committer: sajhak <sa...@gmail.com>
> Committed: Wed Sep 10 19:46:41 2014 +0530
>
> ----------------------------------------------------------------------
>  .../org.apache.stratos.cloud.controller/pom.xml      | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/stratos/blob/9484e236/components/org.apache.stratos.cloud.controller/pom.xml
> ----------------------------------------------------------------------
> diff --git a/components/org.apache.stratos.cloud.controller/pom.xml
> b/components/org.apache.stratos.cloud.controller/pom.xml
> index b5e3605..448fafc 100644
> --- a/components/org.apache.stratos.cloud.controller/pom.xml
> +++ b/components/org.apache.stratos.cloud.controller/pom.xml
> @@ -85,6 +85,21 @@
>                      </instructions>
>                  </configuration>
>              </plugin>
> +            <plugin>
> +                       <groupId>org.apache.axis2</groupId>
> +
> <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
> +                       <configuration>
> +
> <className>org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</className>
> +
> <outputFileName>target/generated-resources/wsdl/CloudControllerService.wsdl</outputFileName>
> +                       </configuration>
> +                       <executions>
> +                          <execution>
> +                            <goals>
> +                              <goal>java2wsdl</goal>
> +                            </goals>
> +                         </execution>
> +                       </executions>
> +            </plugin>
>          </plugins>
>      </build>
>
>
>
>
>
> --
> Sajith Kariyawasam
> Committer and PMC member, Apache Stratos,
> WSO2 Inc., http://wso2.com
> AMIE (SL)
> Mobile: +94772269575
>



-- 
Akila Ravihansa Perera
Software Engineer, WSO2
Committer & PMC Member, Apache Stratos

Blog: http://ravihansa3000.blogspot.com