Re: [Dev] Getting the profile which WSO2 server has started with

2015-09-10 Thread Harsha Thirimanna
Yes, you can get it from System property

System.getProperty("profile")



*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770 *
*twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Fri, Sep 11, 2015 at 11:00 AM, Chamila Wijayarathna 
wrote:

> Hi all,
>
> We start WSO2 IS using following profiles.
>
> ./wso2server.sh
> ./wso2server.sh -Dprofile=all
>
> Is it possible to check from java code, for which profile server started
> from?
>
> Thank You
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting the profile which WSO2 server has started with

2015-09-10 Thread Sameera Jayasoma
Hi Chamila,

What do you mean by profile=all?

On Fri, Sep 11, 2015 at 11:00 AM, Chamila Wijayarathna 
wrote:

> Hi all,
>
> We start WSO2 IS using following profiles.
>
> ./wso2server.sh
> ./wso2server.sh -Dprofile=all
>
> Is it possible to check from java code, for which profile server started
> from?
>
> Thank You
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://blog.sameera.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting the profile which WSO2 server has started with

2015-09-10 Thread Chamila Wijayarathna
Hi Sameera,

In IS 5.1.0 we are supporting workflow for user management operations.
There we have added BPEL and Human Task components of BPS to IS.
But in default profile we don't enable those features and they are only
enabled in "profile=all".

Thanks

On Fri, Sep 11, 2015 at 11:45 AM, Sameera Jayasoma  wrote:

> Hi Chamila,
>
> What do you mean by profile=all?
>
> On Fri, Sep 11, 2015 at 11:00 AM, Chamila Wijayarathna 
> wrote:
>
>> Hi all,
>>
>> We start WSO2 IS using following profiles.
>>
>> ./wso2server.sh
>> ./wso2server.sh -Dprofile=all
>>
>> Is it possible to check from java code, for which profile server started
>> from?
>>
>> Thank You
>>
>> --
>> *Chamila Dilshan Wijayarathna,*
>> Software Engineer
>> Mobile:(+94)788193620
>> WSO2 Inc., http://wso2.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://blog.sameera.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>


-- 
*Chamila Dilshan Wijayarathna,*
Software Engineer
Mobile:(+94)788193620
WSO2 Inc., http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting the profile which WSO2 server has started with

2015-09-10 Thread Sameera Jayasoma
profile=all doesn't makes sense to me :)

Can we have proper name for this profile?

On Fri, Sep 11, 2015 at 11:51 AM, Chamila Wijayarathna 
wrote:

> Hi Sameera,
>
> In IS 5.1.0 we are supporting workflow for user management operations.
> There we have added BPEL and Human Task components of BPS to IS.
> But in default profile we don't enable those features and they are only
> enabled in "profile=all".
>
> Thanks
>
> On Fri, Sep 11, 2015 at 11:45 AM, Sameera Jayasoma 
> wrote:
>
>> Hi Chamila,
>>
>> What do you mean by profile=all?
>>
>> On Fri, Sep 11, 2015 at 11:00 AM, Chamila Wijayarathna 
>> wrote:
>>
>>> Hi all,
>>>
>>> We start WSO2 IS using following profiles.
>>>
>>> ./wso2server.sh
>>> ./wso2server.sh -Dprofile=all
>>>
>>> Is it possible to check from java code, for which profile server started
>>> from?
>>>
>>> Thank You
>>>
>>> --
>>> *Chamila Dilshan Wijayarathna,*
>>> Software Engineer
>>> Mobile:(+94)788193620
>>> WSO2 Inc., http://wso2.com/
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sameera Jayasoma,
>> Software Architect,
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://blog.sameera.org
>> twitter: https://twitter.com/sameerajayasoma
>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>> Mobile: 0094776364456
>>
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
> *Chamila Dilshan Wijayarathna,*
> Software Engineer
> Mobile:(+94)788193620
> WSO2 Inc., http://wso2.com/
>



-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://blog.sameera.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting the profile which WSO2 server has started with

2015-09-10 Thread Harsha Thirimanna
Hi Sameera,

Yes, we will discuss this with the team and will provide a meaningful name
according to the feature group. We just prepared IS for profiling and not
finalized yet. Thanks for prompting this.


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770 *
*twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Fri, Sep 11, 2015 at 11:53 AM, Sameera Jayasoma  wrote:

> profile=all doesn't makes sense to me :)
>
> Can we have proper name for this profile?
>
> On Fri, Sep 11, 2015 at 11:51 AM, Chamila Wijayarathna 
> wrote:
>
>> Hi Sameera,
>>
>> In IS 5.1.0 we are supporting workflow for user management operations.
>> There we have added BPEL and Human Task components of BPS to IS.
>> But in default profile we don't enable those features and they are only
>> enabled in "profile=all".
>>
>> Thanks
>>
>> On Fri, Sep 11, 2015 at 11:45 AM, Sameera Jayasoma 
>> wrote:
>>
>>> Hi Chamila,
>>>
>>> What do you mean by profile=all?
>>>
>>> On Fri, Sep 11, 2015 at 11:00 AM, Chamila Wijayarathna >> > wrote:
>>>
 Hi all,

 We start WSO2 IS using following profiles.

 ./wso2server.sh
 ./wso2server.sh -Dprofile=all

 Is it possible to check from java code, for which profile server
 started from?

 Thank You

 --
 *Chamila Dilshan Wijayarathna,*
 Software Engineer
 Mobile:(+94)788193620
 WSO2 Inc., http://wso2.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Software Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: same...@wso2.com
>>> blog: http://blog.sameera.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>> Mobile: 0094776364456
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>>
>>
>> --
>> *Chamila Dilshan Wijayarathna,*
>> Software Engineer
>> Mobile:(+94)788193620
>> WSO2 Inc., http://wso2.com/
>>
>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://blog.sameera.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev