[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Jan Bernhardt (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542802#comment-13542802
 ] 

Jan Bernhardt commented on SYNCOPE-259:
---

Thanks. I saw this TestClass, but in this TestClass there are only test like 
searchCount() and paginatedSearch() for user searches. Something equivalent for 
roles searches is missing.

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542823#comment-13542823
 ] 

Francesco Chicchiriccò commented on SYNCOPE-259:


Ah, now I get it! You want to add searchCount() and paginatedSearch() for roles 
as well: +1 for this.
Please refer to SYNCOPE-44 when adding such test methods, thanks.

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Andrei Shakirin (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542833#comment-13542833
 ] 

Andrei Shakirin commented on SYNCOPE-259:
-

I will start with ResourceController (ResourceService) today

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (SYNCOPE-260) Update propagation with null virtual attribute values

2013-01-03 Thread fabio martelli (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fabio martelli resolved SYNCOPE-260.


Resolution: Fixed

Must be merged manually on the trunk

> Update propagation with null virtual attribute values
> -
>
> Key: SYNCOPE-260
> URL: https://issues.apache.org/jira/browse/SYNCOPE-260
> Project: Syncope
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.0.5
>Reporter: fabio martelli
>Assignee: fabio martelli
> Fix For: 1.0.5
>
>
> Mapped virtual attributes are not correctly evaluated at update (propagation 
> task) time if and only it their values are not explicitly specified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (SYNCOPE-260) Update propagation with null virtual attribute values

2013-01-03 Thread fabio martelli (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fabio martelli reopened SYNCOPE-260:



verify this issue on the trunk

> Update propagation with null virtual attribute values
> -
>
> Key: SYNCOPE-260
> URL: https://issues.apache.org/jira/browse/SYNCOPE-260
> Project: Syncope
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.0.5
>Reporter: fabio martelli
>Assignee: fabio martelli
> Fix For: 1.0.5
>
>
> Mapped virtual attributes are not correctly evaluated at update (propagation 
> task) time if and only it their values are not explicitly specified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Jan Bernhardt (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542856#comment-13542856
 ] 

Jan Bernhardt commented on SYNCOPE-259:
---

OK, Entitlement Service and Configuration Service are done. I'll take 
ConnInstanceController and LoggerController next.

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Andrei Shakirin (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542871#comment-13542871
 ] 

Andrei Shakirin commented on SYNCOPE-259:
-

Jan, just small finding: "public abstract" declarations are redundant in 
EntitlementService.

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Jan Bernhardt (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542916#comment-13542916
 ] 

Jan Bernhardt commented on SYNCOPE-259:
---

I agree. I modified my code completion settings in eclipse, to avoid this in 
the future.

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (SYNCOPE-260) Update propagation with null virtual attribute values

2013-01-03 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò updated SYNCOPE-260:
---

Fix Version/s: 1.1.0

> Update propagation with null virtual attribute values
> -
>
> Key: SYNCOPE-260
> URL: https://issues.apache.org/jira/browse/SYNCOPE-260
> Project: Syncope
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.0.5, 1.1.0
>Reporter: fabio martelli
>Assignee: fabio martelli
> Fix For: 1.0.5, 1.1.0
>
>
> Mapped virtual attributes are not correctly evaluated at update (propagation 
> task) time if and only it their values are not explicitly specified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (SYNCOPE-260) Update propagation with null virtual attribute values

2013-01-03 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò updated SYNCOPE-260:
---

Affects Version/s: 1.1.0

> Update propagation with null virtual attribute values
> -
>
> Key: SYNCOPE-260
> URL: https://issues.apache.org/jira/browse/SYNCOPE-260
> Project: Syncope
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.0.5, 1.1.0
>Reporter: fabio martelli
>Assignee: fabio martelli
> Fix For: 1.0.5
>
>
> Mapped virtual attributes are not correctly evaluated at update (propagation 
> task) time if and only it their values are not explicitly specified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-260) Update propagation with null virtual attribute values

2013-01-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542933#comment-13542933
 ] 

Hudson commented on SYNCOPE-260:


