Skip to content

Commit 194c6fc

Browse files
Merge branch 'master' into future
2 parents e910e4a + 3409c04 commit 194c6fc

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ You do not need to download and build the source to use the SDK but if you want
7171
example customHttpClass= <packagename.customHttpClass>
7272
- The custom HTTP Class must have a three argument constructor which accepts MerchantConfig, DocumentBuilder and LoggerWrapper as argument. Then it should call the constructor of the parent class.
7373
- Build this project using Maven.
74-
- `mvn clean` // Cleans the Project
75-
- `mvn install` // Builds the project and creates a jar file of client SDK; Includes running all unit tests and integration tests
76-
- `mvn test` // Runs unit tests
77-
- `mvn failsafe:integration-test` // Runs unit and integration tests. Note that integration tests require proper setup of `test_cybs.properties`
74+
- `mvn clean` - Cleans the Project
75+
- `mvn install` - Builds the project and creates a jar file of client SDK. Includes running all unit tests and integration tests
76+
- `mvn test` - Runs unit tests
77+
- `mvn failsafe:integration-test` - Runs unit and integration tests. Note that integration tests require proper setup of `test_cybs.properties`
7878

7979
## Testing the SDK
8080
We have two ways to test -- one is by downloading the zip and using scripts to test; other is using maven tool.
@@ -87,12 +87,12 @@ We have two ways to test -- one is by downloading the zip and using scripts to t
8787
- If you want to test XML, go to the `cybersource-sdk-java-master/samples/xml` directory.
8888
- Use `compileSample` scripts to create classes directory as it is not included in SDK.
8989
- Then at a command prompt, type this line:
90-
91-
Windows: runSample.bat <service_name>
92-
Unix or Linux: runSample.sh <service_name>
93-
94-
- If JAVA_HOME is defined, the script uses <JAVA_HOME>/bin/java. Otherwise, it uses whatever java is in the path.
95-
- If the client is installed correctly, the requests and replies for a credit card authorization and a follow-on capture appear.
90+
```
91+
Windows: runSample.bat <service_name>
92+
Unix or Linux: runSample.sh <service_name>
93+
```
94+
- If JAVA_HOME is defined, the script uses <JAVA_HOME>/bin/java. Otherwise, it uses whatever java is in the path.
95+
- If the client is installed correctly, the requests and replies for a credit card authorization and a follow-on capture appear.
9696
- If you make any changes to the `RunSample.java` sample, you must rebuild the sample before using it. Use the `compileSample` batch file or shell script provided in the sample directory.
9797

9898
### Using samples and maven tool
@@ -111,10 +111,10 @@ We have two ways to test -- one is by downloading the zip and using scripts to t
111111

112112
- To convert the p12 file to JKS follow the steps mentioned below.
113113
- These commands will take out all the certs from the p12 file. 
114-
1. openssl pkcs12 -in <Merchant_ID>.p12 -nocerts -out <Merchant_ID>.key
115-
2. openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out <Merchant_ID>.crt
116-
3. openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out CyberSourceCertAuth.crt
117-
4. openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out CyberSource_SJC_US.crt
114+
1. `openssl pkcs12 -in <Merchant_ID>.p12 -nocerts -out <Merchant_ID>.key`
115+
2. `openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out <Merchant_ID>.crt`
116+
3. `openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out CyberSourceCertAuth.crt`
117+
4. `openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out CyberSource_SJC_US.crt`
118118

119119
- Create a new p12. Here Identity.p12 is the new p12 file
120120
```
@@ -181,42 +181,42 @@ Retry Pattern allows to retry sending a failed request and it will only work wit
181181

182182
## Changes
183183

184-
Version Cybersource-sdk-java 6.2.5(TBD)
184+
Version Cybersource-sdk-java 6.2.5 (TBD)
185185
_______________________________
186186
1) Merchant cert to be read from JAVA key store. Flag is added to enable reading cert from Java keystore.
187187
2) Added Custom HttpClient feature. Merchants can use there own http client instead of defaults which comes with SDK.
188188
3) Http Client connection reuse issue.
189189
4) Changed clientLibrary version to 6.2.5; in 6.2.4 release it was missed. So, in 6.2.4 release, clientLibrary version was pointing to 6.2.3.
190190
_______________________________
191-
Version Cybersource-sdk-java 6.2.4(Dec 15, 2016)
191+
Version Cybersource-sdk-java 6.2.4 (Dec 15, 2016)
192192
_______________________________
193193
1) RetryPattern config for http client.
194194
2) Code review comments.
195195
3) Added timers to log the method execution time.
196196
4) Sample added to support other services.
197197
_______________________________
198-
Version Cybersource-sdk-java 6.2.3(Oct 17, 2016)
198+
Version Cybersource-sdk-java 6.2.3 (Oct 17, 2016)
199199
_______________________________
200200
1) Fixed performance issue; in case of multiple merchantIDs, p12 was getting loaded for every request.
201201
2) p12 will be loaded once per merchantId.
202202
_______________________________
203-
Version Cybersource-sdk-java 6.2.2(Sep 15, 2016)
203+
Version Cybersource-sdk-java 6.2.2 (Sep 15, 2016)
204204
_______________________________
205205
1)Upgraded 3rd party dependencies jars including wss4j.
206206
_______________________________
207-
Version Cybersource-sdk-java 6.2.1(Aug 4, 2016)
207+
Version Cybersource-sdk-java 6.2.1 (Aug 4, 2016)
208208
_______________________________
209209
1) AkamaiSureroute config parameter introduced
210210
2) i18n fix for NVP sample.
211211
3) In `Sample/cybs.properties` file, `targetAPIVersion` changed to latest 1.129.
212212
_______________________________
213-
Version Cybersource-sdk-java 6.2.0(Jul 28, 2016)
213+
Version Cybersource-sdk-java 6.2.0 (Jul 28, 2016)
214214
_______________________________
215215
1) MLE[Message Level Encryption] is enabled.
216216
2) published zip file with samples and packaged compiled cybersoruce-sdk-java jar file.
217217
3) `Bouncycastle` jar issue; changed scope from provided to default"scope"
218218
_______________________________
219-
Version Cybersource-sdk-java 6.1.0(Feb 24,2016)
219+
Version Cybersource-sdk-java 6.1.0 (Feb 24,2016)
220220
_______________________________
221221
1) SHA256 changes which are required to signed the request with SHA256.
222222

0 commit comments

Comments
 (0)