You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(119) |
Oct
(111) |
Nov
(238) |
Dec
(395) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(239) |
Feb
(59) |
Mar
(354) |
Apr
(489) |
May
(23) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(5) |
Jun
(2) |
Jul
|
Aug
|
Sep
(3) |
Oct
(14) |
Nov
(17) |
Dec
(9) |
| 2007 |
Jan
(4) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
(7) |
May
(3) |
Jun
(6) |
Jul
(4) |
Aug
(3) |
Sep
(15) |
Oct
(13) |
Nov
(35) |
Dec
(40) |
| 2009 |
Jan
(19) |
Feb
(21) |
Mar
(16) |
Apr
(18) |
May
(36) |
Jun
(20) |
Jul
(32) |
Aug
(11) |
Sep
(3) |
Oct
(2) |
Nov
(2) |
Dec
(13) |
| 2010 |
Jan
(5) |
Feb
(5) |
Mar
(7) |
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
|
Dec
(3) |
| 2012 |
Jan
(3) |
Feb
(3) |
Mar
(1) |
Apr
(4) |
May
(8) |
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
(8) |
Oct
(3) |
Nov
(8) |
Dec
(4) |
| 2013 |
Jan
(2) |
Feb
(1) |
Mar
(5) |
Apr
(6) |
May
(10) |
Jun
(5) |
Jul
(6) |
Aug
(7) |
Sep
(5) |
Oct
(2) |
Nov
(4) |
Dec
(4) |
| 2014 |
Jan
(13) |
Feb
(4) |
Mar
(7) |
Apr
(9) |
May
(20) |
Jun
(13) |
Jul
(10) |
Aug
(3) |
Sep
(5) |
Oct
(2) |
Nov
(2) |
Dec
(2) |
| 2015 |
Jan
(3) |
Feb
(3) |
Mar
(5) |
Apr
(4) |
May
(3) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(3) |
| 2016 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(3) |
Nov
(4) |
Dec
(2) |
| 2017 |
Jan
|
Feb
(2) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Pelle B. <pe...@us...> - 2004-04-05 16:44:52
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/orders/builders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25941/src/java/org/neuclear/asset/orders/builders Modified Files: TransferOrderBuilder.java Log Message: Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Index: TransferOrderBuilder.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/orders/builders/TransferOrderBuilder.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TransferOrderBuilder.java 2 Apr 2004 23:04:35 -0000 1.5 --- TransferOrderBuilder.java 5 Apr 2004 16:31:41 -0000 1.6 *************** *** 4,12 **** import org.neuclear.asset.InvalidTransferException; import org.neuclear.asset.NegativeTransferException; - import org.neuclear.asset.contracts.Asset; import org.neuclear.asset.orders.TransferGlobals; import org.neuclear.asset.orders.Value; import org.neuclear.commons.NeuClearException; import org.neuclear.commons.Utility; import org.neuclear.id.Signatory; import org.neuclear.id.builders.Builder; --- 4,12 ---- import org.neuclear.asset.InvalidTransferException; import org.neuclear.asset.NegativeTransferException; import org.neuclear.asset.orders.TransferGlobals; import org.neuclear.asset.orders.Value; import org.neuclear.commons.NeuClearException; import org.neuclear.commons.Utility; + import org.neuclear.id.Service; import org.neuclear.id.Signatory; import org.neuclear.id.builders.Builder; *************** *** 32,35 **** --- 32,38 ---- $Id$ $Log$ + Revision 1.6 2004/04/05 16:31:41 pelle + Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. + Revision 1.5 2004/04/02 23:04:35 pelle Got TransferOrder and Builder working with their test cases. *************** *** 137,141 **** */ public class TransferOrderBuilder extends Builder { ! public TransferOrderBuilder(final Asset asset, final Signatory recipient, final Value amount, final String comment) throws InvalidTransferException, NegativeTransferException, NeuClearException { this(asset.getName(), recipient.getName(), amount, comment); } --- 140,144 ---- */ public class TransferOrderBuilder extends Builder { ! public TransferOrderBuilder(final Service asset, final Signatory recipient, final Value amount, final String comment) throws InvalidTransferException, NegativeTransferException, NeuClearException { this(asset.getName(), recipient.getName(), amount, comment); } |
|
From: Pelle B. <pe...@us...> - 2004-04-05 16:44:28
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/contracts/builders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25941/src/test/org/neuclear/exchange/contracts/builders Added Files: ExchangeAgentBuilderTest.java Log Message: Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. --- NEW FILE: ExchangeAgentBuilderTest.java --- package org.neuclear.exchange.contracts.builders; import org.neuclear.commons.NeuClearException; import org.neuclear.exchange.contracts.ExchangeAgent; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.builders.Builder; import org.neuclear.tests.AbstractObjectCreationTest; import java.security.GeneralSecurityException; /* $Id: ExchangeAgentBuilderTest.java,v 1.1 2004/04/05 16:31:44 pelle Exp $ $Log: ExchangeAgentBuilderTest.java,v $ Revision 1.1 2004/04/05 16:31:44 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Revision 1.1 2004/04/02 16:58:55 pelle Updated Asset and Asset Builder with semi fully featured functionality. It now has Issuer, Service etc. */ /** * User: pelleb * Date: Apr 2, 2004 * Time: 10:40:20 AM */ public class ExchangeAgentBuilderTest extends AbstractObjectCreationTest { public ExchangeAgentBuilderTest(String string) throws NeuClearException, GeneralSecurityException { super(string); } protected void verifyObject(SignedNamedObject obj) throws Exception { ExchangeAgent asset = (ExchangeAgent) obj; assertNotNull(asset.getServiceKey()); assertEqualPublicKeys(getSigner().getPublicKey("neu://test/bux"), asset.getServiceKey()); assertNotNull(asset.getServiceUrl()); assertEquals(URL, asset.getServiceUrl()); } protected Class getRequiredClass() { return ExchangeAgent.class; } protected Builder createBuilder() throws Exception { return new ExchangeAgentBuilder(URL, getSigner().getPublicKey("neu://test/bux")); } private static final String URL = "http://tradex.neuclear.org"; } |
|
From: Pelle B. <pe...@us...> - 2004-04-05 16:44:26
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/orders/builders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25941/src/test/org/neuclear/exchange/orders/builders Added Files: AbstractExchangeOrderTest.java CancelExchangeOrderBuilderTest.java CancelExchangeReceiptBuilderTest.java ExchangeCompletedReceiptBuilderTest.java ExchangeCompletionOrderBuilderTest.java ExchangeOrderBuilderTest.java ExchangeOrderReceiptBuilderTest.java Log Message: Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. --- NEW FILE: AbstractExchangeOrderTest.java --- package org.neuclear.exchange.orders.builders; import org.neuclear.asset.contracts.Asset; import org.neuclear.asset.contracts.builders.AssetBuilder; import org.neuclear.commons.NeuClearException; import org.neuclear.exchange.contracts.ExchangeAgent; import org.neuclear.exchange.contracts.builders.ExchangeAgentBuilder; import org.neuclear.tests.AbstractObjectCreationTest; import java.security.GeneralSecurityException; /* $Id: AbstractExchangeOrderTest.java,v 1.1 2004/04/05 16:31:44 pelle Exp $ $Log: AbstractExchangeOrderTest.java,v $ Revision 1.1 2004/04/05 16:31:44 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. */ /** * User: pelleb * Date: Apr 5, 2004 * Time: 10:30:19 AM */ public abstract class AbstractExchangeOrderTest extends AbstractObjectCreationTest { public AbstractExchangeOrderTest(final String string) throws NeuClearException, GeneralSecurityException { super(string); bux = createTestAsset(); agent = createTestExchangeAgent(); shoes = createShoeAsset(); } public Asset createTestAsset() throws NeuClearException { AssetBuilder builder = new AssetBuilder("http://bux.neuclear.org", getSigner().getPublicKey("neu://test/bux"), getAlice().getPublicKey(), 2, 0); return (Asset) builder.convert(NAME, getSigner()); } public Asset createShoeAsset() throws NeuClearException { AssetBuilder builder = new AssetBuilder("http://shoes.neuclear.org", getSigner().getPublicKey("neu://test"), getAlice().getPublicKey(), 2, 0); return (Asset) builder.convert(NAME, getSigner()); } public ExchangeAgent createTestExchangeAgent() throws NeuClearException { ExchangeAgentBuilder builder = new ExchangeAgentBuilder("http://tradex.neuclear.org", getSigner().getPublicKey("neu://bob@test")); return (ExchangeAgent) builder.convert(NAME, getSigner()); } protected Asset bux; protected Asset shoes; protected ExchangeAgent agent; } --- NEW FILE: ExchangeCompletedReceiptBuilderTest.java --- package org.neuclear.exchange.orders.builders; import org.neuclear.asset.InvalidTransferException; import org.neuclear.asset.orders.Amount; import org.neuclear.commons.NeuClearException; import org.neuclear.commons.crypto.signers.NonExistingSignerException; import org.neuclear.exchange.orders.*; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.builders.Builder; import org.neuclear.xml.XMLException; import java.security.GeneralSecurityException; import java.util.Date; /* NeuClear Distributed Transaction Clearing Platform (C) 2003 Pelle Braendgaard This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: ExchangeCompletedReceiptBuilderTest.java,v 1.1 2004/04/05 16:31:45 pelle Exp $ $Log: ExchangeCompletedReceiptBuilderTest.java,v $ Revision 1.1 2004/04/05 16:31:45 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Revision 1.6 2004/04/02 23:04:36 pelle Got TransferOrder and Builder working with their test cases. Working on TransferReceipt which is the first embedded receipt. This is causing some problems at the moment. Revision 1.5 2004/04/02 17:56:16 pelle Added new createTestAsset() method. Revision 1.4 2004/04/01 23:18:33 pelle Split Identity into Signatory and Identity class. Identity remains a signed named object and will in the future just be used for self declared information. Signatory now contains the PublicKey etc and is NOT a signed object. Revision 1.3 2004/03/03 23:28:14 pelle Updated tests to use AbstractObjectCreationTest Revision 1.2 2004/02/18 00:13:31 pelle Many, many clean ups. I've readded Targets in a new method. Gotten rid of NamedObjectBuilder and revamped Identity and Resolvers Revision 1.1 2004/01/21 23:41:02 pelle Started the unit tests for the new payment message format. */ /** * User: pelleb * Date: Jan 21, 2004 * Time: 9:11:44 PM */ public class ExchangeCompletedReceiptBuilderTest extends AbstractExchangeOrderTest { public ExchangeCompletedReceiptBuilderTest(String string) throws NeuClearException, GeneralSecurityException { super(string); } protected void verifyObject(SignedNamedObject obj) throws NonExistingSignerException { assertNotNull(obj); assertTrue(obj instanceof ExchangeCompletedReceipt); ExchangeCompletedReceipt cr = (ExchangeCompletedReceipt) obj; assertEquals(getSigner().getPublicKey("neu://test").getEncoded(), cr.getSignatory().getPublicKey().getEncoded()); assertNotNull(cr.getOrder()); assertNotNull(cr.getValueTime()); ExchangeCompletionOrder complete = cr.getOrder(); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), complete.getSignatory().getPublicKey().getEncoded()); assertEquals("done", complete.getComment()); assertEquals(19.0, complete.getAmount().getAmount(), 0); assertNotNull(complete.getExchangeTime()); assertNotNull(complete.getReceipt()); ExchangeOrderReceipt receipt = complete.getReceipt(); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), receipt.getSignatory().getPublicKey().getEncoded()); assertNotNull(receipt.getValuetime()); assertNotNull(receipt.getOrder()); ExchangeOrder order = receipt.getOrder(); assertEquals(bux.getDigest(), order.getAsset().getDigest()); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), order.getSignatory().getPublicKey().getEncoded()); // assertEquals(getBob().getPublicKey().getEncoded(), order.getRecipient().getSignatory().getPublicKey().getEncoded()); assertEquals("Test", order.getComment()); assertEquals(20.0, order.getAmount().getAmount(), 0); } protected Class getRequiredClass() { return ExchangeCompletedReceipt.class; } protected Builder createBuilder() throws NeuClearException, InvalidTransferException, XMLException { BidItem bids[] = new BidItem[]{new BidItem(shoes, new Amount(5))}; Builder ob = new ExchangeOrderBuilder(bux, agent, new Amount(20), new Date(System.currentTimeMillis() + 10000), bids, "Test"); ExchangeOrderReceiptBuilder rb = new ExchangeOrderReceiptBuilder((ExchangeOrder) ob.convert("neu://test/bux", getSigner()), new Date()); ExchangeCompletionOrderBuilder cb = new ExchangeCompletionOrderBuilder((ExchangeOrderReceipt) rb.convert("neu://test/bux", getSigner()), new Date(), "neu://alice@test", new Amount(19), "done"); ExchangeCompletedReceiptBuilder builder = new ExchangeCompletedReceiptBuilder((ExchangeCompletionOrder) cb.convert("neu://test/bux", getSigner()), new Date()); return builder; } } --- NEW FILE: ExchangeCompletionOrderBuilderTest.java --- package org.neuclear.exchange.orders.builders; import org.neuclear.asset.InvalidTransferException; import org.neuclear.asset.orders.Amount; import org.neuclear.commons.NeuClearException; import org.neuclear.commons.crypto.signers.NonExistingSignerException; import org.neuclear.exchange.orders.BidItem; import org.neuclear.exchange.orders.ExchangeCompletionOrder; import org.neuclear.exchange.orders.ExchangeOrder; import org.neuclear.exchange.orders.ExchangeOrderReceipt; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.builders.Builder; import org.neuclear.xml.XMLException; import java.security.GeneralSecurityException; import java.util.Date; /* NeuClear Distributed Transaction Clearing Platform (C) 2003 Pelle Braendgaard This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: ExchangeCompletionOrderBuilderTest.java,v 1.1 2004/04/05 16:31:45 pelle Exp $ $Log: ExchangeCompletionOrderBuilderTest.java,v $ Revision 1.1 2004/04/05 16:31:45 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Revision 1.6 2004/04/02 23:04:36 pelle Got TransferOrder and Builder working with their test cases. Working on TransferReceipt which is the first embedded receipt. This is causing some problems at the moment. Revision 1.5 2004/04/02 17:56:16 pelle Added new createTestAsset() method. Revision 1.4 2004/04/01 23:18:33 pelle Split Identity into Signatory and Identity class. Identity remains a signed named object and will in the future just be used for self declared information. Signatory now contains the PublicKey etc and is NOT a signed object. Revision 1.3 2004/03/03 23:28:14 pelle Updated tests to use AbstractObjectCreationTest Revision 1.2 2004/02/18 00:13:31 pelle Many, many clean ups. I've readded Targets in a new method. Gotten rid of NamedObjectBuilder and revamped Identity and Resolvers Revision 1.1 2004/01/21 23:41:02 pelle Started the unit tests for the new payment message format. */ /** * User: pelleb * Date: Jan 21, 2004 * Time: 9:11:44 PM */ public class ExchangeCompletionOrderBuilderTest extends AbstractExchangeOrderTest { public ExchangeCompletionOrderBuilderTest(String string) throws NeuClearException, GeneralSecurityException { super(string); } protected void verifyObject(SignedNamedObject obj) throws NonExistingSignerException { assertNotNull(obj); assertTrue(obj instanceof ExchangeCompletionOrder); ExchangeCompletionOrder complete = (ExchangeCompletionOrder) obj; assertEquals(getSigner().getPublicKey("neu://test").getEncoded(), complete.getSignatory().getPublicKey().getEncoded()); assertEquals("done", complete.getComment()); assertEquals(19.0, complete.getAmount().getAmount(), 0); assertNotNull(complete.getExchangeTime()); assertNotNull(complete.getReceipt()); ExchangeOrderReceipt receipt = complete.getReceipt(); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), receipt.getSignatory().getPublicKey().getEncoded()); assertNotNull(receipt.getValuetime()); assertNotNull(receipt.getOrder()); ExchangeOrder order = receipt.getOrder(); assertEquals(bux.getDigest(), order.getAsset().getDigest()); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), order.getSignatory().getPublicKey().getEncoded()); // assertEquals(getBob().getPublicKey().getEncoded(), order.getRecipient().getSignatory().getPublicKey().getEncoded()); assertEquals("Test", order.getComment()); assertEquals(20.0, order.getAmount().getAmount(), 0); } protected Class getRequiredClass() { return ExchangeCompletionOrder.class; } protected Builder createBuilder() throws NeuClearException, InvalidTransferException, XMLException { BidItem bids[] = new BidItem[]{new BidItem(shoes, new Amount(5))}; Builder ob = new ExchangeOrderBuilder(bux, agent, new Amount(20), new Date(System.currentTimeMillis() + 10000), bids, "Test"); ExchangeOrderReceiptBuilder rb = new ExchangeOrderReceiptBuilder((ExchangeOrder) ob.convert("neu://test/bux", getSigner()), new Date()); ExchangeCompletionOrderBuilder builder = new ExchangeCompletionOrderBuilder((ExchangeOrderReceipt) rb.convert("neu://test/bux", getSigner()), new Date(), "neu://alice@test", new Amount(19), "done"); return builder; } } --- NEW FILE: CancelExchangeOrderBuilderTest.java --- package org.neuclear.exchange.orders.builders; import org.neuclear.asset.InvalidTransferException; import org.neuclear.asset.orders.Amount; import org.neuclear.commons.NeuClearException; import org.neuclear.commons.crypto.signers.NonExistingSignerException; import org.neuclear.exchange.orders.BidItem; import org.neuclear.exchange.orders.CancelExchangeOrder; import org.neuclear.exchange.orders.ExchangeOrder; import org.neuclear.exchange.orders.ExchangeOrderReceipt; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.builders.Builder; import org.neuclear.xml.XMLException; import java.security.GeneralSecurityException; import java.util.Date; /* NeuClear Distributed Transaction Clearing Platform (C) 2003 Pelle Braendgaard This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: CancelExchangeOrderBuilderTest.java,v 1.1 2004/04/05 16:31:45 pelle Exp $ $Log: CancelExchangeOrderBuilderTest.java,v $ Revision 1.1 2004/04/05 16:31:45 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Revision 1.6 2004/04/02 23:04:36 pelle Got TransferOrder and Builder working with their test cases. Working on TransferReceipt which is the first embedded receipt. This is causing some problems at the moment. Revision 1.5 2004/04/02 17:56:16 pelle Added new createTestAsset() method. Revision 1.4 2004/04/01 23:18:33 pelle Split Identity into Signatory and Identity class. Identity remains a signed named object and will in the future just be used for self declared information. Signatory now contains the PublicKey etc and is NOT a signed object. Revision 1.3 2004/03/03 23:28:14 pelle Updated tests to use AbstractObjectCreationTest Revision 1.2 2004/02/18 00:13:31 pelle Many, many clean ups. I've readded Targets in a new method. Gotten rid of NamedObjectBuilder and revamped Identity and Resolvers Revision 1.1 2004/01/21 23:41:02 pelle Started the unit tests for the new payment message format. */ /** * User: pelleb * Date: Jan 21, 2004 * Time: 9:11:44 PM */ public class CancelExchangeOrderBuilderTest extends AbstractExchangeOrderTest { public CancelExchangeOrderBuilderTest(String string) throws NeuClearException, GeneralSecurityException { super(string); } protected void verifyObject(SignedNamedObject obj) throws NonExistingSignerException { assertNotNull(obj); assertTrue(obj instanceof CancelExchangeOrder); CancelExchangeOrder cancel = (CancelExchangeOrder) obj; assertEquals(getSigner().getPublicKey("neu://test").getEncoded(), cancel.getSignatory().getPublicKey().getEncoded()); assertNotNull(cancel.getReceipt()); ExchangeOrderReceipt receipt = cancel.getReceipt(); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), receipt.getSignatory().getPublicKey().getEncoded()); assertNotNull(receipt.getValuetime()); assertNotNull(receipt.getOrder()); ExchangeOrder order = receipt.getOrder(); assertEquals(bux.getDigest(), order.getAsset().getDigest()); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), order.getSignatory().getPublicKey().getEncoded()); // assertEquals(getBob().getPublicKey().getEncoded(), order.getRecipient().getSignatory().getPublicKey().getEncoded()); assertEquals("Test", order.getComment()); assertEquals(20.0, order.getAmount().getAmount(), 0); } protected Class getRequiredClass() { return CancelExchangeOrder.class; } protected Builder createBuilder() throws NeuClearException, InvalidTransferException, XMLException { BidItem bids[] = new BidItem[]{new BidItem(shoes, new Amount(5))}; Builder ob = new ExchangeOrderBuilder(bux, agent, new Amount(20), new Date(System.currentTimeMillis() + 10000), bids, "Test"); ExchangeOrderReceiptBuilder rb = new ExchangeOrderReceiptBuilder((ExchangeOrder) ob.convert("neu://test/bux", getSigner()), new Date()); CancelExchangeOrderBuilder builder = new CancelExchangeOrderBuilder((ExchangeOrderReceipt) rb.convert("neu://test/bux", getSigner())); return builder; } } --- NEW FILE: ExchangeOrderReceiptBuilderTest.java --- package org.neuclear.exchange.orders.builders; import org.neuclear.asset.InvalidTransferException; import org.neuclear.asset.orders.Amount; import org.neuclear.commons.NeuClearException; import org.neuclear.commons.crypto.signers.NonExistingSignerException; import org.neuclear.exchange.orders.BidItem; import org.neuclear.exchange.orders.ExchangeOrder; import org.neuclear.exchange.orders.ExchangeOrderReceipt; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.builders.Builder; import org.neuclear.xml.XMLException; import java.security.GeneralSecurityException; import java.util.Date; /* NeuClear Distributed Transaction Clearing Platform (C) 2003 Pelle Braendgaard This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: ExchangeOrderReceiptBuilderTest.java,v 1.1 2004/04/05 16:31:45 pelle Exp $ $Log: ExchangeOrderReceiptBuilderTest.java,v $ Revision 1.1 2004/04/05 16:31:45 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Revision 1.6 2004/04/02 23:04:36 pelle Got TransferOrder and Builder working with their test cases. Working on TransferReceipt which is the first embedded receipt. This is causing some problems at the moment. Revision 1.5 2004/04/02 17:56:16 pelle Added new createTestAsset() method. Revision 1.4 2004/04/01 23:18:33 pelle Split Identity into Signatory and Identity class. Identity remains a signed named object and will in the future just be used for self declared information. Signatory now contains the PublicKey etc and is NOT a signed object. Revision 1.3 2004/03/03 23:28:14 pelle Updated tests to use AbstractObjectCreationTest Revision 1.2 2004/02/18 00:13:31 pelle Many, many clean ups. I've readded Targets in a new method. Gotten rid of NamedObjectBuilder and revamped Identity and Resolvers Revision 1.1 2004/01/21 23:41:02 pelle Started the unit tests for the new payment message format. */ /** * User: pelleb * Date: Jan 21, 2004 * Time: 9:11:44 PM */ public class ExchangeOrderReceiptBuilderTest extends AbstractExchangeOrderTest { public ExchangeOrderReceiptBuilderTest(String string) throws NeuClearException, GeneralSecurityException { super(string); } protected void verifyObject(SignedNamedObject obj) throws NonExistingSignerException { assertNotNull(obj); assertTrue(obj instanceof ExchangeOrderReceipt); ExchangeOrderReceipt receipt = (ExchangeOrderReceipt) obj; assertEquals(getSigner().getPublicKey("neu://test").getEncoded(), receipt.getSignatory().getPublicKey().getEncoded()); assertNotNull(receipt.getValuetime()); assertNotNull(receipt.getOrder()); ExchangeOrder order = receipt.getOrder(); assertEquals(bux.getDigest(), order.getAsset().getDigest()); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), order.getSignatory().getPublicKey().getEncoded()); // assertEquals(getBob().getPublicKey().getEncoded(), order.getRecipient().getSignatory().getPublicKey().getEncoded()); assertEquals("Test", order.getComment()); assertEquals(20.0, order.getAmount().getAmount(), 0); } protected Class getRequiredClass() { return ExchangeOrderReceipt.class; } protected Builder createBuilder() throws NeuClearException, InvalidTransferException, XMLException { BidItem bids[] = new BidItem[]{new BidItem(shoes, new Amount(5))}; Builder ob = new ExchangeOrderBuilder(bux, agent, new Amount(20), new Date(System.currentTimeMillis() + 10000), bids, "Test"); ExchangeOrderReceiptBuilder builder = new ExchangeOrderReceiptBuilder((ExchangeOrder) ob.convert("neu://test/bux", getSigner()), new Date()); return builder; } } --- NEW FILE: ExchangeOrderBuilderTest.java --- package org.neuclear.exchange.orders.builders; import org.neuclear.asset.InvalidTransferException; import org.neuclear.asset.orders.Amount; import org.neuclear.commons.NeuClearException; import org.neuclear.commons.crypto.signers.NonExistingSignerException; import org.neuclear.exchange.orders.BidItem; import org.neuclear.exchange.orders.ExchangeOrder; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.builders.Builder; import org.neuclear.xml.XMLException; import java.security.GeneralSecurityException; import java.util.Date; /* NeuClear Distributed Transaction Clearing Platform (C) 2003 Pelle Braendgaard This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: ExchangeOrderBuilderTest.java,v 1.1 2004/04/05 16:31:45 pelle Exp $ $Log: ExchangeOrderBuilderTest.java,v $ Revision 1.1 2004/04/05 16:31:45 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Revision 1.6 2004/04/02 23:04:36 pelle Got TransferOrder and Builder working with their test cases. Working on TransferReceipt which is the first embedded receipt. This is causing some problems at the moment. Revision 1.5 2004/04/02 17:56:16 pelle Added new createTestAsset() method. Revision 1.4 2004/04/01 23:18:33 pelle Split Identity into Signatory and Identity class. Identity remains a signed named object and will in the future just be used for self declared information. Signatory now contains the PublicKey etc and is NOT a signed object. Revision 1.3 2004/03/03 23:28:14 pelle Updated tests to use AbstractObjectCreationTest Revision 1.2 2004/02/18 00:13:31 pelle Many, many clean ups. I've readded Targets in a new method. Gotten rid of NamedObjectBuilder and revamped Identity and Resolvers Revision 1.1 2004/01/21 23:41:02 pelle Started the unit tests for the new payment message format. */ /** * User: pelleb * Date: Jan 21, 2004 * Time: 9:11:44 PM */ public class ExchangeOrderBuilderTest extends AbstractExchangeOrderTest { public ExchangeOrderBuilderTest(String string) throws NeuClearException, GeneralSecurityException { super(string); } protected void verifyObject(SignedNamedObject obj) throws NonExistingSignerException { assertNotNull(obj); assertTrue(obj instanceof ExchangeOrder); ExchangeOrder order = (ExchangeOrder) obj; assertEquals(bux.getDigest(), order.getAsset().getDigest()); assertEquals(getSigner().getPublicKey("neu://test").getEncoded(), order.getSignatory().getPublicKey().getEncoded()); // assertEquals(getBob().getPublicKey().getEncoded(), order.getRecipient().getSignatory().getPublicKey().getEncoded()); assertEquals("Test", order.getComment()); assertEquals(20.0, order.getAmount().getAmount(), 0); } protected Class getRequiredClass() { return ExchangeOrder.class; } protected Builder createBuilder() throws NeuClearException, InvalidTransferException, XMLException { BidItem bids[] = new BidItem[]{new BidItem(shoes, new Amount(5))}; Builder builder = new ExchangeOrderBuilder(bux, agent, new Amount(20), new Date(System.currentTimeMillis() + 10000), bids, "Test"); // System.out.println(builder.asXML()); return builder; } } --- NEW FILE: CancelExchangeReceiptBuilderTest.java --- package org.neuclear.exchange.orders.builders; import org.neuclear.asset.InvalidTransferException; import org.neuclear.asset.orders.Amount; import org.neuclear.commons.NeuClearException; import org.neuclear.commons.crypto.signers.NonExistingSignerException; import org.neuclear.exchange.orders.*; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.builders.Builder; import org.neuclear.xml.XMLException; import java.security.GeneralSecurityException; import java.util.Date; /* NeuClear Distributed Transaction Clearing Platform (C) 2003 Pelle Braendgaard This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: CancelExchangeReceiptBuilderTest.java,v 1.1 2004/04/05 16:31:45 pelle Exp $ $Log: CancelExchangeReceiptBuilderTest.java,v $ Revision 1.1 2004/04/05 16:31:45 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Revision 1.6 2004/04/02 23:04:36 pelle Got TransferOrder and Builder working with their test cases. Working on TransferReceipt which is the first embedded receipt. This is causing some problems at the moment. Revision 1.5 2004/04/02 17:56:16 pelle Added new createTestAsset() method. Revision 1.4 2004/04/01 23:18:33 pelle Split Identity into Signatory and Identity class. Identity remains a signed named object and will in the future just be used for self declared information. Signatory now contains the PublicKey etc and is NOT a signed object. Revision 1.3 2004/03/03 23:28:14 pelle Updated tests to use AbstractObjectCreationTest Revision 1.2 2004/02/18 00:13:31 pelle Many, many clean ups. I've readded Targets in a new method. Gotten rid of NamedObjectBuilder and revamped Identity and Resolvers Revision 1.1 2004/01/21 23:41:02 pelle Started the unit tests for the new payment message format. */ /** * User: pelleb * Date: Jan 21, 2004 * Time: 9:11:44 PM */ public class CancelExchangeReceiptBuilderTest extends AbstractExchangeOrderTest { public CancelExchangeReceiptBuilderTest(String string) throws NeuClearException, GeneralSecurityException { super(string); } protected void verifyObject(SignedNamedObject obj) throws NonExistingSignerException { assertNotNull(obj); assertTrue(obj instanceof CancelExchangeReceipt); CancelExchangeReceipt cr = (CancelExchangeReceipt) obj; assertEquals(getSigner().getPublicKey("neu://test").getEncoded(), cr.getSignatory().getPublicKey().getEncoded()); assertNotNull(cr.getCancellationTime()); assertNotNull(cr.getOrder()); CancelExchangeOrder cancel = (CancelExchangeOrder) cr.getOrder(); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), cancel.getSignatory().getPublicKey().getEncoded()); assertNotNull(cancel.getReceipt()); ExchangeOrderReceipt receipt = cancel.getReceipt(); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), receipt.getSignatory().getPublicKey().getEncoded()); assertNotNull(receipt.getValuetime()); assertNotNull(receipt.getOrder()); ExchangeOrder order = receipt.getOrder(); assertEquals(bux.getDigest(), order.getAsset().getDigest()); assertEquals(getSigner().getPublicKey("neu://test/bux").getEncoded(), order.getSignatory().getPublicKey().getEncoded()); // assertEquals(getBob().getPublicKey().getEncoded(), order.getRecipient().getSignatory().getPublicKey().getEncoded()); assertEquals("Test", order.getComment()); assertEquals(20.0, order.getAmount().getAmount(), 0); } protected Class getRequiredClass() { return CancelExchangeReceipt.class; } protected Builder createBuilder() throws NeuClearException, InvalidTransferException, XMLException { BidItem bids[] = new BidItem[]{new BidItem(shoes, new Amount(5))}; Builder ob = new ExchangeOrderBuilder(bux, agent, new Amount(20), new Date(System.currentTimeMillis() + 10000), bids, "Test"); ExchangeOrderReceiptBuilder rb = new ExchangeOrderReceiptBuilder((ExchangeOrder) ob.convert("neu://test/bux", getSigner()), new Date()); CancelExchangeOrderBuilder cb = new CancelExchangeOrderBuilder((ExchangeOrderReceipt) rb.convert("neu://test/bux", getSigner())); System.out.println(cb.asXML()); final CancelExchangeOrder req = (CancelExchangeOrder) cb.convert("neu://test/bux", getSigner()); CancelExchangeReceiptBuilder builder = new CancelExchangeReceiptBuilder(req, new Date()); return builder; } } |
|
From: Pelle B. <pe...@us...> - 2004-04-05 16:44:26
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/orders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25941/src/java/org/neuclear/exchange/orders Modified Files: BidItem.java CancelExchangeOrder.java CancelExchangeReceipt.java ExchangeCompletedReceipt.java ExchangeCompletionOrder.java ExchangeOrder.java ExchangeOrderReceipt.java ExchangeTransactionContract.java Added Files: ExchangeOrderGlobals.java Removed Files: ExchangeGlobals.java Log Message: Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Index: CancelExchangeOrder.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/orders/CancelExchangeOrder.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CancelExchangeOrder.java 13 Jan 2004 15:11:18 -0000 1.5 --- CancelExchangeOrder.java 5 Apr 2004 16:31:43 -0000 1.6 *************** *** 2,9 **** import org.dom4j.Element; - import org.neuclear.asset.contracts.Asset; - import org.neuclear.asset.contracts.AssetGlobals; import org.neuclear.asset.orders.TransferGlobals; - import org.neuclear.exchange.contracts.ExchangeAgent; import org.neuclear.id.InvalidNamedObjectException; import org.neuclear.id.NamedObjectReader; --- 2,6 ---- *************** *** 16,26 **** * Time: 5:35:26 PM */ ! public final class CancelExchangeOrder extends ExchangeTransactionContract{ ! private CancelExchangeOrder(final SignedNamedCore core, final ExchangeOrderReceipt receipt) { super(core, receipt.getAsset(), receipt.getAgent()); ! this.receipt=receipt; } ! public ExchangeOrderReceipt getReceipt(){ return receipt; } --- 13,24 ---- * Time: 5:35:26 PM */ ! public final class CancelExchangeOrder extends ExchangeTransactionContract { ! private CancelExchangeOrder(final SignedNamedCore core, final ExchangeOrderReceipt receipt) { super(core, receipt.getAsset(), receipt.getAgent()); ! this.receipt = receipt; } ! ! public ExchangeOrderReceipt getReceipt() { return receipt; } *************** *** 37,49 **** */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(AssetGlobals.NS_ASSET)) ! throw new InvalidNamedObjectException(core.getName(),"Not in XML NameSpace: "+AssetGlobals.NS_ASSET.getURI()); ! if (elem.getName().equals(ExchangeGlobals.CANCEL_TAGNAME)) return new CancelExchangeOrder(core, ! (ExchangeOrderReceipt) TransferGlobals.parseEmbedded(elem,ExchangeGlobals.createQName(ExchangeGlobals.EXCHANGE_RCPT_TAGNAME)) ! ); ! throw new InvalidNamedObjectException(core.getName(),"Not Matched"); } } --- 35,46 ---- */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(ExchangeOrderGlobals.NS_EXCHANGE)) ! throw new InvalidNamedObjectException(core.getName(), "Not in XML NameSpace: " + ExchangeOrderGlobals.NS_EXCHANGE.getURI()); ! if (elem.getName().equals(ExchangeOrderGlobals.CANCEL_TAGNAME)) return new CancelExchangeOrder(core, ! (ExchangeOrderReceipt) TransferGlobals.parseEmbedded(elem, ExchangeOrderGlobals.createQName(ExchangeOrderGlobals.EXCHANGE_RCPT_TAGNAME))); ! throw new InvalidNamedObjectException(core.getName(), "Not Matched"); } } Index: CancelExchangeReceipt.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/orders/CancelExchangeReceipt.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CancelExchangeReceipt.java 3 Mar 2004 23:28:14 -0000 1.4 --- CancelExchangeReceipt.java 5 Apr 2004 16:31:43 -0000 1.5 *************** *** 1,6 **** package org.neuclear.exchange.orders; import org.dom4j.Element; - import org.neuclear.asset.contracts.AssetGlobals; import org.neuclear.asset.orders.TransferGlobals; import org.neuclear.id.InvalidNamedObjectException; --- 1,6 ---- package org.neuclear.exchange.orders; + import org.dom4j.DocumentHelper; import org.dom4j.Element; import org.neuclear.asset.orders.TransferGlobals; import org.neuclear.id.InvalidNamedObjectException; *************** *** 30,34 **** } ! public Timestamp getCanceltime() { return new Timestamp(canceltime); } --- 30,34 ---- } ! public Timestamp getCancellationTime() { return new Timestamp(canceltime); } *************** *** 45,54 **** */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(AssetGlobals.NS_ASSET)) ! throw new InvalidNamedObjectException(core.getName(), "Not in XML NameSpace: " + AssetGlobals.NS_ASSET.getURI()); ! if (elem.getName().equals(ExchangeGlobals.CANCEL_RCPT_TAGNAME)) { final Date valuetime = TransferGlobals.parseValueTimeElement(elem); ! CancelExchangeOrder order = (CancelExchangeOrder) VerifyingReader.getInstance().read(elem.element(ExchangeGlobals.createQName(ExchangeGlobals.CANCEL_TAGNAME))); return new CancelExchangeReceipt(core, order, valuetime); } --- 45,56 ---- */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(ExchangeOrderGlobals.NS_EXCHANGE)) ! throw new InvalidNamedObjectException(core.getName(), "Not in XML NameSpace: " + ExchangeOrderGlobals.NS_EXCHANGE.getURI()); ! if (elem.getName().equals(ExchangeOrderGlobals.CANCEL_RCPT_TAGNAME)) { final Date valuetime = TransferGlobals.parseValueTimeElement(elem); ! final Element orderElement = elem.element(ExchangeOrderGlobals.createQName(ExchangeOrderGlobals.CANCEL_TAGNAME)).createCopy(); ! DocumentHelper.createDocument(orderElement); ! CancelExchangeOrder order = (CancelExchangeOrder) VerifyingReader.getInstance().read(orderElement); return new CancelExchangeReceipt(core, order, valuetime); } Index: ExchangeCompletionOrder.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/orders/ExchangeCompletionOrder.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ExchangeCompletionOrder.java 2 Apr 2004 23:04:36 -0000 1.7 --- ExchangeCompletionOrder.java 5 Apr 2004 16:31:43 -0000 1.8 *************** *** 2,6 **** import org.dom4j.Element; - import org.neuclear.asset.contracts.AssetGlobals; import org.neuclear.asset.orders.TransferGlobals; import org.neuclear.asset.orders.Value; --- 2,5 ---- *************** *** 62,74 **** */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(AssetGlobals.NS_ASSET)) ! throw new InvalidNamedObjectException(core.getName(), "Not in XML NameSpace: " + AssetGlobals.NS_ASSET.getURI()); ! if (elem.getName().equals(ExchangeGlobals.COMPLETE_TAGNAME)) { return new ExchangeCompletionOrder(core, ! (ExchangeOrderReceipt) TransferGlobals.parseEmbedded(elem, ExchangeGlobals.createQName(ExchangeGlobals.EXCHANGE_RCPT_TAGNAME)), TransferGlobals.parseRecipientTag(elem), TransferGlobals.parseValueTag(elem), ! TransferGlobals.parseTimeStampElement(elem, ExchangeGlobals.createQName(ExchangeGlobals.EXCHANGE_TIME_TAGNAME)), TransferGlobals.parseCommentElement(elem)); } --- 61,73 ---- */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(ExchangeOrderGlobals.NS_EXCHANGE)) ! throw new InvalidNamedObjectException(core.getName(), "Not in XML NameSpace: " + ExchangeOrderGlobals.NS_EXCHANGE.getURI()); ! if (elem.getName().equals(ExchangeOrderGlobals.COMPLETE_TAGNAME)) { return new ExchangeCompletionOrder(core, ! (ExchangeOrderReceipt) TransferGlobals.parseEmbedded(elem, ExchangeOrderGlobals.createQName(ExchangeOrderGlobals.EXCHANGE_RCPT_TAGNAME)), TransferGlobals.parseRecipientTag(elem), TransferGlobals.parseValueTag(elem), ! TransferGlobals.parseTimeStampElement(elem, ExchangeOrderGlobals.createQName(ExchangeOrderGlobals.EXCHANGE_TIME_TAGNAME)), TransferGlobals.parseCommentElement(elem)); } Index: BidItem.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/orders/BidItem.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BidItem.java 12 Jan 2004 22:39:15 -0000 1.1 --- BidItem.java 5 Apr 2004 16:31:43 -0000 1.2 *************** *** 11,15 **** * To change this template use Options | File Templates. */ ! public class BidItem { public BidItem(Asset asset, Value amount) { this.asset = asset; --- 11,15 ---- * To change this template use Options | File Templates. */ ! public class BidItem { public BidItem(Asset asset, Value amount) { this.asset = asset; Index: ExchangeTransactionContract.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/orders/ExchangeTransactionContract.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExchangeTransactionContract.java 10 Jan 2004 00:00:46 -0000 1.2 --- ExchangeTransactionContract.java 5 Apr 2004 16:31:43 -0000 1.3 *************** *** 1,7 **** package org.neuclear.exchange.orders; - import org.neuclear.asset.contracts.Asset; import org.neuclear.asset.orders.AssetTransactionContract; import org.neuclear.exchange.contracts.ExchangeAgent; import org.neuclear.id.SignedNamedCore; --- 1,7 ---- package org.neuclear.exchange.orders; import org.neuclear.asset.orders.AssetTransactionContract; import org.neuclear.exchange.contracts.ExchangeAgent; + import org.neuclear.id.Service; import org.neuclear.id.SignedNamedCore; *************** *** 26,29 **** --- 26,32 ---- $Id$ $Log$ + Revision 1.3 2004/04/05 16:31:43 pelle + Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. + Revision 1.2 2004/01/10 00:00:46 pelle Implemented new Schema for Transfer* *************** *** 44,55 **** * Time: 7:31:15 PM */ ! public abstract class ExchangeTransactionContract extends AssetTransactionContract{ ! ExchangeTransactionContract(SignedNamedCore core, Asset asset,ExchangeAgent agent) { super(core, asset); ! this.agent=agent; } ! public final ExchangeAgent getAgent(){ return agent; } private final ExchangeAgent agent; } --- 47,60 ---- * Time: 7:31:15 PM */ ! public abstract class ExchangeTransactionContract extends AssetTransactionContract { ! ExchangeTransactionContract(SignedNamedCore core, Service asset, ExchangeAgent agent) { super(core, asset); ! this.agent = agent; } ! ! public final ExchangeAgent getAgent() { return agent; } + private final ExchangeAgent agent; } Index: ExchangeOrderReceipt.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/orders/ExchangeOrderReceipt.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ExchangeOrderReceipt.java 12 Jan 2004 22:39:15 -0000 1.4 --- ExchangeOrderReceipt.java 5 Apr 2004 16:31:43 -0000 1.5 *************** *** 2,6 **** import org.dom4j.Element; - import org.neuclear.asset.contracts.AssetGlobals; import org.neuclear.asset.orders.TransferGlobals; import org.neuclear.id.InvalidNamedObjectException; --- 2,5 ---- *************** *** 19,28 **** public final class ExchangeOrderReceipt extends ExchangeTransactionContract { ! private ExchangeOrderReceipt(final SignedNamedCore core, final ExchangeOrder order,final Date valuetime) { super(core, order.getAsset(), order.getAgent()); this.valuetime = valuetime.getTime(); ! this.order=order; } ! public ExchangeOrder getOrder(){ return order; } --- 18,28 ---- public final class ExchangeOrderReceipt extends ExchangeTransactionContract { ! private ExchangeOrderReceipt(final SignedNamedCore core, final ExchangeOrder order, final Date valuetime) { super(core, order.getAsset(), order.getAgent()); this.valuetime = valuetime.getTime(); ! this.order = order; } ! ! public ExchangeOrder getOrder() { return order; } *************** *** 43,55 **** */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(AssetGlobals.NS_ASSET)) ! throw new InvalidNamedObjectException(core.getName(),"Not in XML NameSpace: "+AssetGlobals.NS_ASSET.getURI()); ! if (elem.getName().equals(ExchangeGlobals.EXCHANGE_RCPT_TAGNAME)){ return new ExchangeOrderReceipt(core, ! (ExchangeOrder) TransferGlobals.parseEmbedded(elem,ExchangeGlobals.createQName(ExchangeGlobals.EXCHANGE_TAGNAME)), TransferGlobals.parseValueTimeElement(elem)); } ! throw new InvalidNamedObjectException(core.getName(),"Not Matched"); } } --- 43,55 ---- */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(ExchangeOrderGlobals.NS_EXCHANGE)) ! throw new InvalidNamedObjectException(core.getName(), "Not in XML NameSpace: " + ExchangeOrderGlobals.NS_EXCHANGE.getURI()); ! if (elem.getName().equals(ExchangeOrderGlobals.EXCHANGE_RCPT_TAGNAME)) { return new ExchangeOrderReceipt(core, ! (ExchangeOrder) TransferGlobals.parseEmbedded(elem, ExchangeOrderGlobals.createQName(ExchangeOrderGlobals.EXCHANGE_TAGNAME)), TransferGlobals.parseValueTimeElement(elem)); } ! throw new InvalidNamedObjectException(core.getName(), "Not Matched"); } } Index: ExchangeCompletedReceipt.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/orders/ExchangeCompletedReceipt.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExchangeCompletedReceipt.java 10 Jan 2004 00:00:46 -0000 1.2 --- ExchangeCompletedReceipt.java 5 Apr 2004 16:31:43 -0000 1.3 *************** *** 2,6 **** import org.dom4j.Element; - import org.neuclear.asset.contracts.AssetGlobals; import org.neuclear.asset.orders.TransferGlobals; import org.neuclear.id.InvalidNamedObjectException; --- 2,5 ---- *************** *** 32,35 **** --- 31,37 ---- $Id$ $Log$ + Revision 1.3 2004/04/05 16:31:43 pelle + Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. + Revision 1.2 2004/01/10 00:00:46 pelle Implemented new Schema for Transfer* *************** *** 50,58 **** * Time: 7:38:36 PM */ ! public final class ExchangeCompletedReceipt extends ExchangeTransactionContract{ private ExchangeCompletedReceipt(SignedNamedCore core, ExchangeCompletionOrder order, Date valuetime) { super(core, order.getAsset(), order.getAgent()); this.valuetime = valuetime.getTime(); ! this.order=order; } --- 52,60 ---- * Time: 7:38:36 PM */ ! public final class ExchangeCompletedReceipt extends ExchangeTransactionContract { private ExchangeCompletedReceipt(SignedNamedCore core, ExchangeCompletionOrder order, Date valuetime) { super(core, order.getAsset(), order.getAgent()); this.valuetime = valuetime.getTime(); ! this.order = order; } *************** *** 61,65 **** } ! public final Timestamp getValueTime(){ return new Timestamp(valuetime); } --- 63,67 ---- } ! public final Timestamp getValueTime() { return new Timestamp(valuetime); } *************** *** 76,88 **** */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(AssetGlobals.NS_ASSET)) ! throw new InvalidNamedObjectException(core.getName(),"Not in XML NameSpace: "+AssetGlobals.NS_ASSET.getURI()); ! if (elem.getName().equals(ExchangeGlobals.COMPLETE_RCPT_TAGNAME)){ return new ExchangeCompletedReceipt(core, ! (ExchangeCompletionOrder) TransferGlobals.parseEmbedded(elem,ExchangeGlobals.createQName(ExchangeGlobals.COMPLETE_TAGNAME)), TransferGlobals.parseValueTimeElement(elem)); } ! throw new InvalidNamedObjectException(core.getName(),"Not Matched"); } } --- 78,90 ---- */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(ExchangeOrderGlobals.NS_EXCHANGE)) ! throw new InvalidNamedObjectException(core.getName(), "Not in XML NameSpace: " + ExchangeOrderGlobals.NS_EXCHANGE.getURI()); ! if (elem.getName().equals(ExchangeOrderGlobals.COMPLETE_RCPT_TAGNAME)) { return new ExchangeCompletedReceipt(core, ! (ExchangeCompletionOrder) TransferGlobals.parseEmbedded(elem, ExchangeOrderGlobals.createQName(ExchangeOrderGlobals.COMPLETE_TAGNAME)), TransferGlobals.parseValueTimeElement(elem)); } ! throw new InvalidNamedObjectException(core.getName(), "Not Matched"); } } --- NEW FILE: ExchangeOrderGlobals.java --- package org.neuclear.exchange.orders; import org.dom4j.*; import org.neuclear.asset.orders.TransferGlobals; import org.neuclear.exchange.contracts.ExchangeAgent; import org.neuclear.id.InvalidNamedObjectException; import org.neuclear.id.NameResolutionException; import org.neuclear.id.Service; import org.neuclear.id.resolver.Resolver; import org.neuclear.id.verifier.VerifyingReader; /* NeuClear Distributed Transaction Clearing Platform (C) 2003 Pelle Braendgaard This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: ExchangeOrderGlobals.java,v 1.1 2004/04/05 16:31:43 pelle Exp $ $Log: ExchangeOrderGlobals.java,v $ Revision 1.1 2004/04/05 16:31:43 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Revision 1.4 2004/04/01 23:18:33 pelle Split Identity into Signatory and Identity class. Identity remains a signed named object and will in the future just be used for self declared information. Signatory now contains the PublicKey etc and is NOT a signed object. Revision 1.3 2004/01/11 00:39:06 pelle Cleaned up the schemas even more they now all verifiy. The Order/Receipt pairs for neuclear pay, should now work. They all have Readers using the latest Schema. The TransferBuilders are done and the ExchangeBuilders are nearly there. The new EmbeddedSignedNamedObject builder is useful for creating new Receipts. The new ReceiptBuilder uses this to create the embedded transaction. ExchangeOrders now have the concept of BidItem's, you could create an ExchangeOrder bidding on various items at the same time, to be exchanged as one atomic multiparty exchange. Still doesnt build yet, but very close now ;-) Revision 1.2 2004/01/10 00:00:46 pelle Implemented new Schema for Transfer* Working on it for Exchange*, so far all Receipts are implemented. Added SignedNamedDocument which is a generic SignedNamedObject that works with all Signed XML. Changed SignedNamedObject.getDigest() from byte array to String. The whole malarchy in neuclear-pay does not build yet. The refactoring is a big job, but getting there. Revision 1.1 2004/01/06 23:26:48 pelle Started restructuring the original xml schemas. Updated the Exchange and transfer orders. Revision 1.1 2004/01/05 23:47:09 pelle Create new Document classification "order", which is really just inherint in the new package layout. Got rid of much of the inheritance that was lying around and thought a bit further about the format of the exchange orders. Revision 1.6 2004/01/03 20:36:25 pelle Renamed HeldTransfer to Exchange Dropped valuetime from the request objects. Doesnt yet compile. New commit to follow soon. Revision 1.5 2003/11/28 00:11:50 pelle Getting the NeuClear web transactions working. Revision 1.4 2003/11/22 00:22:28 pelle All unit tests in commons, id and xmlsec now work. AssetController now successfully processes payments in the unit test. Payment Web App has working form that creates a TransferOrder presents it to the signer and forwards it to AssetControlServlet. (Which throws an XML Parser Exception) I think the XMLReaderServlet is bust. Revision 1.3 2003/11/21 04:43:04 pelle EncryptedFileStore now works. It uses the PBECipher with DES3 afair. Otherwise You will Finaliate. Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final. This should hopefully make everything more stable (and secure). Revision 1.2 2003/11/10 17:42:07 pelle The AssetController interface has been more or less finalized. CurrencyController fully implemented AssetControlClient implementes a remote client for communicating with AssetControllers Revision 1.1 2003/11/09 03:32:56 pelle More missing files from earlier commits. IDEA is acting strangly. Revision 1.3 2003/11/06 23:47:43 pelle Major Refactoring of CurrencyController. Factored out AssetController to be new abstract parent class together with most of its support classes. Created (Half way) AssetControlClient, which can perform transactions on external AssetControllers via NeuClear. Created the first attempt at the ExchangeAgent. This will need use of the AssetControlClient. SOAPTools was changed to return a stream. This is required by the VerifyingReader in NeuClear. Revision 1.2 2003/10/25 00:38:43 pelle Fixed SmtpSender it now sends the messages. Refactored CommandLineSigner. Now it simply signs files read from command line. However new class IdentityCreator is subclassed and creates new Identities. You can subclass CommandLineSigner to create your own variants. Several problems with configuration. Trying to solve at the moment. Updated PicoContainer to beta-2 Revision 1.1 2003/10/03 23:48:29 pelle Did various security related updates in the pay package with regards to immutability of fields etc. PaymentReceiver should now be operational. Real testing needs to be done including in particular setting the private key of the Receiver. A new class TransferGlobals contains usefull settings for making life easier in the other contract based classes. TransferContract the signed contract is functional and has a matching TransferRequestBuilder class for programmatically creating TransferRequests for signing. TransferReceiptBuilder has been created for use by Transfer processors. It is used in the PaymentReceiver. */ /** * User: pelleb * Date: Oct 3, 2003 * Time: 3:55:06 PM */ public final class ExchangeOrderGlobals { private ExchangeOrderGlobals() { // Instantiation is not allowed } public static Namespace createNameSpace() { return DocumentHelper.createNamespace(EX_NSPREFIX, EX_NSURI); } public static QName createQName(final String name) { return DocumentHelper.createQName(name, createNameSpace()); } public static Attribute createAttribute(final Element elem, final String name, final String value) { return DocumentHelper.createAttribute(elem, createQName(name), value); } public static Element createElement(final String name, final String value) { Element elem = createElement(name); elem.setText(value); return elem; } public static Element createElement(final String name) { return DocumentHelper.createElement(createQName(name)); } public static String getElementValue(final Element element, final String name) throws InvalidNamedObjectException { return TransferGlobals.getElementValue(element, createQName(name)); } public static String parseExchangeOrderId(final Element element) throws InvalidNamedObjectException { return getElementValue(element, EXCHANGE_REF_TAG); } public static final ExchangeAgent parseAgentTag(Element elem) throws InvalidNamedObjectException { final String name = getElementValue(elem, AGENT_TAG); try { return (ExchangeAgent) Resolver.resolveIdentity(name); } catch (ClassCastException e) { throw new InvalidNamedObjectException(name, e); } catch (NameResolutionException e) { throw new InvalidNamedObjectException(name, e); } } public static final Service parseAssetTag(final Element elem, final String tag) throws InvalidNamedObjectException { final String name = getElementValue(elem, tag); try { return (Service) Resolver.resolveIdentity(name); } catch (ClassCastException e) { throw new InvalidNamedObjectException(name, e); } catch (NameResolutionException e) { throw new InvalidNamedObjectException(name, e); } } public static void registerReaders() { VerifyingReader.getInstance().registerReader(ExchangeOrderGlobals.CANCEL_TAGNAME, new CancelExchangeOrder.Reader()); VerifyingReader.getInstance().registerReader(ExchangeOrderGlobals.CANCEL_RCPT_TAGNAME, new CancelExchangeReceipt.Reader()); VerifyingReader.getInstance().registerReader(ExchangeOrderGlobals.EXCHANGE_TAGNAME, new ExchangeOrder.Reader()); VerifyingReader.getInstance().registerReader(ExchangeOrderGlobals.EXCHANGE_RCPT_TAGNAME, new ExchangeOrderReceipt.Reader()); VerifyingReader.getInstance().registerReader(ExchangeOrderGlobals.COMPLETE_TAGNAME, new ExchangeCompletionOrder.Reader()); VerifyingReader.getInstance().registerReader(ExchangeOrderGlobals.COMPLETE_RCPT_TAGNAME, new ExchangeCompletedReceipt.Reader()); } static { registerReaders(); } public static final String EXCHANGE_TAGNAME = "ExchangeOrder"; public static final String EXCHANGE_RCPT_TAGNAME = "ExchangeOrderReceipt"; public static final String COMPLETE_TAGNAME = "ExchangeCompletionOrder"; public static final String COMPLETE_RCPT_TAGNAME = "ExchangeCompletedReceipt"; public static final String CANCEL_TAGNAME = "CancelExchangeOrder"; public static final String CANCEL_RCPT_TAGNAME = "CancelExchangeReceipt"; public static final String EXPIRY_TAG = "ExpiryDate"; public static final String EXCHANGE_REF_TAG = "ExchangeOrderRef"; public static final String EXCHANGE_TIME_TAGNAME = "ExchangeTime"; public static final String AGENT_TAG = "ExchangeAgent"; public static final String BID_ITEM_TAG = "BidItem"; public static final String EX_NSPREFIX = "ex"; public static final String EX_NSURI = "http://neuclear.org/neu/exch"; public static final Namespace NS_EXCHANGE = createNameSpace(); } Index: ExchangeOrder.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/orders/ExchangeOrder.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ExchangeOrder.java 1 Apr 2004 23:18:33 -0000 1.7 --- ExchangeOrder.java 5 Apr 2004 16:31:43 -0000 1.8 *************** *** 2,7 **** import org.dom4j.Element; - import org.neuclear.asset.contracts.Asset; - import org.neuclear.asset.contracts.AssetGlobals; import org.neuclear.asset.orders.TransferGlobals; import org.neuclear.asset.orders.Value; --- 2,5 ---- *************** *** 21,25 **** public final class ExchangeOrder extends ExchangeTransactionContract { private ExchangeOrder(final SignedNamedCore core, ! final Asset bidAsset, final ExchangeAgent agent, final Value amount, BidItem items[], final String comment, final Date expires) { super(core, bidAsset, agent); --- 19,23 ---- public final class ExchangeOrder extends ExchangeTransactionContract { private ExchangeOrder(final SignedNamedCore core, ! final Service bidAsset, final ExchangeAgent agent, final Value amount, BidItem items[], final String comment, final Date expires) { super(core, bidAsset, agent); *************** *** 84,103 **** */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(AssetGlobals.NS_ASSET)) ! throw new InvalidNamedObjectException(core.getName(), "Not in XML NameSpace: " + AssetGlobals.NS_ASSET.getURI()); ! if (elem.getName().equals(ExchangeGlobals.EXCHANGE_TAGNAME)) return new ExchangeOrder(core, TransferGlobals.parseAssetTag(elem), ! ExchangeGlobals.parseAgentTag(elem), TransferGlobals.parseValueTag(elem), parseBidItems(elem), TransferGlobals.parseCommentElement(elem), ! TransferGlobals.parseTimeStampElement(elem, ExchangeGlobals.createQName(ExchangeGlobals.EXPIRY_TAG))); throw new InvalidNamedObjectException(core.getName(), "Not Matched"); } private BidItem[] parseBidItems(Element elem) throws InvalidNamedObjectException { ! List list = elem.elements(ExchangeGlobals.createQName(ExchangeGlobals.BID_ITEM_TAG)); BidItem items[] = new BidItem[list.size()]; for (int i = 0; i < list.size(); i++) --- 82,101 ---- */ public final SignedNamedObject read(final SignedNamedCore core, final Element elem) throws InvalidNamedObjectException { ! if (!elem.getNamespace().equals(ExchangeOrderGlobals.NS_EXCHANGE)) ! throw new InvalidNamedObjectException(core.getName(), "Not in XML NameSpace: " + ExchangeOrderGlobals.NS_EXCHANGE.getURI()); ! if (elem.getName().equals(ExchangeOrderGlobals.EXCHANGE_TAGNAME)) return new ExchangeOrder(core, TransferGlobals.parseAssetTag(elem), ! ExchangeOrderGlobals.parseAgentTag(elem), TransferGlobals.parseValueTag(elem), parseBidItems(elem), TransferGlobals.parseCommentElement(elem), ! TransferGlobals.parseTimeStampElement(elem, ExchangeOrderGlobals.createQName(ExchangeOrderGlobals.EXPIRY_TAG))); throw new InvalidNamedObjectException(core.getName(), "Not Matched"); } private BidItem[] parseBidItems(Element elem) throws InvalidNamedObjectException { ! List list = elem.elements(ExchangeOrderGlobals.createQName(ExchangeOrderGlobals.BID_ITEM_TAG)); BidItem items[] = new BidItem[list.size()]; for (int i = 0; i < list.size(); i++) --- ExchangeGlobals.java DELETED --- |
|
From: Pelle B. <pe...@us...> - 2004-04-05 16:44:25
|
Update of /cvsroot/neuclear/neuclear-pay/src/webapp/SECURE In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25941/src/webapp/SECURE Modified Files: transfer.jsp Log Message: Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Index: transfer.jsp =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/webapp/SECURE/transfer.jsp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** transfer.jsp 1 Apr 2004 23:18:34 -0000 1.8 --- transfer.jsp 5 Apr 2004 16:31:45 -0000 1.9 *************** *** 12,16 **** org.neuclear.commons.crypto.Base64, org.neuclear.commons.servlets.ServletTools, ! org.neuclear.asset.orders.transfers.TransferGlobals"%> <% AssetGlobals.registerReaders(); --- 12,17 ---- org.neuclear.commons.crypto.Base64, org.neuclear.commons.servlets.ServletTools, ! org.neuclear.asset.orders.transfers.TransferGlobals, ! org.neuclear.id.Service"%> <% AssetGlobals.registerReaders(); *************** *** 18,22 **** Identity userns=(Identity) request.getUserPrincipal(); String service=ServletTools.getInitParam("service",config); ! Asset asset=(Asset)Resolver.resolveIdentity(service); String recipient=Utility.denullString(request.getParameter("recipient")); double amount=Double.parseDouble(Utility.denullString(request.getParameter("amount"),"0")); --- 19,23 ---- Identity userns=(Identity) request.getUserPrincipal(); String service=ServletTools.getInitParam("service",config); ! Service asset=(Service)Resolver.resolveIdentity(service); String recipient=Utility.denullString(request.getParameter("recipient")); double amount=Double.parseDouble(Utility.denullString(request.getParameter("amount"),"0")); |
|
From: Pelle B. <pe...@us...> - 2004-04-05 16:44:24
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/asset/orders/builders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25941/src/test/org/neuclear/asset/orders/builders Modified Files: TransferOrderBuilderTest.java TransferReceiptBuilderTest.java Log Message: Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Index: TransferReceiptBuilderTest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/asset/orders/builders/TransferReceiptBuilderTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TransferReceiptBuilderTest.java 2 Apr 2004 23:04:36 -0000 1.1 --- TransferReceiptBuilderTest.java 5 Apr 2004 16:31:43 -0000 1.2 *************** *** 2,6 **** import org.neuclear.asset.InvalidTransferException; - import org.neuclear.asset.contracts.Asset; import org.neuclear.asset.contracts.builders.AssetBuilder; import org.neuclear.asset.orders.Amount; --- 2,5 ---- *************** *** 9,12 **** --- 8,12 ---- import org.neuclear.commons.NeuClearException; import org.neuclear.commons.crypto.signers.NonExistingSignerException; + import org.neuclear.id.Service; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.builders.Builder; *************** *** 37,40 **** --- 37,43 ---- $Id$ $Log$ + Revision 1.2 2004/04/05 16:31:43 pelle + Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. + Revision 1.1 2004/04/02 23:04:36 pelle Got TransferOrder and Builder working with their test cases. *************** *** 99,111 **** } ! public Asset createTestAsset() throws NeuClearException { AssetBuilder builder = new AssetBuilder("http://bux.neuclear.org", getSigner().getPublicKey("neu://test/bux"), getAlice().getPublicKey(), 2, 0); ! return (Asset) builder.convert(NAME, getSigner()); } ! private Asset asset; } --- 102,114 ---- } ! public Service createTestAsset() throws NeuClearException { AssetBuilder builder = new AssetBuilder("http://bux.neuclear.org", getSigner().getPublicKey("neu://test/bux"), getAlice().getPublicKey(), 2, 0); ! return (Service) builder.convert(NAME, getSigner()); } ! private Service asset; } Index: TransferOrderBuilderTest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/asset/orders/builders/TransferOrderBuilderTest.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TransferOrderBuilderTest.java 2 Apr 2004 23:04:36 -0000 1.6 --- TransferOrderBuilderTest.java 5 Apr 2004 16:31:43 -0000 1.7 *************** *** 2,6 **** import org.neuclear.asset.InvalidTransferException; - import org.neuclear.asset.contracts.Asset; import org.neuclear.asset.contracts.builders.AssetBuilder; import org.neuclear.asset.orders.Amount; --- 2,5 ---- *************** *** 8,11 **** --- 7,11 ---- import org.neuclear.commons.NeuClearException; import org.neuclear.commons.crypto.signers.NonExistingSignerException; + import org.neuclear.id.Service; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.builders.Builder; *************** *** 35,38 **** --- 35,41 ---- $Id$ $Log$ + Revision 1.7 2004/04/05 16:31:43 pelle + Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. + Revision 1.6 2004/04/02 23:04:36 pelle Got TransferOrder and Builder working with their test cases. *************** *** 91,103 **** } ! public Asset createTestAsset() throws NeuClearException { AssetBuilder builder = new AssetBuilder("http://bux.neuclear.org", getSigner().getPublicKey("neu://test/bux"), getAlice().getPublicKey(), 2, 0); ! return (Asset) builder.convert(NAME, getSigner()); } ! private Asset asset; } --- 94,106 ---- } ! public Service createTestAsset() throws NeuClearException { AssetBuilder builder = new AssetBuilder("http://bux.neuclear.org", getSigner().getPublicKey("neu://test/bux"), getAlice().getPublicKey(), 2, 0); ! return (Service) builder.convert(NAME, getSigner()); } ! private Service asset; } |
|
From: Pelle B. <pe...@us...> - 2004-04-05 16:44:24
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/asset/receiver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25941/src/test/org/neuclear/asset/receiver Modified Files: PaymentReceiverTest.java Log Message: Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Index: PaymentReceiverTest.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/asset/receiver/PaymentReceiverTest.java,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** PaymentReceiverTest.java 2 Apr 2004 23:04:37 -0000 1.19 --- PaymentReceiverTest.java 5 Apr 2004 16:31:43 -0000 1.20 *************** *** 2,6 **** import org.neuclear.asset.InvalidTransferException; - import org.neuclear.asset.contracts.Asset; import org.neuclear.asset.contracts.AssetGlobals; import org.neuclear.asset.controllers.currency.CurrencyController; --- 2,5 ---- *************** *** 11,14 **** --- 10,14 ---- import org.neuclear.commons.NeuClearException; import org.neuclear.commons.crypto.signers.TestCaseSigner; + import org.neuclear.id.Service; import org.neuclear.id.SignedNamedObject; import org.neuclear.id.receiver.Receiver; *************** *** 45,48 **** --- 45,51 ---- $Id$ $Log$ + Revision 1.20 2004/04/05 16:31:43 pelle + Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. + Revision 1.19 2004/04/02 23:04:37 pelle Got TransferOrder and Builder working with their test cases. *************** *** 189,193 **** AssetGlobals.registerReaders(); TransferGlobals.registerReaders(); ! asset = (Asset) Resolver.resolveIdentity(assetName); proc = new CurrencyController(null, --- 192,196 ---- AssetGlobals.registerReaders(); TransferGlobals.registerReaders(); ! asset = (Service) Resolver.resolveIdentity(assetName); proc = new CurrencyController(null, *************** *** 206,210 **** } ! public final Asset getAsset() { return asset; } --- 209,213 ---- } ! public final Service getAsset() { return asset; } *************** *** 254,258 **** protected final String assetName = "neu://test/bux"; ! private final Asset asset; private final Receiver receiver; private final CurrencyController proc; --- 257,261 ---- protected final String assetName = "neu://test/bux"; ! private final Service asset; private final Receiver receiver; private final CurrencyController proc; |
|
From: Pelle B. <pe...@us...> - 2004-04-05 16:44:22
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/contracts/builders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25941/src/java/org/neuclear/exchange/contracts/builders Added Files: ExchangeAgentBuilder.java Log Message: Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. --- NEW FILE: ExchangeAgentBuilder.java --- package org.neuclear.exchange.contracts.builders; import org.neuclear.commons.NeuClearException; import org.neuclear.exchange.contracts.ExchangeAgentGlobals; import org.neuclear.id.builders.ServiceBuilder; import java.security.PublicKey; /* NeuClear Distributed Transaction Clearing Platform (C) 2003 Pelle Braendgaard This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: ExchangeAgentBuilder.java,v 1.1 2004/04/05 16:31:42 pelle Exp $ $Log: ExchangeAgentBuilder.java,v $ Revision 1.1 2004/04/05 16:31:42 pelle Created new ServiceBuilder class for creating services. A service is an identity that has a seperate service URL and Service Public Key. Revision 1.10 2004/04/02 16:58:53 pelle Updated Asset and Asset Builder with semi fully featured functionality. It now has Issuer, Service etc. Revision 1.9 2004/04/01 23:18:31 pelle Split Identity into Signatory and Identity class. Identity remains a signed named object and will in the future just be used for self declared information. Signatory now contains the PublicKey etc and is NOT a signed object. Revision 1.8 2004/03/02 18:39:29 pelle Done some more minor fixes within xmlsig, but mainly I've removed the old Source and Store patterns and sub packages. This is because they really are no longer necessary with the new non naming naming system. Revision 1.7 2004/02/18 00:13:29 pelle Many, many clean ups. I've readded Targets in a new method. Gotten rid of NamedObjectBuilder and revamped Identity and Resolvers Revision 1.6 2004/01/10 00:00:44 pelle Implemented new Schema for Transfer* Working on it for Exchange*, so far all Receipts are implemented. Added SignedNamedDocument which is a generic SignedNamedObject that works with all Signed XML. Changed SignedNamedObject.getDigest() from byte array to String. The whole malarchy in neuclear-pay does not build yet. The refactoring is a big job, but getting there. Revision 1.5 2003/12/19 00:30:49 pelle Lots of usability changes through out all the passphrase agents and end user tools. Revision 1.4 2003/11/21 04:43:03 pelle EncryptedFileStore now works. It uses the PBECipher with DES3 afair. Otherwise You will Finaliate. Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final. This should hopefully make everything more stable (and secure). Revision 1.3 2003/11/20 23:40:50 pelle Getting all the tests to work in id Removing usage of BC in CryptoTools as it was causing issues. First version of EntityLedger that will use OFB's EntityEngine. This will allow us to support a vast amount databases without writing SQL. (Yipee) Revision 1.2 2003/11/11 21:17:19 pelle Further vital reshuffling. org.neudist.crypto.* and org.neudist.utils.* have been moved to respective areas under org.neuclear.commons org.neuclear.signers.* as well as org.neuclear.passphraseagents have been moved under org.neuclear.commons.crypto as well. Did a bit of work on the Canonicalizer and changed a few other minor bits. Revision 1.1 2003/11/10 21:08:41 pelle More JavaDoc Revision 1.3 2003/11/10 17:42:07 pelle The AssetController interface has been more or less finalized. CurrencyController fully implemented AssetControlClient implementes a remote client for communicating with AssetControllers Revision 1.2 2003/11/09 03:26:47 pelle More house keeping and shuffling about mainly pay Revision 1.1 2003/11/09 03:10:13 pelle Major changes that apparently didnt get properly checked in earlier. Revision 1.2 2003/11/06 23:47:43 pelle Major Refactoring of CurrencyController. Factored out AssetController to be new abstract parent class together with most of its support classes. Created (Half way) AssetControlClient, which can perform transactions on external AssetControllers via NeuClear. Created the first attempt at the ExchangeAgent. This will need use of the AssetControlClient. SOAPTools was changed to return a stream. This is required by the VerifyingReader in NeuClear. Revision 1.1 2003/10/03 23:48:29 pelle Did various security related updates in the pay package with regards to immutability of fields etc. AssetControllerReceiver should now be operational. Real testing needs to be done including in particular setting the private key of the Receiver. A new class TransferGlobals contains usefull settings for making life easier in the other contract based classes. TransferContract the signed contract is functional and has a matching TransferRequestBuilder class for programmatically creating TransferRequests for signing. TransferReceiptBuilder has been created for use by Transfer processors. It is used in the AssetControllerReceiver. */ /** * User: pelleb * Date: Oct 3, 2003 * Time: 3:13:27 PM */ public final class ExchangeAgentBuilder extends ServiceBuilder { /** * @param serviceUrl * @param serviceKey * @throws org.neuclear.commons.NeuClearException * */ public ExchangeAgentBuilder(final String serviceUrl, final PublicKey serviceKey) throws NeuClearException { super(ExchangeAgentGlobals.createQName(ExchangeAgentGlobals.EXCHANGEAGENT_TAGNAME), serviceUrl, serviceKey); } } |
|
From: <bug...@ve...> - 2004-04-05 16:41:33
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-17 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-17 Summary: Create Unit Tests for ExchangeCompletedReceipt Type: Test Case Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Components: Data Objects Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Wed, 31 Mar 2004 3:02 PM Updated: Mon, 5 Apr 2004 9:41 AM Description: Test the creation and validation of ExchangeCompletedReceipt --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2004-04-05 16:37:35
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-16 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-16 Summary: Create Unit Tests for ExchangeCompletionOrder Type: Test Case Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Components: Data Objects Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Wed, 31 Mar 2004 3:02 PM Updated: Mon, 5 Apr 2004 9:36 AM Description: Test the creation and validation of ExchangeCompletionOrder --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2004-04-05 16:22:38
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-14 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-14 Summary: Create Unit Tests for CancelExchangeOrderReceipt Type: Test Case Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Components: Data Objects Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Wed, 31 Mar 2004 3:01 PM Updated: Mon, 5 Apr 2004 9:22 AM Description: Test the creation and validation of CancelExchangeOrderReceipt --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2004-04-05 16:02:33
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-15 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-15 Summary: Create Unit Tests for CancelExchangeOrder Type: Test Case Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Components: Data Objects Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Wed, 31 Mar 2004 3:01 PM Updated: Mon, 5 Apr 2004 9:01 AM Description: Test the creation and validation of CancelExchangeOrder --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2004-04-05 15:42:41
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-13 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-13 Summary: Create Unit Tests for ExchangeOrderReceipt Type: Test Case Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Components: Data Objects Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Wed, 31 Mar 2004 3:00 PM Updated: Mon, 5 Apr 2004 8:40 AM Description: Test the creation and validation of ExchangeOrderReceipt --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2004-04-05 15:30:34
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-23 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-23 Summary: Create ExchangeAgentContract & Builder pair Type: New Feature Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Components: Data Objects Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Mon, 5 Apr 2004 7:12 AM Updated: Mon, 5 Apr 2004 8:28 AM Description: Currently there is just an empty shell for ExchangeAgent, we need to make it a working contract. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2004-04-05 15:30:32
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-12 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-12 Summary: Create Unit Tests for ExchangeOrder Type: Test Case Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Components: Data Objects Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Wed, 31 Mar 2004 3:00 PM Updated: Mon, 5 Apr 2004 8:28 AM Description: Test the creation and validation of ExchangeOrder --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2004-04-05 15:28:42
|
Message:
The following issue has been closed.
Resolver: Pelle Braendgaard
Date: Mon, 5 Apr 2004 8:28 AM
Done
---------------------------------------------------------------------
View the issue:
http://jira.neuclear.org//browse/PAY-24
Here is an overview of the issue:
---------------------------------------------------------------------
Key: PAY-24
Summary: Create ExchangeAgent test case
Type: Test Case
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NeuClear Payments
Fix Fors:
0.3
Versions:
0.3
Assignee: Pelle Braendgaard
Reporter: Pelle Braendgaard
Created: Mon, 5 Apr 2004 7:13 AM
Updated: Mon, 5 Apr 2004 8:28 AM
Description:
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.neuclear.org//secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|
|
From: Pelle B. <pe...@us...> - 2004-04-05 15:25:47
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/contracts/builders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11524/src/test/org/neuclear/exchange/contracts/builders Log Message: Directory /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/contracts/builders added to the repository |
|
From: Pelle B. <pe...@us...> - 2004-04-05 15:24:50
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/contracts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11344/src/test/org/neuclear/exchange/contracts Log Message: Directory /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/contracts added to the repository |
|
From: <bug...@ve...> - 2004-04-05 14:14:46
|
Message: Work on this issue has been started by Pelle Braendgaard (mailto:pe...@ve...) --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-24 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-24 Summary: Create ExchangeAgent test case Type: Test Case Status: In Progress Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Mon, 5 Apr 2004 7:13 AM Updated: Mon, 5 Apr 2004 7:13 AM Description: --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2004-04-05 14:14:37
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-24 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-24 Summary: Create ExchangeAgent test case Type: Test Case Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Mon, 5 Apr 2004 7:13 AM Updated: Mon, 5 Apr 2004 7:13 AM Description: --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2004-04-05 14:12:38
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://jira.neuclear.org//browse/PAY-23 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-23 Summary: Create ExchangeAgentContract & Builder pair Type: New Feature Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Components: Data Objects Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Mon, 5 Apr 2004 7:12 AM Updated: Mon, 5 Apr 2004 7:12 AM Description: Currently there is just an empty shell for ExchangeAgent, we need to make it a working contract. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.neuclear.org//secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: Pelle B. <pe...@us...> - 2004-04-05 14:10:36
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/contracts/builders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28661/src/java/org/neuclear/exchange/contracts/builders Log Message: Directory /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/contracts/builders added to the repository |
|
From: Pelle B. <pe...@us...> - 2004-04-05 14:03:49
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/orders/builders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27216/src/test/org/neuclear/exchange/orders/builders Log Message: Directory /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/orders/builders added to the repository |
|
From: Pelle B. <pe...@us...> - 2004-04-05 14:03:42
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/orders In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27188/src/test/org/neuclear/exchange/orders Log Message: Directory /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange/orders added to the repository |
|
From: Pelle B. <pe...@us...> - 2004-04-05 14:03:35
|
Update of /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27131/src/test/org/neuclear/exchange Log Message: Directory /cvsroot/neuclear/neuclear-pay/src/test/org/neuclear/exchange added to the repository |