diff --git a/.idea/artifacts/SFTPConnectionWithAmazonVendor.xml b/.idea/artifacts/SFTPConnectionWithAmazonVendor.xml index 7e70341..1210f4c 100644 --- a/.idea/artifacts/SFTPConnectionWithAmazonVendor.xml +++ b/.idea/artifacts/SFTPConnectionWithAmazonVendor.xml @@ -2,7 +2,7 @@ $PROJECT_DIR$/out/artifacts/SFTPConnectionWithAmazonVendor - + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 0000000..797acea --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 87767fc..b1dc05d 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ A small Java library that implements the sending and receiving of messages to and from the Amazon Vendor servers, using the SFTP protocol as specified in the document "Amazon SFTP Guide". ## Index +* [Release notes](#release-notes) * [Introduction](#introduction) * [The connection settings file](#the-connection-settings-file) * [Documentation](#documentation) @@ -13,6 +14,10 @@ A small Java library that implements the sending and receiving of messages to an * [MessageReceptionException](#messagereceptionexception) * [Conclusion](#conclusion) +## Release notes +* **1.0.1**: Renamed package: "it.trv.vendorsftpconnection" -> "it.trvi.vendorsftpconnection" +* **1.0.0**: Initial release + ## Introduction The objective of this package is to provide a simple tool to exchange messages with the Amazon Vendor servers using the SFTP protocol. It sends and receives the messages as raw text, so it's up to the users of this library to ensure the content of the messages is consistent and processed correctly. It uses the JSch library by JCraft to create and manage the actual SFTP sessions. @@ -20,7 +25,7 @@ Knowledge of the Amazon Vendor documentation is needed to understand and use thi As stated in the license, this software is provided "as is" without warranty of any kind. I'm not responsible for any issue and/or damage that this software may cause. Please read the full license for more legal jargon. This package has undergone limited testing, because I have no longer access to an Amazon Vendor account; please report any error or problem you might find, and I'll try to fix it to the best of my ability. -All the classes in this library are contained in the package "`it.trv.vendorsftpconnection`". +All the classes in this library are contained in the package "`it.trvi.vendorsftpconnection`". ## The connection settings file This file contains some of the information necessary to create a new session with the SFTP servers: the path to this file is one of the parameters that must be specified when establishing a connection. It contains the following data: diff --git a/SFTPConnectionWithAmazonVendor.jar b/SFTPConnectionWithAmazonVendor.jar index ebe35dd..7d3ed13 100644 Binary files a/SFTPConnectionWithAmazonVendor.jar and b/SFTPConnectionWithAmazonVendor.jar differ diff --git a/src/it/trv/vendorsftpconnection/AmazonVendorSFTPConnectionValidator.java b/src/it/trvi/vendorsftpconnection/AmazonVendorSFTPConnectionValidator.java similarity index 98% rename from src/it/trv/vendorsftpconnection/AmazonVendorSFTPConnectionValidator.java rename to src/it/trvi/vendorsftpconnection/AmazonVendorSFTPConnectionValidator.java index 9fdb547..6506138 100644 --- a/src/it/trv/vendorsftpconnection/AmazonVendorSFTPConnectionValidator.java +++ b/src/it/trvi/vendorsftpconnection/AmazonVendorSFTPConnectionValidator.java @@ -1,7 +1,7 @@ /* Class use to validate a new SFTP connection with the Amazon Vendor server, by passing the tests for the connection required by Amazon. */ -package it.trv.vendorsftpconnection; +package it.trvi.vendorsftpconnection; import javax.swing.*; import java.io.IOException; diff --git a/src/it/trv/vendorsftpconnection/ConnectionException.java b/src/it/trvi/vendorsftpconnection/ConnectionException.java similarity index 84% rename from src/it/trv/vendorsftpconnection/ConnectionException.java rename to src/it/trvi/vendorsftpconnection/ConnectionException.java index b6e4c8b..ce94411 100644 --- a/src/it/trv/vendorsftpconnection/ConnectionException.java +++ b/src/it/trvi/vendorsftpconnection/ConnectionException.java @@ -1,4 +1,4 @@ -package it.trv.vendorsftpconnection; +package it.trvi.vendorsftpconnection; public class ConnectionException extends Exception{ public ConnectionException(String errorMessage) { diff --git a/src/it/trv/vendorsftpconnection/MessageExchanger.java b/src/it/trvi/vendorsftpconnection/MessageExchanger.java similarity index 99% rename from src/it/trv/vendorsftpconnection/MessageExchanger.java rename to src/it/trvi/vendorsftpconnection/MessageExchanger.java index 6b979b8..d41f64c 100644 --- a/src/it/trv/vendorsftpconnection/MessageExchanger.java +++ b/src/it/trvi/vendorsftpconnection/MessageExchanger.java @@ -1,4 +1,4 @@ -package it.trv.vendorsftpconnection; +package it.trvi.vendorsftpconnection; import java.util.NoSuchElementException; import java.util.concurrent.TimeoutException; diff --git a/src/it/trv/vendorsftpconnection/MessageForwardingException.java b/src/it/trvi/vendorsftpconnection/MessageForwardingException.java similarity index 85% rename from src/it/trv/vendorsftpconnection/MessageForwardingException.java rename to src/it/trvi/vendorsftpconnection/MessageForwardingException.java index 82f545d..5ce80ec 100644 --- a/src/it/trv/vendorsftpconnection/MessageForwardingException.java +++ b/src/it/trvi/vendorsftpconnection/MessageForwardingException.java @@ -1,4 +1,4 @@ -package it.trv.vendorsftpconnection; +package it.trvi.vendorsftpconnection; public class MessageForwardingException extends Exception{ public MessageForwardingException(String errorMessage) { diff --git a/src/it/trv/vendorsftpconnection/MessageReceptionException.java b/src/it/trvi/vendorsftpconnection/MessageReceptionException.java similarity index 85% rename from src/it/trv/vendorsftpconnection/MessageReceptionException.java rename to src/it/trvi/vendorsftpconnection/MessageReceptionException.java index 5e46069..7b27195 100644 --- a/src/it/trv/vendorsftpconnection/MessageReceptionException.java +++ b/src/it/trvi/vendorsftpconnection/MessageReceptionException.java @@ -1,4 +1,4 @@ -package it.trv.vendorsftpconnection; +package it.trvi.vendorsftpconnection; public class MessageReceptionException extends Exception{ public MessageReceptionException(String errorMessage) { diff --git a/src/it/trv/vendorsftpconnection/SFTPBasedMessageExchangerForAmazonVendor.java b/src/it/trvi/vendorsftpconnection/SFTPBasedMessageExchangerForAmazonVendor.java similarity index 99% rename from src/it/trv/vendorsftpconnection/SFTPBasedMessageExchangerForAmazonVendor.java rename to src/it/trvi/vendorsftpconnection/SFTPBasedMessageExchangerForAmazonVendor.java index 8cdc7bb..6f1ab6e 100644 --- a/src/it/trv/vendorsftpconnection/SFTPBasedMessageExchangerForAmazonVendor.java +++ b/src/it/trvi/vendorsftpconnection/SFTPBasedMessageExchangerForAmazonVendor.java @@ -1,4 +1,4 @@ -package it.trv.vendorsftpconnection; +package it.trvi.vendorsftpconnection; import com.jcraft.jsch.Channel; import com.jcraft.jsch.ChannelSftp;