Re: Enable to send mail

2016-09-22 Thread Francesco Chicchiriccò

On 22/09/2016 14:49, Mohit Agrawal wrote:

Hi ,

Now i can see the logs , mail is triggered now.


Glad it works.

FYI, I have added some notes under

https://ci.apache.org/projects/syncope/reference-guide.html#e-mail-configuration

and under

https://ci.apache.org/projects/syncope/reference-guide.html#configuration-parameters

Such modifications will be part of

https://syncope.apache.org/docs/reference-guide.html

at next release.

Regards.

On Thu, Sep 22, 2016 at 6:16 PM, Francesco Chicchiriccò 
> wrote:


On 22/09/2016 14:37, Mohit Agrawal wrote:

Hi ,

value of notificationjob.cronExpression 0 0/5 * 1/1 * ? *


After changing such value you'll need to restart the Java EE
container, as this value is only read during initialization - I
will add a note about this in the reference guide.

HTH
Regards.



On Thu, Sep 22, 2016 at 5:24 PM, Francesco Chicchiriccò
> wrote:

On 22/09/2016 13:53, Mohit Agrawal wrote:

Hi ,

Yes , i restarted the container and checked the logs as
well. No logs are present that mail is triggered.


Which value do you have for the
notificationjob.cronExpression configuration parameter?


https://syncope.apache.org/docs/reference-guide.html#configuration-parameters




On Thu, Sep 22, 2016 at 4:42 PM, Marco Di Sabatino Di
Diodoro > wrote:



Il 22/09/2016 12:37, Mohit Agrawal ha scritto:

Hi ,

mail.properties file is also updated with the values.

 Did you restart the container?

M




Regards ,
Mohit

On Thu, Sep 22, 2016 at 3:50 PM, Marco Di Sabatino Di
Diodoro > wrote:

Hi Mohit,


Il 22/09/2016 12:08, Mohit Agrawal ha scritto:

Hi ,

I follow the steps mentioned in the below link ,
but syncope is not sending any email.


https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration



As you can read in the reference guide[1], to
enable the effective delivery of a notification,
you have to set the mail parameters in the
mail.properties file.

Regards
M


https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration






Please find the attached screenshot of smtp
configuration.

Thanks
Mohit



--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/



Re: Enable to send mail

2016-09-22 Thread Mohit Agrawal
Hi ,

Now i can see the logs , mail is triggered now .

Thanks,
Mohit

On Thu, Sep 22, 2016 at 6:16 PM, Francesco Chicchiriccò  wrote:

> On 22/09/2016 14:37, Mohit Agrawal wrote:
>
> Hi ,
>
> value of notificationjob.cronExpression 0 0/5 * 1/1 * ? *
>
>
> After changing such value you'll need to restart the Java EE container, as
> this value is only read during initialization - I will add a note about
> this in the reference guide.
>
> HTH
> Regards.
>
>
> On Thu, Sep 22, 2016 at 5:24 PM, Francesco Chicchiriccò <
> ilgro...@apache.org> wrote:
>
>> On 22/09/2016 13:53, Mohit Agrawal wrote:
>>
>> Hi ,
>>
>> Yes , i restarted the container and checked the logs as well. No logs are
>> present that mail is triggered.
>>
>>
>> Which value do you have for the notificationjob.cronExpression
>> configuration parameter?
>>
>> https://syncope.apache.org/docs/reference-guide.html#configu
>> ration-parameters
>>
>> On Thu, Sep 22, 2016 at 4:42 PM, Marco Di Sabatino Di Diodoro <
>> marco.disabat...@tirasa.net> wrote:
>>
>>>
>>>
>>> Il 22/09/2016 12:37, Mohit Agrawal ha scritto:
>>>
>>> Hi ,
>>>
>>> mail.properties file is also updated with the values.
>>>
>>>  Did you restart the container?
>>>
>>> M
>>>
>>>
>>>
>>> Regards ,
>>> Mohit
>>>
>>> On Thu, Sep 22, 2016 at 3:50 PM, Marco Di Sabatino Di Diodoro <
>>> marco.disabat...@tirasa.net> wrote:
>>>
 Hi Mohit,

 Il 22/09/2016 12:08, Mohit Agrawal ha scritto:

 Hi ,

 I follow the steps mentioned in the below link , but syncope is not
 sending any email.

 https://syncope.apache.org/docs/reference-guide.html#e-mail-
 configuration

 As you can read in the reference guide[1], to enable the effective
 delivery of a notification, you have to set the mail parameters in the
 mail.properties file.

 Regards
 M

 https://syncope.apache.org/docs/reference-guide.html#e-mail-
 configuration


 Please find the attached screenshot of smtp configuration.

 Thanks
 Mohit

 --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellencehttp://www.tirasa.net/
