Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove empty lines in all files #8

Merged
merged 2 commits into from
Feb 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
~ under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.wso2.carbon.connector</groupId>
<artifactId>org.wso2.carbon.connector.ISO8583</artifactId>
<artifactId>org.wso2.carbon.connector.iso8583</artifactId>
<packaging>jar</packaging>
<version>1.0.2-SNAPSHOT</version>
<name>WSO2 Carbon - Mediation Library Connector For ISO8583</name>
Expand All @@ -29,7 +30,7 @@
<connector.name>iso8583</connector.name>
<esb.version>4.9.0</esb.version>
<carbon.mediation.version>4.4.10</carbon.mediation.version>
<org.jpos.version>1.9.4</org.jpos.version>
<org.jpos.version>1.9.6</org.jpos.version>
<commons-cli.version>1.3.1</commons-cli.version>
<org.jdom.version>1.1.3</org.jdom.version>
</properties>
Expand Down Expand Up @@ -168,4 +169,4 @@
<url>http://maven.wso2.org/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>
</project>
4 changes: 1 addition & 3 deletions src/main/assembly/assemble-connector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
<formats>
<format>zip</format>
</formats>

<includeBaseDirectory>false</includeBaseDirectory>

<fileSets>
<fileSet>
<directory>target/connector/dependencies</directory>
Expand All @@ -37,4 +35,4 @@
</excludes>
</fileSet>
</fileSets>
</assembly>
</assembly>
3 changes: 1 addition & 2 deletions src/main/assembly/filter.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
product.name=WSO2 ESB
product.version=4.9.0

product.version=4.9.0
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package org.wso2.carbon.connector.ISO8583;
package org.wso2.carbon.connector.iso8583;

/**
* Class ISO8583Constants defines all constants used for ISO8583 Connector.
* Class ISO8583Constants defines all constants used for iso8583 Connector.
*/
public class ISO8583Constant {
public final static String TAG_FIELD = "field";
Expand All @@ -27,4 +27,4 @@ public class ISO8583Constant {
public final static String HOST = "uri.var.serverHost";
public final static String PACKAGER = "jposdef.xml";
public final static String TAG_MSG = "ISOMessage";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.wso2.carbon.connector.ISO8583;
package org.wso2.carbon.connector.iso8583;

import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
Expand All @@ -35,6 +35,7 @@

/**
* Class for handling the iso message request and responses.
* @since 1.0.2
*/
public class ISO8583MessageHandler {
private static final Log log = LogFactory.getLog(ISO8583MessageHandler.class);
Expand Down Expand Up @@ -72,7 +73,7 @@ public void clientHandler(MessageContext messageContext, Socket connection, Stri
}
}
} catch (IOException e) {
handleException("An exception occurred in sending the ISO8583 message", e);
handleException("An exception occurred in sending the iso8583 message", e);
} finally {
try {
if (outStream != null) {
Expand Down Expand Up @@ -139,4 +140,4 @@ private void handleException(String msg, Exception ex) {
log.error(msg, ex);
throw new SynapseException(ex);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.wso2.carbon.connector.ISO8583;
package org.wso2.carbon.connector.iso8583;

import org.apache.axiom.om.OMElement;
import org.apache.axiom.soap.SOAPEnvelope;
Expand All @@ -29,6 +29,7 @@

/**
* Class for get host, port and iso fields from messageContext
* @since 1.0.2
*/
public class ISO8583MessageProducer extends AbstractConnector {
@Override
Expand Down Expand Up @@ -72,7 +73,7 @@ public void packedISO8583Message(MessageContext msgContext, String host, int por
String packedMessage = new String(data).toUpperCase();
new ISO8583MessageHandler(msgContext, packedMessage, host, port);
} catch (ISOException e) {
handleException("Couldn't packed ISO8583 Messages", e, msgContext);
handleException("Couldn't packed iso8583 Messages", e, msgContext);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.wso2.carbon.connector.ISO8583;
package org.wso2.carbon.connector.iso8583;

import org.jpos.iso.ISOException;
import org.jpos.iso.ISOPackager;
Expand All @@ -29,4 +29,4 @@ public static ISOPackager getPackager() throws ISOException {
packager = new GenericPackager(ISO8583Constant.PACKAGER);
return packager;
}
}
}
2 changes: 1 addition & 1 deletion src/main/resources/connector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
<description>wso2 connector library for ISO8583</description>
<icon>icon/icon-small.gif</icon>
</component>
</connector>
</connector>
2 changes: 1 addition & 1 deletion src/main/resources/iso8583_config/component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
<description>configure ISO8583 connector.</description>
</component>
</subComponents>
</component>
</component>
5 changes: 1 addition & 4 deletions src/main/resources/iso8583_config/init.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,4 @@
<property expression="$func:serverPort" name="uri.var.serverPort"
scope="default" type="STRING"/>
</sequence>
</template>



</template>
2 changes: 1 addition & 1 deletion src/main/resources/iso8583_produceMessage/component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
</description>
</component>
</subComponents>
</component>
</component>
6 changes: 2 additions & 4 deletions src/main/resources/iso8583_produceMessage/sendMessage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
-->
<template xmlns="http://ws.apache.org/ns/synapse" name="sendMessage">
<sequence>
<class name="org.wso2.carbon.connector.ISO8583.ISO8583MessageProducer"/>
<class name="org.wso2.carbon.connector.iso8583.ISO8583MessageProducer"/>
</sequence>
</template>


</template>
2 changes: 1 addition & 1 deletion src/main/resources/jposdef.xml
Original file line number Diff line number Diff line change
Expand Up @@ -666,4 +666,4 @@
length="8"
name="MAC 2"
class="org.jpos.iso.IFA_BINARY"/>
</isopackager>
</isopackager>
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@
</outSequence>
</target>
<description/>
</proxy>

</proxy>