Syncope-1_2_X - Build # 93 - Aborted

2017-08-17 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-1_2_X (build #93)

Status: Aborted

Check console output at https://builds.apache.org/job/Syncope-1_2_X/93/ to view 
the results.

Syncope-1_2_X - Build # 92 - Aborted

2017-08-17 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-1_2_X (build #92)

Status: Aborted

Check console output at https://builds.apache.org/job/Syncope-1_2_X/92/ to view 
the results.

syncope git commit: Keep running on precise

2017-08-17 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/1_2_X 6774e007a -> 91527895d


Keep running on precise


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

Branch: refs/heads/1_2_X
Commit: 91527895d35e950998bd13d17ecf6ac53b00d01e
Parents: 6774e00
Author: Francesco Chicchiriccò 
Authored: Fri Aug 18 08:35:27 2017 +0200
Committer: Francesco Chicchiriccò 
Committed: Fri Aug 18 08:35:27 2017 +0200

--
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/91527895/.travis.yml
--
diff --git a/.travis.yml b/.travis.yml
index 01a627f..25d8ea4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,7 @@
 # limitations under the License.
 
 sudo: false
+dist: precise
 cache:
   directories:
   - $HOME/.m2



syncope git commit: Upgrading Tomcat

2017-08-17 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/1_2_X d4edbaa81 -> 6774e007a


Upgrading Tomcat


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/6774e007
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/6774e007
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/6774e007

Branch: refs/heads/1_2_X
Commit: 6774e007a05e936787a1c714dd5a2dd8f3b858f1
Parents: d4edbaa
Author: Francesco Chicchiriccò 
Authored: Fri Aug 18 08:33:20 2017 +0200
Committer: Francesco Chicchiriccò 
Committed: Fri Aug 18 08:33:20 2017 +0200

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/6774e007/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 1a1eb61..7952fc2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -375,7 +375,7 @@ under the License.
 
 4.3.6
 
-7.0.79
+7.0.81
 
 1.9.2
  



Syncope-2_0_X - Build # 114 - Still Failing

2017-08-17 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-2_0_X (build #114)

Status: Still Failing

Check console output at https://builds.apache.org/job/Syncope-2_0_X/114/ to 
view the results.

Syncope-2_0_X - Build # 113 - Still Failing

2017-08-17 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-2_0_X (build #113)

Status: Still Failing

Check console output at https://builds.apache.org/job/Syncope-2_0_X/113/ to 
view the results.

syncope git commit: [SYNCOPE-1190] provides action toggle panel header reload

2017-08-17 Thread fmartelli
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 31e884a9f -> 223f14397


[SYNCOPE-1190] provides action toggle panel header reload


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/223f1439
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/223f1439
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/223f1439

Branch: refs/heads/2_0_X
Commit: 223f14397a2a8e5b5689bde706020d5d641b3f9c
Parents: 31e884a
Author: fmartelli 
Authored: Thu Aug 17 16:51:43 2017 +0200
Committer: fmartelli 
Committed: Thu Aug 17 16:52:28 2017 +0200

--
 .../console/panels/AnyDirectoryPanel.java   | 17 +++
 .../html/form/ActionLinksTogglePanel.java   | 22 
 2 files changed, 35 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/223f1439/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
--
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
index 5a481ff..ad02b53 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
@@ -44,6 +44,7 @@ import 
org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.
 import 
org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
 import org.apache.syncope.client.console.wicket.markup.html.form.ActionLink;
 import org.apache.syncope.client.console.wizards.any.AnyWrapper;
+import org.apache.syncope.client.console.wizards.any.ResultPage;
 import org.apache.syncope.client.console.wizards.any.StatusPanel;
 import org.apache.syncope.common.lib.SyncopeConstants;
 import org.apache.syncope.common.lib.to.AnyTO;
@@ -55,6 +56,7 @@ import org.apache.syncope.common.lib.types.SchemaType;
 import org.apache.wicket.PageReference;
 import org.apache.wicket.ajax.AjaxRequestTarget;
 import 
org.apache.wicket.authroles.authorization.strategies.role.metadata.MetaDataRoleAuthorizationStrategy;
+import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow;
 import org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn;
 import 
org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn;
 import org.apache.wicket.markup.html.panel.Panel;
@@ -125,6 +127,21 @@ public abstract class AnyDirectoryPanelhttp://git-wip-us.apache.org/repos/asf/syncope/blob/223f1439/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
--
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
index aac5942..87f184d 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
@@ -26,6 +26,9 @@ import 
org.apache.syncope.client.console.commons.status.StatusBean;
 import org.apache.syncope.client.console.panels.TogglePanel;
 import 
org.apache.syncope.client.console.policies.PolicyRuleDirectoryPanel.PolicyRuleWrapper;
 import 
org.apache.syncope.client.console.reports.ReportletDirectoryPanel.ReportletWrapper;
+import org.apache.syncope.client.console.wizards.any.AnyWrapper;
+import org.apache.syncope.client.console.wizards.any.GroupWrapper;
+import org.apache.syncope.client.console.wizards.any.UserWrapper;
 import org.apache.syncope.client.console.wizards.resources.ResourceProvision;
 import org.apache.syncope.common.lib.to.AnyObjectTO;
 import org.apache.syncope.common.lib.to.EntityTO;
@@ -68,19 +71,26 @@ public class ActionLinksTogglePanel 
extends TogglePanel<
 container.add(getEmptyFragment());
 }
 
-public void toggleWithContent(
-final AjaxRequestTarget target, final ActionsPanel 
actionsPanel, final T modelObject) {
+public void updateHeader(
+final AjaxRequestTarget target, final Serializable modelObject) {
 final String header;
 if (modelObject == null) {
 header = new ResourceModel("actions", 
StringUtils.EMPTY).getObject();
 } else if (modelObject instanceof UserTO) {
 header = ((UserTO) modelObject).getUsername();
+} else if (modelObject instanceof User

syncope git commit: [SYNCOPE-1190] provides action toggle panel header reload

2017-08-17 Thread fmartelli
Repository: syncope
Updated Branches:
  refs/heads/master 9deba7134 -> 4f7cb969c


[SYNCOPE-1190] provides action toggle panel header reload


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/4f7cb969
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/4f7cb969
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/4f7cb969

Branch: refs/heads/master
Commit: 4f7cb969c55acf9b154923490279701984e17459
Parents: 9deba71
Author: fmartelli 
Authored: Thu Aug 17 16:51:43 2017 +0200
Committer: fmartelli 
Committed: Thu Aug 17 16:51:43 2017 +0200

--
 .../console/panels/AnyDirectoryPanel.java   | 17 +++
 .../html/form/ActionLinksTogglePanel.java   | 22 
 2 files changed, 35 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/4f7cb969/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
--
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
index 5a481ff..ad02b53 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/AnyDirectoryPanel.java
@@ -44,6 +44,7 @@ import 
org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.
 import 
org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
 import org.apache.syncope.client.console.wicket.markup.html.form.ActionLink;
 import org.apache.syncope.client.console.wizards.any.AnyWrapper;
+import org.apache.syncope.client.console.wizards.any.ResultPage;
 import org.apache.syncope.client.console.wizards.any.StatusPanel;
 import org.apache.syncope.common.lib.SyncopeConstants;
 import org.apache.syncope.common.lib.to.AnyTO;
@@ -55,6 +56,7 @@ import org.apache.syncope.common.lib.types.SchemaType;
 import org.apache.wicket.PageReference;
 import org.apache.wicket.ajax.AjaxRequestTarget;
 import 
org.apache.wicket.authroles.authorization.strategies.role.metadata.MetaDataRoleAuthorizationStrategy;
+import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow;
 import org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn;
 import 
org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn;
 import org.apache.wicket.markup.html.panel.Panel;
@@ -125,6 +127,21 @@ public abstract class AnyDirectoryPanelhttp://git-wip-us.apache.org/repos/asf/syncope/blob/4f7cb969/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
--
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
index aac5942..87f184d 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLinksTogglePanel.java
@@ -26,6 +26,9 @@ import 
org.apache.syncope.client.console.commons.status.StatusBean;
 import org.apache.syncope.client.console.panels.TogglePanel;
 import 
org.apache.syncope.client.console.policies.PolicyRuleDirectoryPanel.PolicyRuleWrapper;
 import 
org.apache.syncope.client.console.reports.ReportletDirectoryPanel.ReportletWrapper;
+import org.apache.syncope.client.console.wizards.any.AnyWrapper;
+import org.apache.syncope.client.console.wizards.any.GroupWrapper;
+import org.apache.syncope.client.console.wizards.any.UserWrapper;
 import org.apache.syncope.client.console.wizards.resources.ResourceProvision;
 import org.apache.syncope.common.lib.to.AnyObjectTO;
 import org.apache.syncope.common.lib.to.EntityTO;
@@ -68,19 +71,26 @@ public class ActionLinksTogglePanel 
extends TogglePanel<
 container.add(getEmptyFragment());
 }
 
-public void toggleWithContent(
-final AjaxRequestTarget target, final ActionsPanel 
actionsPanel, final T modelObject) {
+public void updateHeader(
+final AjaxRequestTarget target, final Serializable modelObject) {
 final String header;
 if (modelObject == null) {
 header = new ResourceModel("actions", 
StringUtils.EMPTY).getObject();
 } else if (modelObject instanceof UserTO) {
 header = ((UserTO) modelObject).getUsername();
+} else if (modelObject instanceof Us

syncope git commit: [SYNCOPE-1176] provides action toggle panel for the list view panel

2017-08-17 Thread fmartelli
Repository: syncope
Updated Branches:
  refs/heads/master 05ada83cc -> 9deba7134


[SYNCOPE-1176] provides action toggle panel for the list view panel


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/9deba713
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/9deba713
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/9deba713

Branch: refs/heads/master
Commit: 9deba71344c6c7520bd7a0319dbeb9928739e1b7
Parents: 05ada83
Author: fmartelli 
Authored: Thu Aug 17 15:30:42 2017 +0200
Committer: fmartelli 
Committed: Thu Aug 17 15:31:59 2017 +0200

--
 .../client/console/panels/ListViewPanel.java| 49 +++-
 .../console/wicket/markup/html/form/Action.java |  5 ++
 .../html/form/ActionLinksTogglePanel.java   |  3 ++
 .../wicket/markup/html/form/ActionPanel.java|  3 ++
 .../wicket/markup/html/form/ActionsPanel.java   | 14 ++
 .../resources/ResourceProvisionPanel.java   | 15 +-
 .../resources/ResourceProvisionPanel.html   |  3 +-
 .../syncope/fit/console/TopologyITCase.java | 18 ---
 8 files changed, 99 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/9deba713/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
--
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
index e028cc3..6dce4eb 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
@@ -29,13 +29,17 @@ import java.util.List;
 import org.apache.commons.collections4.IteratorUtils;
 import org.apache.commons.collections4.Predicate;
 import org.apache.commons.lang3.StringUtils;
+import org.apache.syncope.client.console.commons.Constants;
 import 
org.apache.syncope.client.console.wicket.ajax.form.IndicatorAjaxFormChoiceComponentUpdatingBehavior;
 import org.apache.syncope.client.console.wicket.markup.html.form.ActionLink;
+import 
org.apache.syncope.client.console.wicket.markup.html.form.ActionLinksTogglePanel;
 import org.apache.syncope.client.console.wicket.markup.html.form.ActionsPanel;
 import org.apache.syncope.client.console.wizards.AjaxWizard;
 import org.apache.syncope.client.console.wizards.WizardMgtPanel;
+import org.apache.wicket.AttributeModifier;
 import org.apache.wicket.Component;
 import org.apache.wicket.PageReference;
+import org.apache.wicket.ajax.AjaxEventBehavior;
 import org.apache.wicket.ajax.AjaxRequestTarget;
 import org.apache.wicket.core.util.lang.PropertyResolver;
 import org.apache.wicket.event.IEvent;
@@ -58,6 +62,8 @@ public abstract class ListViewPanel 
extends WizardMgtPan
 
 private static final Logger LOG = 
LoggerFactory.getLogger(ListViewPanel.class);
 
+private ActionLinksTogglePanel togglePanel;
+
 public enum CheckAvailability {
 
 /**
@@ -105,6 +111,8 @@ public abstract class ListViewPanel 
extends WizardMgtPan
 super(id, wizardInModal);
 setOutputMarkupId(true);
 
+togglePanel = getTogglePanel();
+
 this.check = Model.of(check);
 
 addInnerObject(new Label("caption", new 
ResourceModel("listview.caption", StringUtils.EMPTY)));
@@ -176,10 +184,36 @@ public abstract class ListViewPanel extends WizardMgtPan
 @Override
 protected void populateItem(final ListItem 
fieldItem) {
 
fieldItem.add(getValueComponent(fieldItem.getModelObject(), bean));
+if (togglePanel != null) {
+fieldItem.add(new AttributeModifier("style", 
"cursor: pointer;"));
+fieldItem.add(new 
AjaxEventBehavior(Constants.ON_CLICK) {
+
+private static final long serialVersionUID = 
-9027652037484739586L;
+
+@Override
+protected String findIndicatorId() {
+return StringUtils.EMPTY;
+}
+
+@Override
+protected void onEvent(final AjaxRequestTarget 
target) {
+togglePanel.toggleWithContent(
+target,
+actions.cloneWithLabels("actions", 
new Model<>(bean)),
+bean);
+}
+});
+}
 }
   

syncope git commit: [SYNCOPE-1176] provides action toggle panel for the list view panel

2017-08-17 Thread fmartelli
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 36f2537e7 -> 31e884a9f


[SYNCOPE-1176] provides action toggle panel for the list view panel


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/31e884a9
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/31e884a9
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/31e884a9

Branch: refs/heads/2_0_X
Commit: 31e884a9fda21702fb04b5ecfa711b50de6d7452
Parents: 36f2537
Author: fmartelli 
Authored: Thu Aug 17 15:30:42 2017 +0200
Committer: fmartelli 
Committed: Thu Aug 17 15:30:42 2017 +0200

--
 .../client/console/panels/ListViewPanel.java| 49 +++-
 .../console/wicket/markup/html/form/Action.java |  5 ++
 .../html/form/ActionLinksTogglePanel.java   |  3 ++
 .../wicket/markup/html/form/ActionPanel.java|  3 ++
 .../wicket/markup/html/form/ActionsPanel.java   | 14 ++
 .../resources/ResourceProvisionPanel.java   | 15 +-
 .../resources/ResourceProvisionPanel.html   |  3 +-
 .../syncope/fit/console/TopologyITCase.java | 18 ---
 8 files changed, 99 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/31e884a9/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
--
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
index e028cc3..6dce4eb 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/ListViewPanel.java
@@ -29,13 +29,17 @@ import java.util.List;
 import org.apache.commons.collections4.IteratorUtils;
 import org.apache.commons.collections4.Predicate;
 import org.apache.commons.lang3.StringUtils;
+import org.apache.syncope.client.console.commons.Constants;
 import 
org.apache.syncope.client.console.wicket.ajax.form.IndicatorAjaxFormChoiceComponentUpdatingBehavior;
 import org.apache.syncope.client.console.wicket.markup.html.form.ActionLink;
+import 
org.apache.syncope.client.console.wicket.markup.html.form.ActionLinksTogglePanel;
 import org.apache.syncope.client.console.wicket.markup.html.form.ActionsPanel;
 import org.apache.syncope.client.console.wizards.AjaxWizard;
 import org.apache.syncope.client.console.wizards.WizardMgtPanel;
+import org.apache.wicket.AttributeModifier;
 import org.apache.wicket.Component;
 import org.apache.wicket.PageReference;
+import org.apache.wicket.ajax.AjaxEventBehavior;
 import org.apache.wicket.ajax.AjaxRequestTarget;
 import org.apache.wicket.core.util.lang.PropertyResolver;
 import org.apache.wicket.event.IEvent;
@@ -58,6 +62,8 @@ public abstract class ListViewPanel 
extends WizardMgtPan
 
 private static final Logger LOG = 
LoggerFactory.getLogger(ListViewPanel.class);
 
+private ActionLinksTogglePanel togglePanel;
+
 public enum CheckAvailability {
 
 /**
@@ -105,6 +111,8 @@ public abstract class ListViewPanel 
extends WizardMgtPan
 super(id, wizardInModal);
 setOutputMarkupId(true);
 
+togglePanel = getTogglePanel();
+
 this.check = Model.of(check);
 
 addInnerObject(new Label("caption", new 
ResourceModel("listview.caption", StringUtils.EMPTY)));
@@ -176,10 +184,36 @@ public abstract class ListViewPanel extends WizardMgtPan
 @Override
 protected void populateItem(final ListItem 
fieldItem) {
 
fieldItem.add(getValueComponent(fieldItem.getModelObject(), bean));
+if (togglePanel != null) {
+fieldItem.add(new AttributeModifier("style", 
"cursor: pointer;"));
+fieldItem.add(new 
AjaxEventBehavior(Constants.ON_CLICK) {
+
+private static final long serialVersionUID = 
-9027652037484739586L;
+
+@Override
+protected String findIndicatorId() {
+return StringUtils.EMPTY;
+}
+
+@Override
+protected void onEvent(final AjaxRequestTarget 
target) {
+togglePanel.toggleWithContent(
+target,
+actions.cloneWithLabels("actions", 
new Model<>(bean)),
+bean);
+}
+});
+}
 }
 

Syncope-2_0_X - Build # 112 - Still Failing

2017-08-17 Thread Apache Jenkins Server
The Apache Jenkins build system has built Syncope-2_0_X (build #112)

Status: Still Failing

Check console output at https://builds.apache.org/job/Syncope-2_0_X/112/ to 
view the results.