svn commit: r1419259 - in /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest: AbstractTest.java RoleTestITCase.java SchemaTestITCase.java TaskTestITCase.java UserTestITCase.java
Author: ilgrosso Date: Mon Dec 10 08:28:43 2012 New Revision: 1419259 URL: http://svn.apache.org/viewvc?rev=1419259view=rev Log: [SYNCOPE-245] Applying provided patch Modified: 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/SchemaTestITCase.java syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java Modified: syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java?rev=1419259r1=1419258r2=1419259view=diff == --- syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java (original) +++ syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java Mon Dec 10 08:28:43 2012 @@ -22,6 +22,8 @@ import javax.sql.DataSource; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.syncope.client.http.PreemptiveAuthHttpRequestFactory; +import org.apache.syncope.client.mod.AttributeMod; +import org.apache.syncope.client.to.AttributeTO; import org.junit.Before; import org.junit.runner.RunWith; import org.slf4j.Logger; @@ -35,6 +37,20 @@ import org.springframework.web.client.Re @ContextConfiguration(locations = {classpath:restClientContext.xml, classpath:testJDBCContext.xml}) public abstract class AbstractTest { +protected static AttributeTO attributeTO(final String schema, final String value) { +AttributeTO attr = new AttributeTO(); +attr.setSchema(schema); +attr.addValue(value); +return attr; +} + +protected static AttributeMod attributeMod(final String schema, final String valueToBeAdded) { +AttributeMod attr = new AttributeMod(); +attr.setSchema(schema); +attr.addValueToBeAdded(valueToBeAdded); +return attr; +} + /** * Logger. */ Modified: syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/RoleTestITCase.java URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/RoleTestITCase.java?rev=1419259r1=1419258r2=1419259view=diff == --- syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/RoleTestITCase.java (original) +++ syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/RoleTestITCase.java Mon Dec 10 08:28:43 2012 @@ -18,39 +18,37 @@ */ package org.apache.syncope.core.rest; -import static org.junit.Assert.*; - -import java.util.Arrays; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.syncope.client.http.PreemptiveAuthHttpRequestFactory; -import org.apache.syncope.client.mod.AttributeMod; import org.apache.syncope.client.mod.RoleMod; -import org.apache.syncope.client.to.AttributeTO; import org.apache.syncope.client.to.RoleTO; import org.apache.syncope.client.to.UserTO; import org.apache.syncope.client.validation.SyncopeClientCompositeErrorException; import org.apache.syncope.client.validation.SyncopeClientException; import org.apache.syncope.types.SyncopeClientExceptionType; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; +import org.junit.FixMethodOrder; import org.junit.Test; +import org.junit.runners.MethodSorters; import org.springframework.http.HttpStatus; import org.springframework.web.client.HttpStatusCodeException; -import org.junit.FixMethodOrder; -import org.junit.runners.MethodSorters; @FixMethodOrder(MethodSorters.JVM) public class RoleTestITCase extends AbstractTest { @Test public void createWithException() { -AttributeTO attributeTO = new AttributeTO(); -attributeTO.setSchema(attr1); -attributeTO.addValue(value1); - RoleTO newRoleTO = new RoleTO(); -newRoleTO.addAttribute(attributeTO); +newRoleTO.addAttribute(attributeTO(attr1, value1)); Throwable t = null; try { @@ -77,10 +75,6 @@ public class RoleTestITCase extends Abst // inherited so setter execution should be ignored roleTO.setPasswordPolicy(2L); -AttributeTO icon = new AttributeTO(); -icon.setSchema(icon); -icon.addValue(anIcon); -
svn commit: r1419289 - /syncope/branches/1_0_X/.gitignore
Author: jbonofre Date: Mon Dec 10 09:36:52 2012 New Revision: 1419289 URL: http://svn.apache.org/viewvc?rev=1419289view=rev Log: Add .gitignore file Added: syncope/branches/1_0_X/.gitignore Added: syncope/branches/1_0_X/.gitignore URL: http://svn.apache.org/viewvc/syncope/branches/1_0_X/.gitignore?rev=1419289view=auto == --- syncope/branches/1_0_X/.gitignore (added) +++ syncope/branches/1_0_X/.gitignore Mon Dec 10 09:36:52 2012 @@ -0,0 +1,5 @@ +target +.idea +*.i?? +.project +.classpath \ No newline at end of file
svn commit: r1419290 - in /syncope/branches/1_0_X: client/pom.xml parent/pom.xml
Author: jbonofre Date: Mon Dec 10 09:37:04 2012 New Revision: 1419290 URL: http://svn.apache.org/viewvc?rev=1419290view=rev Log: Set client as an OSGi bundle Modified: syncope/branches/1_0_X/client/pom.xml syncope/branches/1_0_X/parent/pom.xml Modified: syncope/branches/1_0_X/client/pom.xml URL: http://svn.apache.org/viewvc/syncope/branches/1_0_X/client/pom.xml?rev=1419290r1=1419289r2=1419290view=diff == --- syncope/branches/1_0_X/client/pom.xml (original) +++ syncope/branches/1_0_X/client/pom.xml Mon Dec 10 09:37:04 2012 @@ -33,7 +33,7 @@ under the License. descriptionApache Syncope Client/description groupIdorg.apache.syncope/groupId artifactIdsyncope-client/artifactId - packagingjar/packaging + packagingbundle/packaging distributionManagement site @@ -88,6 +88,33 @@ under the License. /dependencies build +plugins +plugin +groupIdorg.apache.felix/groupId +artifactIdmaven-bundle-plugin/artifactId +extensionstrue/extensions +configuration +instructions +Bundle-Name${project.name}/Bundle-Name + Bundle-SymbolicNameorg.apache.syncope.client/Bundle-SymbolicName +Bundle-Version${project.version}/Bundle-Version +Export-Package + org.apache.syncope*;version=${project.version};-split-package:=merge-first +/Export-Package +Import-Package +com.thoughtworks.xstream;version=[1.4,2), +org.apache.commons.lang*;version=[2.6,3), +org.apache.http*;version=[4,5), +org.codehaus.jackson.annotate;version=[1.9,2), +org.springframework*;version=[3,4), +ch.qos.logback.classic;resolution:=optional, +org.slf4j;resolution:=optional +/Import-Package +/instructions +/configuration +/plugin +/plugins + resources resource directory../directory Modified: syncope/branches/1_0_X/parent/pom.xml URL: http://svn.apache.org/viewvc/syncope/branches/1_0_X/parent/pom.xml?rev=1419290r1=1419289r2=1419290view=diff == --- syncope/branches/1_0_X/parent/pom.xml (original) +++ syncope/branches/1_0_X/parent/pom.xml Mon Dec 10 09:37:04 2012 @@ -929,6 +929,18 @@ under the License. artifactIdjrebel-maven-plugin/artifactId version1.1.3/version /plugin +plugin + groupIdorg.apache.felix/groupId + artifactIdmaven-bundle-plugin/artifactId + version2.3.7/version + configuration +supportedProjectTypes + supportedProjectTypejar/supportedProjectType + supportedProjectTypewar/supportedProjectType + supportedProjectTypebundle/supportedProjectType +/supportedProjectTypes + /configuration +/plugin /plugins /pluginManagement
svn commit: r1419298 - /syncope/trunk/
Author: ilgrosso Date: Mon Dec 10 09:51:42 2012 New Revision: 1419298 URL: http://svn.apache.org/viewvc?rev=1419298view=rev Log: Merge from 1_0_X Modified: syncope/trunk/ (props changed) Propchange: syncope/trunk/ -- Merged /syncope/branches/1_0_X:r1418255-1419297
[CONF] Apache Syncope Roadmap
Roadmap Page edited by Francesco Chicchiricco Changes (1) {info}This page is a scratchpad for ongoing discussion at syncope-...@incubator.apache.org{info} d...@syncope.apache.org{info} {toc:style=decimal|maxLevel=2} ... Full Content This page is a scratchpad for ongoing discussion at d...@syncope.apache.org 1.1.0 (Ad libitum) 1.2.0 (Intermezzo) 1.3.0 (Jazz) 2.0.0 (Virtuoso) 2.1.0 (Rapsodia) 3.0.0 (Maggiore) 4.0.0 (Notturno) 1.1.0 (Ad libitum) Release date: Q4 2012 Issues See updated list on project's JIRA. [SYNCOPE-121] Policy-compliant random password generation [SYNCOPE-122] Password change on an external resource only [SYNCOPE-51] Remove MD5 as a supported password cipher algorithm [SYNCOPE-100] Add more password encryption options [SYNCOPE-123] Support binary schema for user, role and membership attributes [SYNCOPE-125] Derived and Virtual attribute use cases [SYNCOPE-126] Database import / export and related tasks [SYNCOPE-127] Workflow: concepts, how to customize and how to trace [SYNCOPE-128] Self-registration [SYNCOPE-171] Role provisioning [SYNCOPE-130] Avoid propagating useless update operations [SYNCOPE-44] Add ability to search for Roles via the REST API [SYNCOPE-146] Provide asynchronous refresh of tasks and reports list [SYNCOPE-147] Provide refresh button in task and report modal windows [SYNCOPE-148] Provide cancel button for all modal windows [SYNCOPE-144] Provide Task entities with a name and an optional description 1.2.0 (Intermezzo) Release date: Q1 2013 Issues See updated list on project's JIRA. [SYNCOPE-15] Manage creator, lastmodifier and approvers information about each SyncopeUser bean [SYNCOPE-119] Realm-based authorization [SYNCOPE-120] Avoid duplication in console's authorization management [SYNCOPE-129] Delegation [SYNCOPE-131] Assign membership and role schemas to either all memberships / roles or only some memberships / roles [SYNCOPE-132] Don't expose some REST list methods for anonymous [SYNCOPE-133] Add UserRequestController.execute() that will execute the provided UserRequest and remove it on success [SYNCOPE-134] User, role and membership properties for derived schemas [SYNCOPE-135] Password reset [SYNCOPE-136] Password required for resource subscription 1.3.0 (Jazz) Release date: Q2 2013 Issues See updated list on project's JIRA. [SYNCOPE-137] Support more than one local connector bundles directory and zero or more ConnId's connector servers [SYNCOPE-138] Scripted SQL connector bundle [SYNCOPE-139] Support OpenICF connector bundles [SYNCOPE-140] Dynamic role memberships [SYNCOPE-141] Concurrent propagation [SYNCOPE-142] Asynchronous propagation [SYNCOPE-143] GUI installer [SYNCOPE-145] Configurable user request approval 2.0.0 (Virtuoso) Release date: Q4 2013 Issues See updated list on project's JIRA. [SYNCOPE-149] Easier and cleaner way to override REST methods [SYNCOPE-150] Rich client library [SYNCOPE-151] Enlist RESTful services [SYNCOPE-152] Support SCIM REST API [SYNCOPE-153] Use logback-audit [SYNCOPE-154] Virtual attribute cache [SYNCOPE-155] Better way to override console components [SYNCOPE-156] New admin UI 2.1.0 (Rapsodia) Release date: Q1 2014 Issues See updated list on project's JIRA. [SYNCOPE-157] Upgrade tools [SYNCOPE-158] CLI admin tool [SYNCOPE-159] Bulk operations via REST API 3.0.0 (Maggiore) Release date: Q2 2014 Issues See updated list on project's JIRA. [SYNCOPE-161] Pluggable authentication modules [SYNCOPE-162] PDC-based authentication [SYNCOPE-163] Authentication chain [SYNCOPE-164] Passthrough authentication [SYNCOPE-165] One-time password [SYNCOPE-166] Investigate using Apache Shiro to provide AM features [SYNCOPE-167] Resource access policies 4.0.0 (Notturno) Release date: Q4 2014 Issues See updated list on project's JIRA. [SYNCOPE-168] Allow more notification mechanisms besides e-mail [SYNCOPE-169] Notification chains [SYNCOPE-174] JMX support [SYNCOPE-175] End-user JSR-286 portlet [SYNCOPE-176] Android / iPhone end-user app [SYNCOPE-177] Interceptors Change Notification Preferences View Online | View Changes | Add Comment