Integrated in Syncope-1_0_X #89 (See 
[https://builds.apache.org/job/Syncope-1_0_X/89/])
SYNCOPE-260 test improvement and bug-fix (Revision 1428307)
Fixes SYNCOPE-260 (Revision 1428262)

 Result = SUCCESS
fmartelli : 
Files : 
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java
* 
/syncope/branches/1_0_X/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java

fmartelli : 
Files : 
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/AbstractAttributable.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/Attributable.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/util/SchemaMappingUtil.java
* 
/syncope/branches/1_0_X/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java


> Update propagation with null virtual attribute values
> -
>
> Key: SYNCOPE-260
> URL: https://issues.apache.org/jira/browse/SYNCOPE-260
> Project: Syncope
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.0.5, 1.1.0
>Reporter: fabio martelli
>Assignee: fabio martelli
> Fix For: 1.0.5, 1.1.0
>
>
> Mapped virtual attributes are not correctly evaluated at update (propagation 
> task) time if and only it their values are not explicitly specified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542941#comment-13542941
 ] 

Hudson commented on SYNCOPE-259:


Integrated in Syncope-trunk #398 (See 
[https://builds.apache.org/job/Syncope-trunk/398/])
[SYNCOPE-259]
Introduces ConfigurationService Interface (Revision 1428273)
[SYNCOPE-259]
Introduces EntitlementService Interface and EntitlementServiceProxy which is 
used in Integration-Tests (Revision 1427850)
[SYNCOPE-259]
Introduces RoleService Interface and RoleServiceProxy which is used for 
Integration-Tests (Revision 1427826)
[SYNCOPE-259]
Applied patch from Christian and added User Search Methods & Tests (Revision 
1427749)

 Result = SUCCESS
jbernhardt : 
Files : 
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/ConfigurationService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/ConfigurationServiceProxy.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/EntitlementService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/EntitlementServiceProxy.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/RoleService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/RoleServiceProxy.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/SpringServiceProxy.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/UserService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/UserServiceProxy.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/controller/ConfigurationController.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ConfigurationTestITCase.java

jbernhardt : 
Files : 
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/client/to/EntitlementTO.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/EntitlementService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/EntitlementServiceProxy.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/RoleServiceProxy.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/SpringServiceProxy.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/UserServiceProxy.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AuthenticationTestITCase.java

jbernhardt : 
Files : 
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/client/mod/StatusMod.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/RoleService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/RoleServiceProxy.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/RoleTestITCase.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/SearchTestITCase.java

jbernhardt : 
Files : 
* /syncope/trunk/client/pom.xml
* /syncope/trunk/client/src/main/java/org/apache/syncope/services
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/UserService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/UserServiceProxy.java
* /syncope/trunk/core
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/SearchTestITCase.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java
* /syncope/trunk/pom.xml


> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all 

[jira] [Assigned] (SYNCOPE-255) Hide Global Password/Account/Sync policy in security resource selections

2013-01-03 Thread fabio martelli (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fabio martelli reassigned SYNCOPE-255:
--

Assignee: fabio martelli

> Hide Global Password/Account/Sync policy in security resource selections
> 
>
> Key: SYNCOPE-255
> URL: https://issues.apache.org/jira/browse/SYNCOPE-255
> Project: Syncope
>  Issue Type: Improvement
>  Components: console
>Affects Versions: 1.0.4
> Environment: Any
>Reporter: Denis Signoretto
>Assignee: fabio martelli
>Priority: Minor
> Fix For: 1.0.5, 1.1.0
>
>
> related discussion: 
> http://syncope-user.1051894.n5.nabble.com/Differences-about-simple-and-global-password-and-account-policies-td5706812.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Andrei Shakirin (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Shakirin updated SYNCOPE-259:


Attachment: ResourceService.patch

Added patch for ResourceService.
Essential changes in JAX-RS annotations:
1) update. Operation is mapped to HTTP put instead post (as far as I can see 
update is idempotent); resourceName is added to URL - it allows also rename 
resource
2) delete. Operation is mapped to HTTP delete instead get.
3) check. Operation is mapped to HTTP get as far as it is save and idempotent

Two operations check() and getPropagationActionsClasses() seems not to be 
directly related to resources. 
- check() validates connection instance and for me it is candidate for 
ConnInstanceService. Actually test for check() operation located in 
ConnInstancetestITCase. 
- getPropagationActionsClasses() returns list of class names for 
PROPAGATION_ACTIONS from classloader. Not sure that this operation should be in 
ResourceService.
At the moment I leave both operations in ResourceService.

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: ResourceService.patch, SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543000#comment-13543000
 ] 

Francesco Chicchiriccò commented on SYNCOPE-259:


Andrei, some items as per your latest comment:

(1) and (2) please be sure that new HTTP methods still comply with operation 
requirements: for example, delete() was GET and not DELETE because we need to 
return the deleted object