>
> Member at The Apache Software Foundation
> Syncope, Cocoon, Olingo, CXF, OpenJPA, 
> PonyMailhttp://home.apache.org/~ilgrosso/
>
>


Re: Enable to send mail

2016-09-22 Thread Francesco Chicchiriccò

On 22/09/2016 14:37, Mohit Agrawal wrote:

Hi ,

value of notificationjob.cronExpression 0 0/5 * 1/1 * ? *


After changing such value you'll need to restart the Java EE container, 
as this value is only read during initialization - I will add a note 
about this in the reference guide.


HTH
Regards.

On Thu, Sep 22, 2016 at 5:24 PM, Francesco Chicchiriccò 
> wrote:


On 22/09/2016 13:53, Mohit Agrawal wrote:

Hi ,

Yes , i restarted the container and checked the logs as well. No
logs are present that mail is triggered.


Which value do you have for the notificationjob.cronExpression
configuration parameter?


https://syncope.apache.org/docs/reference-guide.html#configuration-parameters




On Thu, Sep 22, 2016 at 4:42 PM, Marco Di Sabatino Di Diodoro
> wrote:



Il 22/09/2016 12:37, Mohit Agrawal ha scritto:

Hi ,

mail.properties file is also updated with the values.

 Did you restart the container?

M




Regards ,
Mohit

On Thu, Sep 22, 2016 at 3:50 PM, Marco Di Sabatino Di
Diodoro > wrote:

Hi Mohit,


Il 22/09/2016 12:08, Mohit Agrawal ha scritto:

Hi ,

I follow the steps mentioned in the below link , but
syncope is not sending any email.


https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration



As you can read in the reference guide[1], to enable the
effective delivery of a notification, you have to set
the mail parameters in the mail.properties file.

Regards
M


https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration






Please find the attached screenshot of smtp configuration.

Thanks
Mohit



--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/



Re: Enable to send mail

2016-09-22 Thread Mohit Agrawal
Hi ,

value of notificationjob.cronExpression 0 0/5 * 1/1 * ? *

Regards,
Mohit

On Thu, Sep 22, 2016 at 5:24 PM, Francesco Chicchiriccò  wrote:

> On 22/09/2016 13:53, Mohit Agrawal wrote:
>
> Hi ,
>
> Yes , i restarted the container and checked the logs as well. No logs are
> present that mail is triggered.
>
>
> Which value do you have for the notificationjob.cronExpression
> configuration parameter?
>
> https://syncope.apache.org/docs/reference-guide.html#
> configuration-parameters
>
> On Thu, Sep 22, 2016 at 4:42 PM, Marco Di Sabatino Di Diodoro <
> marco.disabat...@tirasa.net> wrote:
>
>>
>>
>> Il 22/09/2016 12:37, Mohit Agrawal ha scritto:
>>
>> Hi ,
>>
>> mail.properties file is also updated with the values.
>>
>>  Did you restart the container?
>>
>> M
>>
>>
>>
>> Regards ,
>> Mohit
>>
>> On Thu, Sep 22, 2016 at 3:50 PM, Marco Di Sabatino Di Diodoro <
>> marco.disabat...@tirasa.net> wrote:
>>
>>> Hi Mohit,
>>>
>>> Il 22/09/2016 12:08, Mohit Agrawal ha scritto:
>>>
>>> Hi ,
>>>
>>> I follow the steps mentioned in the below link , but syncope is not
>>> sending any email.
>>>
>>> https://syncope.apache.org/docs/reference-guide.html#e-mail-
>>> configuration
>>>
>>> As you can read in the reference guide[1], to enable the effective
>>> delivery of a notification, you have to set the mail parameters in the
>>> mail.properties file.
>>>
>>> Regards
>>> M
>>>
>>> https://syncope.apache.org/docs/reference-guide.html#e-mail-
>>> configuration
>>>
>>>
>>> Please find the attached screenshot of smtp configuration.
>>>
>>> Thanks
>>> Mohit
>>>
>>> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellencehttp://www.tirasa.net/
>
> Member at The Apache Software Foundation
> Syncope, Cocoon, Olingo, CXF, OpenJPA, 
> PonyMailhttp://home.apache.org/~ilgrosso/
>
>


