[jboss-svn-commits] JBL Code SVN: r7706 - in labs/jbossesb/trunk/product: console lib/ext

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sat Nov 18 08:50:23 EST 2006


Author: tfennelly
Date: 2006-11-18 08:50:19 -0500 (Sat, 18 Nov 2006)
New Revision: 7706

Modified:
   labs/jbossesb/trunk/product/console/import.sql
   labs/jbossesb/trunk/product/lib/ext/milyn-smooks-core-0.8-SNAPSHOT.jar
Log:
Demo work

Modified: labs/jbossesb/trunk/product/console/import.sql
===================================================================
--- labs/jbossesb/trunk/product/console/import.sql	2006-11-18 12:49:18 UTC (rev 7705)
+++ labs/jbossesb/trunk/product/console/import.sql	2006-11-18 13:50:19 UTC (rev 7706)
@@ -8,9 +8,16 @@
 INSERT INTO epr (id, uri) VALUES (1, 'DVDStore:OrderDispatchService');
 INSERT INTO epr (id, uri) VALUES (2, 'DVDWarehouse_1:OrderHandlingService');
 INSERT INTO epr (id, uri) VALUES (3, 'DVDWarehouse_2:OrderHandlingService');
+INSERT INTO epr (id, uri) VALUES (4, 'DataWarehouse:OrderTrackingService');
 
-INSERT INTO messagecontract (id, epr, usage, mime, namespace, messagedescription) VALUES (1, 'DVDStore:OrderDispatchService', 'PRODUCES', 'text/xml', 'fullFillOrder', 'http://org.acme/OrderDispatchService/fullFillOrder.xsd');
-INSERT INTO messagecontract (id, epr, usage, mime, namespace, messagedescription) VALUES (2, 'DVDWarehouse_1:OrderHandlingService', 'CONSUMES', 'text/xml', 'shipOrder', 'http://org.acme/OrderHandlingService/shipOrder-post.dtd');
+INSERT INTO messagecontract (id, epr, usage, mime, namespace, messagedescription) VALUES 
+	(1, 'DVDStore:OrderDispatchService', 'PRODUCES', 'text/xml', 'fullFillOrder', 'http://org.acme/OrderDispatchService/fullFillOrder.xsd');
+INSERT INTO messagecontract (id, epr, usage, mime, namespace, messagedescription) VALUES 
+	(2, 'DVDWarehouse_1:OrderHandlingService', 'CONSUMES', 'text/xml', 'shipOrder', 'http://org.acme/OrderHandlingService/shipOrder-post.dtd');
+INSERT INTO messagecontract (id, epr, usage, mime, namespace, messagedescription) VALUES 
+	(3, 'DVDWarehouse_2:OrderNotificationService', 'CONSUMES', 'application/EDI-X12', 'notifyCustomer', 'http://org.acme/OrderHandlingService/notifyCustomer.xsd');
+INSERT INTO messagecontract (id, epr, usage, mime, namespace, messagedescription) VALUES 
+	(4, 'DataWarehouse:OrderTrackingService', 'CONSUMES', 'text/xml', 'recordOrder', 'http://org.acme/OrderTrackingService/recordOrder.xsd');
 
 --########################################################################
 --#  Templating cdu-creators.
@@ -149,3 +156,51 @@
 	(28, 'visitBefore', 'false', 'Should the template be applied before (true) or after (false) Smooks visits the child elements of the target element.', false, 9);
 insert into transformationresourceparameterspec (id, name, value, description, required, resourcespec_id) values 
 	(29, 'encoding', 'UTF-8', 'XSLT Character Encoding.', false, 9);