- check() takes a ResourceTO argument, so I am actually +-0 to move it to 
ConnInstanceService

- getPropagationActionsClasses() is used by the admin console during resource 
CRUD

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: ResourceService.patch, SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543018#comment-13543018
 ] 

Hudson commented on SYNCOPE-259:


Integrated in Syncope-trunk #399 (See 
[https://builds.apache.org/job/Syncope-trunk/399/])
[SYNCOPE-259]
Introduces ConnectionService (Revision 1428391)

 Result = SUCCESS
jbernhardt : 
Files : 
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/ConnectorService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/ConnectorServiceProxy.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/EntitlementService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/SpringServiceProxy.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/UserService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/UserServiceProxy.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/ConnInstanceTestITCase.java


> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: ResourceService.patch, SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Andrei Shakirin (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543031#comment-13543031
 ] 

Andrei Shakirin commented on SYNCOPE-259:
-

Hi Francesco, thanks for fast feedback. 
- (1) and (2) are just JAX-RS annotations, not really used at the moment - all 
operations in proxy are working as before using old HTTP methods. Anyway, we 
should think about it on the next step, when JAX-RS CXF will be used. GET HTTP 
operation should be safe by definition, that is not the case for 
resource.delete(). Perhaps combination get + delete will be better for this.
- check() has ResourceTO as argument, but actual implementation uses only 
resourceTO.getConnectorId() from incoming argument. Perhaps we can just pass 
connectorID directly to check() operation and move it to ConnInstanceService.
- getPropagationActionsClasses(): agree to leave it into ResourceService.

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: ResourceService.patch, SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Jan Bernhardt (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543032#comment-13543032
 ] 

Jan Bernhardt commented on SYNCOPE-259:
---

You can return an object for HTTP DELETE operation (get is not required). See: 
http://stackoverflow.com/questions/6581285/is-a-response-body-allowed-for-a-http-delete-request

According to RESTfull best practices GET operations should be idempotent and 
should not modify an object. That's why you should use DELETE instead of GET 
for deleting a resource.

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: ResourceService.patch, SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (SYNCOPE-255) Hide Global Password/Account/Sync policy in security resource selections

2013-01-03 Thread fabio martelli (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fabio martelli resolved SYNCOPE-255.


Resolution: Fixed

> Hide Global Password/Account/Sync policy in security resource selections
> 
>
> Key: SYNCOPE-255
> URL: https://issues.apache.org/jira/browse/SYNCOPE-255
> Project: Syncope
>  Issue Type: Improvement
>  Components: console
>Affects Versions: 1.0.4
> Environment: Any
>Reporter: Denis Signoretto
>Assignee: fabio martelli
>Priority: Minor
> Fix For: 1.0.5, 1.1.0
>
>
> related discussion: 
> http://syncope-user.1051894.n5.nabble.com/Differences-about-simple-and-global-password-and-account-policies-td5706812.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (SYNCOPE-261) Role visualization error

2013-01-03 Thread fabio martelli (JIRA)
fabio martelli created SYNCOPE-261:
--

 Summary: Role visualization error
 Key: SYNCOPE-261
 URL: https://issues.apache.org/jira/browse/SYNCOPE-261
 Project: Syncope
  Issue Type: Bug
  Components: console
Affects Versions: 1.1.0
 Environment: Mac OS
Reporter: fabio martelli
Priority: Minor
 Fix For: 1.1.0
 Attachments: Schermata 2013-01-03 a 17.32.14.png

See attached screenshot

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (SYNCOPE-261) Role visualization error

2013-01-03 Thread fabio martelli (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fabio martelli updated SYNCOPE-261:
---

Attachment: Schermata 2013-01-03 a 17.32.14.png

> Role visualization error
> 
>
> Key: SYNCOPE-261
> URL: https://issues.apache.org/jira/browse/SYNCOPE-261
> Project: Syncope
>  Issue Type: Bug
>  Components: console
>Affects Versions: 1.1.0
> Environment: Mac OS
>Reporter: fabio martelli
>Priority: Minor
> Fix For: 1.1.0
>
> Attachments: Schermata 2013-01-03 a 17.32.14.png
>
>
> See attached screenshot

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (SYNCOPE-261) Role visualization error

2013-01-03 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò reassigned SYNCOPE-261:
--

Assignee: Francesco Chicchiriccò

> Role visualization error
> 
>
> Key: SYNCOPE-261
> URL: https://issues.apache.org/jira/browse/SYNCOPE-261
> Project: Syncope
>  Issue Type: Bug
>  Components: console
>Affects Versions: 1.1.0
> Environment: Mac OS
>Reporter: fabio martelli
>Assignee: Francesco Chicchiriccò
>Priority: Minor
> Fix For: 1.1.0
>
> Attachments: Schermata 2013-01-03 a 17.32.14.png
>
>
> See attached screenshot

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543047#comment-13543047
 ] 

Francesco Chicchiriccò commented on SYNCOPE-259:


- (1) and (2), thanks for reporting Jan! I guess this is solved, then.

- check(): ResourceTO is passed to 
ResourceDataBinder#getConnInstance(ResourceTO) which invokes getConnectorId() 
and getConnConfProperties()

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: ResourceService.patch, SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-255) Hide Global Password/Account/Sync policy in security resource selections

2013-01-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543060#comment-13543060
 ] 