Re: Syncope user creation from REST client

2016-09-22 Thread andrea

Hi Mani Vellingiri,

AFAIK there is no reason why debian packages installation should not 
work with the same configuration as the standalone. I think that 
connectors location is not involved in your problem.



Il 22/09/2016 11:49, Mani, Vellingiri (Nokia - IN) ha scritto:


Hi Andrea,

Thanks a lot for your response.

We are able to do bulk user creation via CSV connector in standalone 
Syncope distribution.


As we cannot proceed with standalone version for deployment 
evaluation, now we are trying to replicate the configuration of CSV 
connector from standalone syncope to debian version and then check it 
works or not.


_When creating CSV connector:_

In syncope standalone, Location is: 
connid://testconnectorserver@localhost:4554


In debian syncope, Location is: file:/var/lib/apache-syncope/bundles/

***Location field in both standalone and debian version is read-only

So can I assume csv connector server is not required in debian 
environment  ?


Can we use any absolute path like ‘/opt/csv-files’ for the ‘Source 
path*’ field during csv connector creation?




ConnID locations specify how to look for connector bundles (the jars). 
Please refer to [1], maybe that paragraph will clarify what I'm saying.

You can add whatever path to scan.


Regards,

Vellingiri



[1] 
http://syncope.apache.org/docs/reference-guide.html#configure-connid-locations


Best regards,
Andrea



*From:*andrea [mailto:andrea.patrice...@tirasa.net]
*Sent:* Thursday, September 22, 2016 1:33 PM
*To:* user@syncope.apache.org
*Subject:* Re: Syncope user creation from REST client

Hi Mani Vellingiri,

You could start from a working example to see a complete (and working) 
configuration of CSV connector.


You could run the standalone Syncope distribution and see how it 
works, please refer to [1] for Syncope <= 1.2 and to [2] for later 
versions.
After running the tomcat, you'll find the console at 
http://localhost:9080/syncope-console/ 



You might also check logs to have hints about what's happening during 
tasks. To configure log levels please refer to [3] for Syncope <= 1.2 
and [4] for later versions
You will find logs for the standalone distribution into the log 
directory of the Apache Tomcat (core-*.log are very useful).


HTH,
Andrea

[1] 
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+standalone+distribution

[2] http://syncope.apache.org/docs/getting-started.html#standalone
[3] https://cwiki.apache.org/confluence/display/SYNCOPE/Log+levels
[4] http://syncope.apache.org/docs/reference-guide.html

Il 20/09/2016 15:57, Mani, Vellingiri (Nokia - IN) ha scritto:

Hi Francesco,

Thanks for your suggestion.

I tried the below steps to create users from .csv file.

I could see pull tasks “execution status” are SUCCESS but I don’t
find users are getting created in syncope. If any configuration is
missed, please let me know.

1.Verified csvdir bundle exists in /var/lib/apache-syncope/bundles/

2.Created “/opt/csv-files/test.csv”

_cat test.csv_

username,testcolumn

usr1,test

3.From admin console, created csvdir connector instance with below
values

Display name=csv-conn

Location=/var/lib/apache-syncope/bundles

Bundle=net.tirasa.connid.bundles.csvdir

Source path=/opt/csv-files [override selected]

File mask=*.csv [override selected]

Key column name=username

Column names=testcolumn [override selected]

Capabilities=CREATE

*** other values are default

4.Created csv resource with below values

Key=csv-resource

Connector=csv-conn

Source path=/opt/csv-files [override selected]

File mask=*.csv [override selected]

Column names=testcolumn [override selected]

*** other values are default

5.Created pull task

Name=pulltest

Destination Realm=/