+
+--########################################################################
+--#  Rename Element.
+--########################################################################
+insert into transformationresourcespec (id, name, path, description, reference) values 
+	(10, 'Rename Element', 'org.milyn.cdres.trans.RenameElementTU', 
+	'Rename Element.<br/>Resources derived from this template will require the <a href="http://milyn.codehaus.org/Smooks#Smooks-smookscartridges">Smooks Misc Cartridge</a> to be installed.', 
+	'http://milyn.codehaus.org/javadoc/smooks-cartridges/misc/org/milyn/cdres/trans/RenameElementTU.html');
+insert into transformationresourceparameterspec (id, name, value, description, required, resourcespec_id) values 
+	(30, 'replacementElement', '', 'New name for the element.', true, 10);
+insert into transformationresourceparameterspec (id, name, value, description, required, resourcespec_id) values 
+	(31, 'keepChildContent', '', 'Copy the target element child content to the replacement element.<br/>Default is "true".', false, 10);
+insert into transformationresourceparameterspec (id, name, value, description, required, resourcespec_id) values 
+	(32, 'keepAttributes', '', 'Copy the target element attributes to the replacement element.<br/>Default is "true".', false, 10);
+
+--########################################################################
+--#  Set Attribute.
+--########################################################################
+insert into transformationresourcespec (id, name, path, description, reference) values 
+	(11, 'Set Attribute', 'org.milyn.cdres.trans.SetAttributeTU', 
+	'Set Element Attribute.  Allows you add/overwrite an attribute on the target Element.<br/>Resources derived from this template will require the <a href="http://milyn.codehaus.org/Smooks#Smooks-smookscartridges">Smooks Misc Cartridge</a> to be installed.',
+	'http://milyn.codehaus.org/javadoc/smooks-cartridges/misc/org/milyn/cdres/trans/SetAttributeTU.html');
+insert into transformationresourceparameterspec (id, name, value, description, required, resourcespec_id) values 
+	(33, 'attributeName', '', 'New attribute name.', true, 11);
+insert into transformationresourceparameterspec (id, name, value, description, required, resourcespec_id) values 
+	(34, 'attributeValue', '', 'Attribute Value.', true, 11);
+insert into transformationresourceparameterspec (id, name, value, description, required, resourcespec_id) values 
+	(35, 'overwrite', '', 'Overwrite existing attributes of the same name.<br/>Default is "false".', false, 11);
+
+--########################################################################
+--#  Remove Element.
+--########################################################################
+insert into transformationresourcespec (id, name, path, description, reference) values 
+	(12, 'Remove Element', 'org.milyn.cdres.trans.RemoveElementTU', 
+	'Remove Element.<br/>Resources derived from this template will require the <a href="http://milyn.codehaus.org/Smooks#Smooks-smookscartridges">Smooks Misc Cartridge</a> to be installed.',
+	'http://milyn.codehaus.org/javadoc/smooks-cartridges/misc/org/milyn/cdres/trans/RemoveElementTU.html');
+insert into transformationresourceparameterspec (id, name, value, description, required, resourcespec_id) values 
+	(36, 'keepChildContent', '', 'Keep the target element''s child content.<br/>Default is "true".', false, 12);
+
+--########################################################################
+--#  Remove Attribute.
+--########################################################################
+insert into transformationresourcespec (id, name, path, description, reference) values 
+	(13, 'Remove Attribute', 'org.milyn.cdres.trans.RemoveAttributeTU', 
+	'Remove an attribute from the target element.<br/>Resources derived from this template will require the <a href="http://milyn.codehaus.org/Smooks#Smooks-smookscartridges">Smooks Misc Cartridge</a> to be installed.',
+	'http://milyn.codehaus.org/javadoc/smooks-cartridges/misc/org/milyn/cdres/trans/RemoveAttributeTU.html');
+insert into transformationresourceparameterspec (id, name, value, description, required, resourcespec_id) values 
+	(37, 'attributeName', '', 'The name of the attribute to be removed from the target element.', true, 13);

Modified: labs/jbossesb/trunk/product/lib/ext/milyn-smooks-core-0.8-SNAPSHOT.jar
===================================================================
(Binary files differ)




More information about the jboss-svn-commits mailing list