Hudson commented on SYNCOPE-255:


Integrated in Syncope-trunk #400 (See 
[https://builds.apache.org/job/Syncope-trunk/400/])
Fixes SYNCOPE-255 (Revision 1428451)

 Result = SUCCESS
fmartelli : 
Files : 
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/rest/PolicyRestClient.java


> Hide Global Password/Account/Sync policy in security resource selections
> 
>
> Key: SYNCOPE-255
> URL: https://issues.apache.org/jira/browse/SYNCOPE-255
> Project: Syncope
>  Issue Type: Improvement
>  Components: console
>Affects Versions: 1.0.4
> Environment: Any
>Reporter: Denis Signoretto
>Assignee: fabio martelli
>Priority: Minor
> Fix For: 1.0.5, 1.1.0
>
>
> related discussion: 
> http://syncope-user.1051894.n5.nabble.com/Differences-about-simple-and-global-password-and-account-policies-td5706812.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-260) Update propagation with null virtual attribute values

2013-01-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543072#comment-13543072
 ] 

Hudson commented on SYNCOPE-260:


Integrated in Syncope-1_0_X #90 (See 
[https://builds.apache.org/job/Syncope-1_0_X/90/])
[SYNCOPE-260] Alternative, less intrusive fix (Revision 1428455)

 Result = SUCCESS
ilgrosso : 
Files : 
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/AbstractAttr.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/AbstractAttributable.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/Attributable.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/user/UAttr.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/policy/AccountPolicyEnforcer.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/rest/controller/UserController.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/util/SchemaMappingUtil.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/workflow/ActivitiUserWorkflowAdapter.java
* 
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/workflow/NoOpUserWorkflowAdapter.java


> Update propagation with null virtual attribute values
> -
>
> Key: SYNCOPE-260
> URL: https://issues.apache.org/jira/browse/SYNCOPE-260
> Project: Syncope
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.0.5, 1.1.0
>Reporter: fabio martelli
>Assignee: fabio martelli
> Fix For: 1.0.5, 1.1.0
>
>
> Mapped virtual attributes are not correctly evaluated at update (propagation 
> task) time if and only it their values are not explicitly specified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-255) Hide Global Password/Account/Sync policy in security resource selections

2013-01-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543071#comment-13543071
 ] 

Hudson commented on SYNCOPE-255:


Integrated in Syncope-1_0_X #90 (See 
[https://builds.apache.org/job/Syncope-1_0_X/90/])
removed global policy as required by SYNCOPE-255 (Revision 1428429)

 Result = SUCCESS
fmartelli : 
Files : 
* 
/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/rest/PolicyRestClient.java


> Hide Global Password/Account/Sync policy in security resource selections
> 
>
> Key: SYNCOPE-255
> URL: https://issues.apache.org/jira/browse/SYNCOPE-255
> Project: Syncope
>  Issue Type: Improvement
>  Components: console
>Affects Versions: 1.0.4
> Environment: Any
>Reporter: Denis Signoretto
>Assignee: fabio martelli
>Priority: Minor
> Fix For: 1.0.5, 1.1.0
>
>
> related discussion: 
> http://syncope-user.1051894.n5.nabble.com/Differences-about-simple-and-global-password-and-account-policies-td5706812.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Andrei Shakirin (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543075#comment-13543075
 ] 

Andrei Shakirin commented on SYNCOPE-259:
-

- check: ah, now I see it. Then I would propose to leave check() in 
ResourceService for now.

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: ResourceService.patch, SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (SYNCOPE-260) Update propagation with null virtual attribute values

2013-01-03 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Chicchiriccò resolved SYNCOPE-260.


