Author: chris.laprun(a)jboss.com
Date: 2011-11-10 06:50:16 -0500 (Thu, 10 Nov 2011)
New Revision: 8026
Modified:
components/wsrp/branches/2.1.x/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java
components/wsrp/branches/2.1.x/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java
Log:
- CopyPortlets is also supported.
Modified:
components/wsrp/branches/2.1.x/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java
===================================================================
---
components/wsrp/branches/2.1.x/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java 2011-11-10
10:53:51 UTC (rev 8025)
+++
components/wsrp/branches/2.1.x/producer/src/main/java/org/gatein/wsrp/producer/handlers/ServiceDescriptionHandler.java 2011-11-10
11:50:16 UTC (rev 8026)
@@ -101,6 +101,7 @@
OPTIONS.add(WSRP2Constants.OPTIONS_EVENTS);
OPTIONS.add(WSRP2Constants.OPTIONS_IMPORT);
OPTIONS.add(WSRP2Constants.OPTIONS_EXPORT);
+ OPTIONS.add(WSRP2Constants.OPTIONS_COPYPORTLETS);
}
public ServiceDescriptionHandler(WSRPProducerImpl producer)
Modified:
components/wsrp/branches/2.1.x/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java
===================================================================
---
components/wsrp/branches/2.1.x/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java 2011-11-10
10:53:51 UTC (rev 8025)
+++
components/wsrp/branches/2.1.x/wsrp-producer-war/src/test/java/org/gatein/wsrp/protocol/v2/ServiceDescriptionTestCase.java 2011-11-10
11:50:16 UTC (rev 8026)
@@ -1,6 +1,6 @@
/*
* JBoss, a division of Red Hat
- * Copyright 2010, Red Hat Middleware, LLC, and individual
+ * Copyright 2011, Red Hat Middleware, LLC, and individual
* contributors as indicated by the @authors tag. See the
* copyright.txt in the distribution for a full listing of
* individual contributors.
@@ -214,6 +214,7 @@
ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_EVENTS));
ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_IMPORT));
ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_EXPORT));
+ ExtendedAssert.assertTrue(options.contains(WSRP2Constants.OPTIONS_COPYPORTLETS));
}
@Test
Show replies by date