Pull mode=FULL_RECONCILIATION

Schedule=Every 5 minutes

*** other values are default

Regards,

Vellingiri

*From:*Francesco Chicchiriccò [mailto:ilgro...@apache.org]
*Sent:* Monday, September 19, 2016 4:22 PM
*To:* user@syncope.apache.org 
*Subject:* Re: Syncope user creation from REST client

On 19/09/2016 12:49, Mani, Vellingiri (Nokia - IN) wrote:

Ok.  I understand your response.

> which is the source for these users?

Actually, we have user information in text/excel file.
Creating users manually is a difficult job. We don’t have
external connector.


You might want to consider the CSVDir connector:

https://connid.atlassian.net/wiki/display/BASE/CSV+Directory

You will need to play around a bit with its configuration, but it
should work.

Regards.



*From:*Francesco Chicchiriccò [mailto:ilgro...@apache.org]
*Sent:* Monday, September 19, 2016 4:00 PM
*To:* user@syncope.apache.org 
*Subject:* Re: Syncope user 

Re: Enable to send mail

2016-09-22 Thread Mohit Agrawal
Hi ,

Yes , i restarted the container and checked the logs as well. No logs are
present that mail is triggered.

Regards,
Mohit

On Thu, Sep 22, 2016 at 4:42 PM, Marco Di Sabatino Di Diodoro <
marco.disabat...@tirasa.net> wrote:

>
>
> Il 22/09/2016 12:37, Mohit Agrawal ha scritto:
>
> Hi ,
>
> mail.properties file is also updated with the values.
>
>  Did you restart the container?
>
> M
>
>
>
> Regards ,
> Mohit
>
> On Thu, Sep 22, 2016 at 3:50 PM, Marco Di Sabatino Di Diodoro <
> marco.disabat...@tirasa.net> wrote:
>
>> Hi Mohit,
>>
>> Il 22/09/2016 12:08, Mohit Agrawal ha scritto:
>>
>> Hi ,
>>
>> I follow the steps mentioned in the below link , but syncope is not
>> sending any email.
>>
>> https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration
>>
>> As you can read in the reference guide[1], to enable the effective
>> delivery of a notification, you have to set the mail parameters in the
>> mail.properties file.
>>
>> Regards
>> M
>>
>> https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration
>>
>>
>> Please find the attached screenshot of smtp configuration.
>>
>> Thanks
>> Mohit
>>
>>
>> --
>> Dott. Marco Di Sabatino Di Diodoro
>> Tel. +39 3939065570
>>
>> Tirasa S.r.l.
>> Viale D'Annunzio 267 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 085973http://www.tirasa.net
>>
>> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>>
>> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 085973http://www.tirasa.net
>
> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>
>


Re: Enable to send mail

2016-09-22 Thread Marco Di Sabatino Di Diodoro



Il 22/09/2016 12:37, Mohit Agrawal ha scritto:

Hi ,

mail.properties file is also updated with the values.

 Did you restart the container?

M



Regards ,
Mohit

On Thu, Sep 22, 2016 at 3:50 PM, Marco Di Sabatino Di Diodoro 
> wrote:


Hi Mohit,


Il 22/09/2016 12:08, Mohit Agrawal ha scritto:

Hi ,

I follow the steps mentioned in the below link , but syncope is
not sending any email.

https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration


As you can read in the reference guide[1], to enable the effective
delivery of a notification, you have to set the mail parameters in
the mail.properties file.

Regards
M

https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration





Please find the attached screenshot of smtp configuration.

Thanks
Mohit


-- 
Dott. Marco Di Sabatino Di Diodoro

Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/



--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


Re: Enable to send mail

2016-09-22 Thread Marco Di Sabatino Di Diodoro

Hi Mohit,


Il 22/09/2016 12:08, Mohit Agrawal ha scritto:

Hi ,

I follow the steps mentioned in the below link , but syncope is not 
sending any email.


https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration
As you can read in the reference guide[1], to enable the effective 
delivery of a notification, you have to set the mail parameters in the 
mail.properties file.


Regards
M

https://syncope.apache.org/docs/reference-guide.html#e-mail-configuration



Please find the attached screenshot of smtp configuration.

Thanks
Mohit


--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/