Resolution: Fixed

http://svn.apache.org/viewvc?rev=1428498&view=rev

> Update propagation with null virtual attribute values
> -
>
> Key: SYNCOPE-260
> URL: https://issues.apache.org/jira/browse/SYNCOPE-260
> Project: Syncope
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.0.5, 1.1.0
>Reporter: fabio martelli
>Assignee: fabio martelli
> Fix For: 1.0.5, 1.1.0
>
>
> Mapped virtual attributes are not correctly evaluated at update (propagation 
> task) time if and only it their values are not explicitly specified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543112#comment-13543112
 ] 

Hudson commented on SYNCOPE-259:


Integrated in Syncope-trunk #401 (See 
[https://builds.apache.org/job/Syncope-trunk/401/])
[SYNCOPE-259]
Introduces LoggerService (Revision 1428465)

 Result = SUCCESS
jbernhardt : 
Files : 
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/LoggerService.java
* 
/syncope/trunk/client/src/main/java/org/apache/syncope/services/LoggerServiceProxy.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/LoggerTestITCase.java


> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: ResourceService.patch, SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (SYNCOPE-259) Create transitional Service interfaces and switch tests and console to use them

2013-01-03 Thread Andrei Shakirin (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Shakirin updated SYNCOPE-259:


Attachment: ResourceService-1428511.patch

Recreated ResourceService patch for last trunk revision

> Create transitional Service interfaces and switch tests and console to use 
> them
> ---
>
> Key: SYNCOPE-259
> URL: https://issues.apache.org/jira/browse/SYNCOPE-259
> Project: Syncope
>  Issue Type: Improvement
>  Components: client, console, core
>Affects Versions: 1.1.0
>Reporter: Christian Schneider
>Assignee: Jan Bernhardt
> Fix For: 1.1.0
>
> Attachments: ResourceService-1428511.patch, ResourceService.patch, 
> SYNCOPE-259.patch
>
>
> As preparation of the change to use CXF instead of Spring MVC REST 
> controllers this issue is to introduce transitional service interfaces (like 
> as UserService).
> The UserService interface should later be used in the core to provide the 
> UserController and on the console to access the service remotely.
> To make the transition easier the idea is to already introduce the interface 
> upfront and change all tests and the console to use it. Before the switch the 
> implementation of the interface will simply use the restTemplate under the 
> covers.
> This to be applied similarly to all Spring MVC REST controllers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (SYNCOPE-255) Hide Global Password/Account/Sync policy in security resource selections

2013-01-03 Thread Denis Signoretto (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denis Signoretto reopened SYNCOPE-255:
--


Actually new Global Password/Account/Sync policy generate an error (look at 
attached image)

> Hide Global Password/Account/Sync policy in security resource selections
> 
>
> Key: SYNCOPE-255
> URL: https://issues.apache.org/jira/browse/SYNCOPE-255
> Project: Syncope
>  Issue Type: Improvement
>  Components: console
>Affects Versions: 1.0.4
> Environment: Any
>Reporter: Denis Signoretto
>Assignee: fabio martelli
>Priority: Minor
> Fix For: 1.0.5, 1.1.0
>
>
> related discussion: 
> http://syncope-user.1051894.n5.nabble.com/Differences-about-simple-and-global-password-and-account-policies-td5706812.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (SYNCOPE-255) Hide Global Password/Account/Sync policy in security resource selections

2013-01-03 Thread Denis Signoretto (JIRA)

 [ 
https://issues.apache.org/jira/browse/SYNCOPE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denis Signoretto updated SYNCOPE-255:
-

Attachment: GlobalPasswordPolicyCreationError.jpg

Trying create a new Global Password Policy generate an error to console

> Hide Global Password/Account/Sync policy in security resource selections
> 
>
> Key: SYNCOPE-255
> URL: https://issues.apache.org/jira/browse/SYNCOPE-255
> Project: Syncope
>  Issue Type: Improvement
>  Components: console
>Affects Versions: 1.0.4
> Environment: Any
>Reporter: Denis Signoretto
>Assignee: fabio martelli
>Priority: Minor
> Fix For: 1.0.5, 1.1.0
>
> Attachments: GlobalPasswordPolicyCreationError.jpg
>
>
> related discussion: 
> http://syncope-user.1051894.n5.nabble.com/Differences-about-simple-and-global-password-and-account-policies-td5706812.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (SYNCOPE-255) Hide Global Password/Account/Sync policy in security resource selections

2013-01-03 Thread Denis Signoretto (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543158#comment-13543158
 ] 

Denis Signoretto edited comment on SYNCOPE-255 at 1/3/13 6:37 PM:
--

Issue reopened.
After initial resolution trying to add a new Global Password/Account/Sync 
policy an error occurs (look at attached image).

  was (Author: dsigno):
Actually new Global Password/Account/Sync policy generate an error (look at 
attached image)
  
> Hide Global Password/Account/Sync policy in security resource selections
> 
>
> Key: SYNCOPE-255
> URL: https://issues.apache.org/jira/browse/SYNCOPE-255
> Project: Syncope
>  Issue Type: Improvement
>  Components: console
>Affects Versions: 1.0.4
> Environment: Any
>Reporter: Denis Signoretto
>Assignee: fabio martelli
>Priority: Minor
> Fix For: 1.0.5, 1.1.0
>
> Attachments: GlobalPasswordPolicyCreationError.jpg
>
>
> related discussion: 
> http://syncope-user.1051894.n5.nabble.com/Differences-about-simple-and-global-password-and-account-policies-td5706812.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-172) Role propagation / synchronization

2013-01-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543175#comment-13543175
 ] 

Hudson commented on SYNCOPE-172:


Integrated in Syncope-trunk #402 (See 
[https://builds.apache.org/job/Syncope-trunk/402/])
[SYNCOPE-260] Unmerging unwanted commit for WIP SYNCOPE-172 (Revision 
1428501)

 Result = SUCCESS
ilgrosso : 
Files : 
* /syncope/trunk
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/commons/PreferenceManager.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ReportletConfModalPage.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ResourceModalPage.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/PoliciesPanel.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceMappingPanel.java
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage.html
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage.properties
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage_it.properties
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/panels/ResourceMappingPanel.html


> Role propagation / synchronization
> --
>
> Key: SYNCOPE-172
> URL: https://issues.apache.org/jira/browse/SYNCOPE-172
> Project: Syncope
>  Issue Type: Sub-task
>Reporter: Francesco Chicchiriccò
>Assignee: Francesco Chicchiriccò
> Fix For: 1.1.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (SYNCOPE-260) Update propagation with null virtual attribute values

2013-01-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/SYNCOPE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543174#comment-13543174
 ] 

Hudson commented on SYNCOPE-260:


Integrated in Syncope-trunk #402 (See 
[https://builds.apache.org/job/Syncope-trunk/402/])
[SYNCOPE-260] Unmerging unwanted commit for WIP SYNCOPE-172 (Revision 
1428501)
[SYNCOPE-260] Merge from 1_0_X (Revision 1428498)

 Result = SUCCESS
ilgrosso : 
Files : 
* /syncope/trunk
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/commons/PreferenceManager.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ReportletConfModalPage.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ResourceModalPage.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/PoliciesPanel.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceMappingPanel.java
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage.html
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage.properties
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage_it.properties
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/panels/ResourceMappingPanel.html

ilgrosso : 
Files : 
* /syncope/trunk
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/commons/PreferenceManager.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ReportletConfModalPage.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/ResourceModalPage.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/PoliciesPanel.java
* 
/syncope/trunk/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceMappingPanel.java
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage.html
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage.properties
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/ResourceModalPage_it.properties
* 
/syncope/trunk/console/src/main/resources/org/apache/syncope/console/pages/panels/ResourceMappingPanel.html
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/init/ConnInstanceLoader.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/init/JobInstanceLoader.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/notification/NotificationJob.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/AbstractAttributable.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/policy/AccountPolicyEnforcer.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/policy/impl/AccountPolicyEnforcerImpl.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation/AbstractPropagationTaskExecutor.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/report/UserReportlet.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/controller/ConnInstanceController.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/controller/UserController.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/workflow/user/NoOpUserWorkflowAdapter.java
* 
/syncope/trunk/core/src/main/java/org/apache/syncope/core/workflow/user/activiti/ActivitiUserWorkflowAdapter.java
* 
/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java


> Update propagation with null virtual attribute values
> -
>
> Key: SYNCOPE-260
> URL: https://issues.apache.org/jira/browse/SYNCOPE-260
> Project: Syncope
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.0.5, 1.1.0
>Reporter: fabio martelli
>Assignee: fabio martelli
> Fix For: 1.0.5, 1.1.0
>
>
> Mapped virtual attributes are not correctly evaluated at update (propagation 
> task) time if and only it their values are not explicitly specified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira