syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [16/22] syncope git commit: Restoring IT tests with application/xml
Date Mon, 21 Sep 2015 14:51:07 GMT
Restoring IT tests with application/xml


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

Branch: refs/heads/SYNCOPE-156
Commit: b2355e758200ee07b3595682d8fa3a472d3f2bf2
Parents: f7d2334
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Sat Sep 19 12:48:12 2015 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Sat Sep 19 12:48:12 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/syncope/common/lib/to/AbstractSchemaTO.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/b2355e75/common/lib/src/main/java/org/apache/syncope/common/lib/to/AbstractSchemaTO.java
----------------------------------------------------------------------
diff --git a/common/lib/src/main/java/org/apache/syncope/common/lib/to/AbstractSchemaTO.java
b/common/lib/src/main/java/org/apache/syncope/common/lib/to/AbstractSchemaTO.java
index 8ff578c..f426f8c 100644
--- a/common/lib/src/main/java/org/apache/syncope/common/lib/to/AbstractSchemaTO.java
+++ b/common/lib/src/main/java/org/apache/syncope/common/lib/to/AbstractSchemaTO.java
@@ -20,10 +20,12 @@ package org.apache.syncope.common.lib.to;
 
 import com.fasterxml.jackson.annotation.JsonTypeInfo;
 import javax.ws.rs.PathParam;
+import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlSeeAlso;
 import javax.xml.bind.annotation.XmlType;
 import org.apache.syncope.common.lib.AbstractBaseBean;
 
+@XmlRootElement(name = "abstractSchema")
 @XmlType
 @XmlSeeAlso({ PlainSchemaTO.class, DerSchemaTO.class, VirSchemaTO.class })
 @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property =
"@class")


Mime
View raw message